app crashes in xcode simulator iOS 7 SDK

“I wish there was some magic that would help.” from Mr Miracle !

Well you certainly provide some here…

Following your guidance and using the Xcode organiser instead of the IPhone Configuration Utility I am there (well almost).

I now have the app running on the iPad and the iPhone.

I am still no where near confident with these certificate/profile/ distribution/dev/team methodology.

Many reasons…

The attached image capture shows of the three I created two failed. So the only active is the xcode team and my own distrubition profile.

I used my own distribution profile which is now on the working devices.

I tried the Xcode simulator yet again but the error  I see is not the error you gave but is still related to signatures

EXC_CRASH (Code Signature Invalid)

The app loads into the simulator and the icon can be seen in the window but crashes with the above error.

Previous profiling included a request to use my certificate “AS Cockle” keychain click allow always etc

This time it just requested <key> keychain. I have no idea why.

So I need to go and find a dark corner and  study this certification process  a lot more because it is all smoke and mirrors to me so far…

Anyway thank you Rob for the continued feedback and guidance.

Alec

The whole certificate/keychain stuff is complex enough that if you don’t do it often enough you never get comfortable with it. 

Here’s some reading I have found… just in case others may need some referencing, or maybe  can point to other ‘training’ material.

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/Troubleshooting/Troubleshooting.html

http://fovea.cc/blog/index.php/ios-developer-certificates-provisioning-profiles-application-id/

http://ipad.about.com/od/iPad-App-Dev/a/How-To-Renew-Your-Apple-Developers-Certificate-And-Provisioning-Profiles.htm

I am still having the problem running the app on the simulator. It works on the device. I’m using build 1256. Has this problem been resolved. When I try to run it, the simulator just hangs up.

It was fixed in 1248.

Can you bring up the Console app and see what errors you are getting?

I too am getting this problem, having just upgraded to Mavericks/xCode 5. Building using Corona 1260. 

The app installs on xCode simulator, after the splash screen the screen goes black. Absolutely no error messages from the console. If I restart the simulator (i.e select a different device), the home page shows with the app icon, but running it again gives the black screen.

I put in a print statement on line 1 of main.lua and this doesn’t show in the console either.

Have reinstalled xCode 5 from scratch, deleted all profiles from the library and devcenter, and created new profiles on devcenter. These then download automatically into xCode under preferences/accounts.

I am getting this in the console, when xCode simulator launches or I switch device:

14/01/2014 16:40:24.088 WindowServer[129]: hidd died. Reestablishing connection.

14/01/2014 16:40:24.088 loginwindow[81]: hidd died. Reestablishing connection.

14/01/2014 16:40:24.091 loginwindow[81]: hidd died. Reestablishing connection.

14/01/2014 16:40:24.090 loginwindow[81]: hidd died. Reestablishing connection.

I can’t remember if this is normal or not. Still getting no errors on app launch. Happens with Corona build 1260 and 2126.

Note: Builds are working fine on iPhone 3GS running iOS 6, and iPad 3 running iOS 7. Just xCode Simulator not working, at my wits end!

I’m in the same boat as Nick. Same message, same symptoms after updating to Mavericks using 1260.

Just checking…  Running the OS-X “Console” app shows no errors?  (It’s where the XCode simulator writes it’s errors)

What happens if you try and build the “Hello World” app?

Rob

I ran into the same problem yesterday, very frustrating.  After reading this thread, I deleted both my dev and dist cert in keychain and downloaded new ones, I then changed my build from 1213-1198 to 1213-1255 and my app now loads in the iOS simulator.  I use it to take my screenshots and produce help videos.

edit:  forgot to mention I refreshed my provision files at some point found in xcode preferences/ account/ details.

I don’t want to upgrade to Graphics 2.0 as I’ve got what I need and working with 1.0. No need for me to upgrade and cause a slew of headaches with my scrollviews and who knows what.

Nail

Can you install a G2.0 build and build a sample app?  This would rule out your development environment being the cause.

As far as screen shots, why not tether your device, and use XCode’s Organizer to snap the screen shots off of the device.  From my experience, this is actually a quicker way to deal with this than the painfully slow Xcode simulator.

Rob

Hey Rob,  I didn’t know I could take iPad screenshots off my iPhone.  Is that right?

If it weren’t for this thread, I would probably still be trying to figure out what I was doing wrong.  Everything is working now.

Nail

That would be magical!

LOL, ya never know…

I am pleased to see that gradually this is getting better-well done Nail!

Like you Graphics 2 problems [too many changes changes unnecessarily-can I rely on Compatibility option questions in my mind,]  has been making me hold off going to the latest Public Release. 

Maybe next week I will give that another trial.

Anyone reading; Are you running successfully with Compatibility option set on ok, i.e. latest public release but graphics 1 mode?

I too am getting this problem, having just upgraded to Mavericks/xCode 5. Building using Corona 1260. 

The app installs on xCode simulator, after the splash screen the screen goes black. Absolutely no error messages from the console. If I restart the simulator (i.e select a different device), the home page shows with the app icon, but running it again gives the black screen.

I put in a print statement on line 1 of main.lua and this doesn’t show in the console either.

Have reinstalled xCode 5 from scratch, deleted all profiles from the library and devcenter, and created new profiles on devcenter. These then download automatically into xCode under preferences/accounts.

I am getting this in the console, when xCode simulator launches or I switch device:

14/01/2014 16:40:24.088 WindowServer[129]: hidd died. Reestablishing connection.

14/01/2014 16:40:24.088 loginwindow[81]: hidd died. Reestablishing connection.

14/01/2014 16:40:24.091 loginwindow[81]: hidd died. Reestablishing connection.

14/01/2014 16:40:24.090 loginwindow[81]: hidd died. Reestablishing connection.

I can’t remember if this is normal or not. Still getting no errors on app launch. Happens with Corona build 1260 and 2126.

Note: Builds are working fine on iPhone 3GS running iOS 6, and iPad 3 running iOS 7. Just xCode Simulator not working, at my wits end!

I’m in the same boat as Nick. Same message, same symptoms after updating to Mavericks using 1260.