Hey Guys!
I used XCode to create a HelloWorld app on Mac, compiled it, signed it, tested it on my iPad. Everything works fine.
Corona is not working (sigh…)
I tried to Build the “EggBreaker” example in the “Sample Code” directory, but I obtain this error:
warning: Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)
failed to extract requirements data: 1
/Users/vortika/Desktop/EggBreaker.app: code or signature modified
failed to extract entitlements: 1
AssertMacros: entitlements_requested, At least need an application-identifier entitlements file: /SourceCache/codesign_wrapper_Sim/Security-1245/codesign_wrapper/codesign_wrapper.c, line: 866
- (null)
warning: Unable to extract codesigning entitlements from your application. Please make sure EggBreaker is a valid Mach executable that’s properly codesigned. (-19050)
/Users/vortika/Desktop/EggBreaker.app/EggBreaker: code or signature modified - (null)
Here it the log of what I did:
Opened https://developer.apple.com/devcenter/ios/index.action
Logged in
Section “iOS Provisioning Portal”
click “App IDs” -> New AppID
Description: EggBreaker
Bundle SeedID: Use Team ID
Bundle Identifier: com.vortika.eggbreaker
Section “Provisioning”
Tab “Distribution”
click “New profile”
Distribution Method: Add Hoc
Profile Name: EggBreaker Profile
App ID: EggBreaker
Devices: iPad (previously registered on section “Devices”)
Section “Provisioning”
Refreshed page, so that the download button appears
Click “Download” to obtain the provisioning certificate
Double click on download file to install it into XCode
Open corona simulator
Open EggBreaker example (Corona Samples)
Click “File -> Build -> iOS”
Application Name: EggBreaker
Version: 1.0
Build for: Device
Supported Devices: iPhone + iPad (Universal)
Code Signing Identity: selected “EggBreaker Profile”
Click “Build”
BOOM!!! I get the error…!!!
Please, someone tells me what’s WRONG!!!
[import]uid: 86439 topic_id: 26447 reply_id: 326447[/import]