# app crashes in xcode simulator iOS 7 SDK

**URL:** <https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197>\
**Category:** iOS\
**Created:** [October 23, 2013, 9:08pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197 "2013-10-23T21:08:21Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![goddardc](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/f17d59/32.png) [@goddardc](https://forums.solar2d.com/u/goddardc)\
**Post date:** [October 28, 2013, 5:35am UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/41 "2013-10-28T05:35:58Z")

</div>

After more research, the post&nbsp;[http://forums.coronalabs.com/topic/40246-app-crash-at-start-with-xcode5-and-ios-simulator/](http://forums.coronalabs.com/topic/40246-app-crash-at-start-with-xcode5-and-ios-simulator/)&nbsp;describes whats going on.

I would love a solution!

---

<div class="post-metadata">

**Author:** ![staytoooned](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/258eb7/32.png) [@staytoooned](https://forums.solar2d.com/u/staytoooned)\
**Post date:** [October 28, 2013, 2:36pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/42 "2013-10-28T14:36:20Z")

</div>

I have the same problem. I just updated to Mavericks and now the app will not open in the Xcode simulator. It worked prior to the upgrade in the Xcode simulator. Works on my devices and the Corona Simulator. I think this is a Mavericks/Xcode incompatibility.

Really need a solution!

Thanks.

---

<div class="post-metadata">

**Author:** ![Tom](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forums.solar2d.com/u/Tom)\
**Post date:** [October 28, 2013, 4:15pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/43 "2013-10-28T16:15:47Z")

</div>

We are looking at this but none of us can reproduce the crash problem. Whenever you encounter a problem like this, please try building with the HelloWorld sample app to rule out any changes/errors in your project.

---

<div class="post-metadata">

**Author:** ![goddardc](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/f17d59/32.png) [@goddardc](https://forums.solar2d.com/u/goddardc)\
**Post date:** [October 28, 2013, 5:31pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/44 "2013-10-28T17:31:31Z")

</div>

I built the simple default 2 tab application and it still wouldn’t run on the xcode simulators.

But I can run my apps on a physical device just fine.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [October 28, 2013, 9:38pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/45 "2013-10-28T21:38:00Z")

</div>

The engineers have tracked it down and are looking into solutions, no ETA yet.&nbsp;&nbsp;

This does not impact device builds and you can build and test there where possible.&nbsp; I know this isn’t always possible (you have an iPhone but not an iPad for instance).&nbsp; Stay tuned.

---

<div class="post-metadata">

**Author:** ![Tom](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forums.solar2d.com/u/Tom)\
**Post date:** [October 28, 2013, 9:46pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/46 "2013-10-28T21:46:11Z")

</div>

We narrowed down the problem. CoronaSDK dose not sign Xcode apps so they can be used by users who don’t have Apple Dev accounts. The app bundle is built with an “embedded.mobileprovision” file if there are&nbsp;provisioning profiles on the system. It seems that Xcode5 expects the app to be signed if this file is included (the previous versions of Xcode ignored this file).

The error in the Xcode log when the app crashes in the Xcode simulator is:

“use of keychain-access-groups entitlement is not allowed (error code -67030)”

When we first tested the Xcode simulator on Mavericks, there were no provisioning files installed so everything worked correctly. We then installed&nbsp;provisioning&nbsp;files and tested on an actual device. We didn’t go back and test again on the Xcode simulator because we didn’t expect anything to change. Testing this again after installing the provisioning files cause the HelloWorld app to crash on the Xcode simulator.

We are currently looking into a fix for the problem.&nbsp;

---

<div class="post-metadata">

**Author:** ![samwit](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@samwit](https://forums.solar2d.com/u/samwit)\
**Post date:** [October 30, 2013, 10:29am UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/47 "2013-10-30T10:29:22Z")

</div>

I am getting the&nbsp;“use of keychain-access-groups entitlement is not allowed (error code -67030)” error as well and can’t build for the iOS simulator or device.&nbsp;

Is there any workaround so that we can at least build for device in the meantime??

---

<div class="post-metadata">

**Author:** ![searchm](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/eada6e/32.png) [@searchm](https://forums.solar2d.com/u/searchm)\
**Post date:** [October 30, 2013, 12:16pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/48 "2013-10-30T12:16:10Z")

</div>

@samwit

Building for device is no problem as far as I know. It only doesn’t work on xcode.

---

<div class="post-metadata">

**Author:** ![Tom](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forums.solar2d.com/u/Tom)\
**Post date:** [October 30, 2013, 8:24pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/49 "2013-10-30T20:24:42Z")

</div>

The Xcode/Mavericks “keychain-access” bug has been fixed and available in build 1248.

Thanks everyone for posting your information about this bug.

---

<div class="post-metadata">

**Author:** ![dev.ozapps](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@dev.ozapps](https://forums.solar2d.com/u/dev.ozapps)\
**Post date:** [October 31, 2013, 9:04am UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/50 "2013-10-31T09:04:18Z")

</div>

> [@Tom](#):
>
> The Xcode/Mavericks “keychain-access” bug has been fixed and available in build 1248.
> 
> Thanks everyone for posting your information about this bug.

Any resolution on this error -9000: “The bundle [Bundle ID, ex: com.myapp.mobile] at bundle path ‘Payload/[My App Name].app’ is not signed using an Apple submission certificate.” at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)

when using App loader to upload an app.

If the app is compiled on a non mavericks the validation tool fails and Corona spawns a warning  
warning: Unable to run the lipo command: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can’t figure out the architecture type of: [APP PATH/APP]  
(-19034)  
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can’t figure out the architecture type of: [APP PATH/APP]

- (null)

warning: Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)  
Executable={APP PATH/APP]  
codesign\_wrapper-4.1: using Apple CA for profile evaluation  
AssertMacros: (\_\_builtin\_constant\_p(fat.magic) ? ((\_\_uint32\_t)((((\_\_uint32\_t)(fat.magic) & 0xff000000) \>\> 24) | (((\_\_uint32\_t)(fat.magic) & 0x00ff0000) \>\> 8) | (((\_\_uint32\_t)(fat.magic) & 0x0000ff00) \<\< 8) | (((\_\_uint32\_t)(fat.magic) & 0x000000ff) \<\< 24))) : \_OSSwapInt32(fat.magic)) == 0xcafebabe, file: codesign.c, line: 249  
AssertMacros: code\_signatures, file: codesign\_wrapper.c, line: 945

- (null)

and if the same code, using the same certificates are build on a Mavericks machine, CoronaSDK has no errors it even offers to upload the app to the App Store, however it bails with metadata not found and the file not found. Manually trying to upload to the App store results in the Error -9000 mentioned above.

The certificates are all created fresh and are fine, ie. have not expired or whatsoever.

Would the fix be available to starter users or just those with a subscription?

As it stands now, building is totally unusable (public build 1202) and the only way to use it is to buy a subscription, is it?

---

<div class="post-metadata">

**Author:** ![Tom](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forums.solar2d.com/u/Tom)\
**Post date:** [October 31, 2013, 3:14pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/51 "2013-10-31T15:14:37Z")

</div>

I’m confused about where you’re seeing this error. Are you saying building a distribution build with non-mavericks (e.g., Mt. Lion) OS with build 1202 gives you this error? I haven’t seen anyone else report problems with distribution builds.

The Mavericks/Xcode fix only affects the Xcode Simulator and is only available in Daily Builds. We can’t fix the Public Release build.

---

<div class="post-metadata">

**Author:** ![searchm](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/eada6e/32.png) [@searchm](https://forums.solar2d.com/u/searchm)\
**Post date:** [October 31, 2013, 3:18pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/52 "2013-10-31T15:18:54Z")

</div>

@Tom,

just wanted to say that the new daily build solved my problem. I can finally test my app on iOS7 ! Thank you!

---

<div class="post-metadata">

**Author:** ![Sadsack](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/b5a626/32.png) [@Sadsack](https://forums.solar2d.com/u/Sadsack)\
**Post date:** [November 3, 2013, 2:22pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/53 "2013-11-03T14:22:56Z")

</div>

Mavericks.

XCODE. 5.0.1

Daily Build:&nbsp;Version 2013.1251 (2013.11.1)

Still having issues. Was this resolved or not. When I want to load Helloworld on to device it gives" The application does not have a valid signature.

Console

Nov &nbsp;3 16:16:48 &nbsp;SecTrustEvaluate &nbsp;[leaf CriticalExtensions IssuerCommonName]

Nov &nbsp;3 16:16:48 iPad installd[54] \<Error\>: 0x283000 verify\_signer\_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install\_staging.Z1vjvp/HelloWorld.app/HelloWorld: 0xe8008019

Then on other app

There was an internal API error.

Console"

0x3d7b3b88 MobileInstallationInstall: failed with -1

Nov &nbsp;3 16:18:46 iPad mobile\_installation\_proxy[2796] \<Error\>: handle\_install: Installation failed

Nov &nbsp;3 16:18:46 iPad installd[54] \<Error\>: 0x283000 install\_application: Could not preflight application install

Nov &nbsp;3 16:18:46 iPad installd[54] \<Error\>: 0x283000 handle\_install: API failed

Nov &nbsp;3 16:19:46 iPad installd[54] \<Error\>: 0x283000 MobileInstallationCheckCapabilitiesMatch\_Server: desired capabilities is not an array or dicitonary

Nov &nbsp;3 16:19:46 iPad installd[54] \<Error\>: 0x283000 handle\_check\_capabilities: API failed

Nov &nbsp;3 16:19:46 iPad mobile\_installation\_proxy[2801] \<Error\>: 0x3d7b3b88 MobileInstallationCheckCapabilitiesMatch: failed with -1

Nov &nbsp;3 16:19:46 iPad mobile\_installation\_proxy[2801] \<Error\>: handle\_check\_capabilities: Check Capabilities failed"

Please help.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [November 3, 2013, 5:52pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/54 "2013-11-03T17:52:46Z")

</div>

This particular issue impacts the XCode simulator and it is a keychain related issue.&nbsp;&nbsp;&nbsp; @Sadsack what you are probably encountering a bad certificate in your keychain that is causing this issue.&nbsp; You should be able to delete all your development keys and certificates, clear out your provisioning profiles and then generate new certificates and keys and then recreate the provisioning profiles and download them anew.

Several people have done this and it solved the problems.

This isn’t a Corona issue as much as it is an interaction between Mavericks, XCode5 and your keychain.

---

<div class="post-metadata">

**Author:** ![Sadsack](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/b5a626/32.png) [@Sadsack](https://forums.solar2d.com/u/Sadsack)\
**Post date:** [November 3, 2013, 6:33pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/55 "2013-11-03T18:33:55Z")

</div>

Hi Rob

I have tried that. I have cleared all my keychains, reloaded and created new Keychains. In terminal rm all prevoise provision profiles and add the new one. The HalloWorld still does want to be uploaded on my device.

---

<div class="post-metadata">

**Author:** ![Sadsack](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/b5a626/32.png) [@Sadsack](https://forums.solar2d.com/u/Sadsack)\
**Post date:** [November 3, 2013, 6:59pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/56 "2013-11-03T18:59:27Z")

</div>

I have tested on two different Mac PC. And both of them give this issue.

Nov &nbsp;3 20:56:39 iMacs-iPad wifid[15] \<Notice\>: WiFi:[405197799.878354]: new locale: &nbsp;, locale:&nbsp;

Nov &nbsp;3 20:56:42 iMacs-iPad mobile\_installation\_proxy[128] \<Warning\>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.

Nov &nbsp;3 20:56:42 iMacs-iPad mobile\_installation\_proxy[128] \<Warning\>: LaunchServices: installing app for existing placeholder (null)

Nov &nbsp;3 20:56:42 iMacs-iPad installd[60] \<Notice\>: 0x2cc000 handle\_install\_for\_ls: Install of “/var/mobile/Media/PublicStaging/HelloWorld.app” requested by mobile\_installation\_proxy

Nov &nbsp;3 20:56:42 iMacs-iPad installd[60] \<Notice\>: 0x2cc000 MobileInstallationInstall\_Server: Installing app HelloWorld

Nov &nbsp;3 20:56:43 iMacs-iPad installd[60] \<Error\>: 0x2cc000 verify\_signer\_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install\_staging.eCKcrZ/HelloWorld.app/HelloWorld: 0xe8008019

Nov &nbsp;3 20:56:43 iMacs-iPad installd[60] \<Error\>: 0x2cc000 do\_preflight\_verification: Could not verify executable at /var/tmp/install\_staging.eCKcrZ/HelloWorld.app

Nov &nbsp;3 20:56:43 iMacs-iPad mobile\_installation\_proxy[128] \<Error\>: 0x201000 MobileInstallationInstallForLaunchServices: failed with -1

Nov &nbsp;3 20:56:43 iMacs-iPad mobile\_installation\_proxy[128] \<Warning\>: ERROR: MobileInstallationInstallForLaunchServices returned nil

Nov &nbsp;3 20:56:43 iMacs-iPad installd[60] \<Error\>: 0x2cc000 install\_application: Could not preflight application install

Nov &nbsp;3 20:56:43 iMacs-iPad mobile\_installation\_proxy[128] \<Error\>: 0x201000 handle\_install: Installation failed: Error Domain=LaunchServicesError Code=0 “The operation couldn’t be completed. (LaunchServicesError error 0.)” UserInfo=0x1657ee60 {Error=ApplicationVerificationFailed, ErrorDetail=-402620391}

Nov &nbsp;3 20:56:43 iMacs-iPad installd[60] \<Error\>: 0x2cc000 handle\_install\_for\_ls: API failed

---

<div class="post-metadata">

**Author:** ![brindleware](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/bbe5ce/32.png) [@brindleware](https://forums.solar2d.com/u/brindleware)\
**Post date:** [November 4, 2013, 12:02pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/57 "2013-11-04T12:02:29Z")

</div>

> [@bjsorrentino](#):
>
> Hi @roman85,
> 
> Just curious, has this happened **only** since you upgraded to Mavericks? Or were you experiencing this with Mountain Lion too?
> 
> Thanks,
> 
> Brent

for me - only since Maverick.

---

<div class="post-metadata">

**Author:** ![bjsorrentino](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/838e76/32.png) [@bjsorrentino](https://forums.solar2d.com/u/bjsorrentino)\
**Post date:** [November 4, 2013, 8:30pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/58 "2013-11-04T20:30:44Z")

</div>

Hi @brindleware,

@roman85 seems to have solved this by using the latest daily build. Have you tried the same?

@Sadsack,

Did you clear off all provisioning profiles on the actual device, clear out and re-generate new certificates and provisioning profiles in the Apple Dev Center, sync the device with your computer, check that all of the new profiles are “active” and marked with a green dot, then re-started the Corona Simulator to build?

Brent

---

<div class="post-metadata">

**Author:** ![IBMHursley19641](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/i/b5a626/32.png) [@IBMHursley19641](https://forums.solar2d.com/u/IBMHursley19641)\
**Post date:** [November 6, 2013, 7:09pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/59 "2013-11-06T19:09:47Z")

</div>

Start system user will have no access to daily builds.

So are we stuck until a new starter system build is release (when?).

Thanks

Alec

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [November 6, 2013, 10:41pm UTC](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197/60 "2013-11-06T22:41:55Z")

</div>

Hi @ibmprgmsince1964, you are correct, both the Starter and Basic tier do not get access to daily builds.&nbsp; We don’t have a set schedule for when we put out public builds, but we’ve been doing so in the 3-4 month range recently.&nbsp; And we have not announced a date for the next one yet.

[Previous page](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197.md?page=2)

[Next page](https://forums.solar2d.com/t/app-crashes-in-xcode-simulator-ios-7-sdk/319197.md?page=4)
