iOS fastlane deliver lane issue - Invalid code signing entitlements - fastlane

We are trying to integrate Appdome into our product, we are facing the below issue via Fastlane scripts - deliver lane while uploading to transporter.
ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value '*' for key 'com.apple.developer.associated-domains' in 'Payload/MobileCardServices.app/MobileCardServices' is not supported."
Any suggestions?

Related

iOS University Program on test Application on iPhone

I am on a iOS University Program, and everything is registered OK, but on my computer I can not get this to work:s
I have generated the certificate from my computer, uploaded it and downloaded the certificate again. I am getting this error:
Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“CM2012”) were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.0'
Can anyone help me?
Thanks
Best Regards
You should check apple documentation https://developer.apple.com/library/ios/qa/qa1618/_index.html
Certificates is a tedious task in ios, but I recommend you to erase all certificates and follow the steps, it's the best way to get it.

invalid binary, email received

I'm trying to upload an app to app store, and I'm getting a lot of trouble.
Now I received this email:
Dear developer,
We have discovered one or more issues with your recent delivery for "usualBike". To process your delivery, the following issues must be corrected:
Invalid Code Signing Entitlements - Your application bundle's signature contains code signing entitlements that are not supported. Please check your Xcode project's code signing entitlements configuration, and remove any unneeded entitlements.
Specifically, key "com.apple.developer.default-data-protection" is not supported.
Invalid Code Signing Entitlements - Your application bundle's signature contains code signing entitlements that are not supported. Please check your Xcode project's code signing entitlements configuration, and remove any unneeded entitlements.
Specifically, key "com.apple.developer.pass-type-identifiers" is not supported.
Once these issues have been corrected, go to the Version Details page and click "Ready to Upload Binary." Continue through the submission process until the app status is "Waiting for Upload." You can then deliver the corrected binary.
Regards,
The App Store team
The second one I found this:
Invalid binary in itunes connect
But i have iOS 5.1
This probably means that you have Data Protection and Passes enabled for your App ID in the iOS provisioning portal. This is not supported for iOS 5.1
You should disable this by:
Going to the iOS provisioning portal
Open the App ID tab
Click configure next to the App ID you're currently using
Unselect the Enable for Passes and Enable for Data Protection options
Redownload the provision for your application and rebuild it using this new provision.

iPhone code signing -- why would developer build complain about lack of distribution certificate?

