ERROR: code signing failed

Hi!

I have a bit of a problem here with iOS builds. Until yesterday everything worked fine. I was able to build and deploy no problem. But ever since yesterday I get this when building for iOS:

ERROR: code signing failed: /Users/user/Desktop/builds/myapp.app: code object is not signed at all

In subcomponent: /Users/user/Desktop/builds/myapp.app/CoronaResources.bundle

Here is the detailed console log (non-os path names have been removed for security reasons):

Mar 5 13:00:33.323: Signing application with "iPhone Developer: My Name (xxxxxxxxxxxx)"... Mar 5 13:00:33.393: ERROR: build command failed: DEVELOPER\_BASE="/Applications/Xcode.app/Contents/Developer" Mar 5 13:00:33.394: export PATH="$DEVELOPER\_BASE/Platforms/iPhoneOS.platform/Developer/usr/bin:$DEVELOPER\_BASE/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" Mar 5 13:00:33.394: export CODESIGN\_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign\_allocate" Mar 5 13:00:33.394: "/usr/bin/codesign" --verbose -f -s "1ECXXXX45638FF123XXXX4EC1FD2A1F97C8BXXXX" --entitlements "/var/folders/p6/t0wxkj\_j09q7flc\_4b2zscgc0000gn/T/CLtmprx0x6W/entitlements.xcent" "/Users/user/Desktop/builds/myapp.app" Mar 5 13:00:33.394: ERROR: with exit code 1 and output: Mar 5 13:00:33.398: /Users/user/Desktop/builds/myapp.app: code object is not signed at all Mar 5 13:00:33.398: In subcomponent: /Users/user/Desktop/builds/myapp.app/CoronaResources.bundle Mar 5 13:00:33.398: BUILD ERROR: ERROR: code signing failed: /Users/user/Desktop/builds/myapp.app: code object is not signed at all In subcomponent: /Users/user/Desktop/builds/myapp.appCoronaResources.bundle Mar 5 13:00:33.409: iOS build failed (12)

So far I have:

  1. Repaired keychain

  2. Deleted/recreated all signing keys

  3. Deleted/reinstalled all Certificates

  4. Revoked/Recreated all Provisioning profiles

I don’t know what else I can do here…

Anyone has similar experience and can help? Please! Thanks!

Edit 1:

Oh How silly of me! :smiley: Sorry:

OS: OSX Yosemite 10.10.2 (14C109)

Corona: 2015.2570

SOLUTION:

Ok. Sorry. Found the solution - go back to Corona latest stable SDK ver:2014.2511

If anyone experiences similar problem just downgrade. There is something in the daily builds that does not agree with my OSX innards (even though it did yesterday :smiley: )

Quick follow up - Building for iOS simulator works fine

Hi @eugene.trounev1,

Which build # of Corona are you using? What are your system (OS) specs?

Brent

Oh How silly of me! :smiley: Sorry:

OS: OSX Yosemite 10.10.2 (14C109)

Corona: 2015.2570

SOLUTION:

Ok. Sorry. Found the solution - go back to Corona latest stable SDK ver:2014.2511

If anyone experiences similar problem just downgrade. There is something in the daily builds that does not agree with my OSX innards (even though it did yesterday :smiley: )

Hi Eugene,

I’m glad this works, but it’s odd that you’re getting issues with that daily build. Out of curiosity, can you successfully build one of our test apps like “Hello World” using 2570?

Thanks,

Brent

Just tested with “Hello World” with 2570 and 2576 both compile fine, meaning that something is wrong with my code there *sigh*

Well, it works under latest stable, so I’ll continue using that one for now.

Thanks!

Quick follow up - Building for iOS simulator works fine

Hi @eugene.trounev1,

Which build # of Corona are you using? What are your system (OS) specs?

Brent

Oh How silly of me! :smiley: Sorry:

OS: OSX Yosemite 10.10.2 (14C109)

Corona: 2015.2570

SOLUTION:

Ok. Sorry. Found the solution - go back to Corona latest stable SDK ver:2014.2511

If anyone experiences similar problem just downgrade. There is something in the daily builds that does not agree with my OSX innards (even though it did yesterday :smiley: )

Hi Eugene,

I’m glad this works, but it’s odd that you’re getting issues with that daily build. Out of curiosity, can you successfully build one of our test apps like “Hello World” using 2570?

Thanks,

Brent

Just tested with “Hello World” with 2570 and 2576 both compile fine, meaning that something is wrong with my code there *sigh*

Well, it works under latest stable, so I’ll continue using that one for now.

Thanks!