Here is the error I am getting. This is preventing me from testing the developer build of my app on my iPad device. The "failed to satisfy specified code requirement(s)" line grabs my attention, but I have no idea what it means.
Validate /Users/william/Library/Developer/Xcode/DerivedData/GraphingCalculatorDeluxe-fduucejdaajqvxekndurxjggarcu/Build/Products/Debug-iphoneos/GraphingCalculatorDeluxe.app
cd /Users/william/Documents/GraphingCalculatorDeluxe
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PRODUCT_TYPE com.apple.product-type.application
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/william/Library/Developer/Xcode/DerivedData/GraphingCalculatorDeluxe-fduucejdaajqvxekndurxjggarcu/Build/Products/Debug-iphoneos/GraphingCalculatorDeluxe.app
warning: Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)
Executable=/Users/william/Library/Developer/Xcode/DerivedData/GraphingCalculatorDeluxe-fduucejdaajqvxekndurxjggarcu/Build/Products/Debug-iphoneos/GraphingCalculatorDeluxe.app/GraphingCalculatorDeluxe
codesign_wrapper-0.7.10: using Apple CA for profile evaluation
/Users/william/Library/Developer/Xcode/DerivedData/GraphingCalculatorDeluxe-fduucejdaajqvxekndurxjggarcu/Build/Products/Debug-iphoneos/GraphingCalculatorDeluxe.app: valid on disk
/Users/william/Library/Developer/Xcode/DerivedData/GraphingCalculatorDeluxe-fduucejdaajqvxekndurxjggarcu/Build/Products/Debug-iphoneos/GraphingCalculatorDeluxe.app: satisfies its Designated Requirement
test-requirement: code failed to satisfy specified code requirement(s)
codesign_wrapper-0.7.10: failed to execute codesign(1)
- (null)
I am doing a debug build, signing as my developer identity. Here is the output of codesign in the terminal:
Williams-iMac:Debug-iphoneos william$ codesign -dvvv GraphingCalculatorDeluxe.app
Executable=/Users/william/Library/Developer/Xcode/DerivedData/GraphingCalculatorDeluxe-fduucejdaajqvxekndurxjggarcu/Build/Products/Debug-iphoneos/GraphingCalculatorDeluxe.app/GraphingCalculatorDeluxe
Identifier=com.jockusch.calculator
Format=bundle with Mach-O thin (armv7)
CodeDirectory v=20100 size=10772 flags=0x0(none) hashes=530+5 location=embedded
Hash type=sha1 size=20
CDHash=96b088a0cd93ff9b5adc9552bbc29e4cef247356
Signature size=4338
Authority=iPhone Developer: William Jockusch (B86JCKGV32)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Jul 10, 2012 8:08:35 PM
Info.plist entries=30
Sealed Resources rules=3 files=564
Internal requirements count=1 size=292
Williams-iMac:Debug-iphoneos william$
EDIT: I'm telling Xcode to use my developer profile. See the screen shot below.
Check whether you've set the Code Signing's name (your project target -> Build Settings -> Code Signing) correctly:
The problem was apparently related to Xcode mixing up two different developer accounts.
I develop both for myself and as a team with someone else. I had recently submitted an app for the team. As a result, the portion of Xcode that logs in to iTunes Connect to distribute apps was set to that account.
When I compiled this app, even though all the settings appear to be pointing to stuff on my own account, some part of the team information was apparently confusing some aspect of it.
The reason I believe this is that the problem went away after I did the following:
Go to the organizer.
Navigate to an archive of the app.
Click the "distribute" button.
Sign in to iTunes connect as myself
I then got a message saying that no suitable application records were found.
Build again, problem recurred.
quite Xcode and delete my build folder.
Restart Xcode
Repeat steps 1-5.
Build again. It worked!

Application failed codesign verification, iPhone

I have made an app for the iPhone using flash CS 5.5, tested it on a device (it works fine on there) and I'm member of the development programme. I'm attempting to upload the app to the store after filling in all the information on iTunes connect. However, when I attempt to upload the ipa file through the Application Loader (Version 2.5.2) I keep encountering the same error:
'Application failed code sign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate.'
I've tried creating the certificates again but still getting the same error.
Thanks for any help :)
It means that you are not using iPhone Distribution Certificate, which is required to upload apps on the app store. I'm guessing you are using a developer certificate.
Here is link how to create distribution certificate for app store submission: Steps to create a distribtution certificate.
Next time do a search you'll get plenty questions related to this topic. For example:
Application failed codesign verification?
Try again with your release certificates, and make sure that whatever you are quoting there for making the certificate should be same as you app's plist file.
Refer to this links: Building Your App for Distribution

Code sign error during archiving the proejct in xcode

I am trying to build ipa for the purpose of testing using Ad Hoc. When I tried to archive this is the error I am getting
Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain
I dint create any keys. Do I need to create one? Is there any good page to follow the steps? And which is the simplest way for testing iphone app?
FYI I am using xcode 4
Thank you
From HOWTO: Obtaining your iOS Development Certificate:
In the ‘Certificates’ section of the iOS Provisioning Portal, you can
request individual iOS Development Certificates. All iOS applications
must be signed by a valid certificate before they can be run on an
Apple device. In order to sign applications for testing purposes, Team
Members need an iOS Development Certificate.
A digital identity is an electronic means of identification consisting
of a secret "private key" and a shared "public key". This private key
allows Xcode to sign your iOS application binary.