I'm building an iPhone app in XCode and it was just fine untill yesterday when it started to crash with a "No valid app key, exiting" error message in the console. It usually crashes a few seconds after starting, every time at a different point and sometimes it doesn't crash at all.
A couple of days ago it was just fine and I haven't touched the code since.
BTW my developer provisioning profile is valid as well as the one for the iPhone. I'm running XCode 4.5 and iOS 6.
Thank you
Related
I submitted An app to AppStore. but its being rejected claiming it crashes on launch but it works fine on my device and simulators.
they send the crash logs to troubleshooting.
Crash Files
Your application was killed by iOS because it took too long to launch (19 seconds, if we read the crash files).
I wouldn't know to say why it takes that long to launch, though. What is your app doing on launch? More data would be appreciated to help.
I wrote a small swift game with 80 - 120 MB of RAM requirement. It runs fine on the simulator. Then I transfered it to the iPhone (4s) and it run fine too. After some month it crashed while initializing. I could remove it from memory and restart it entirely, but the problem remained.
Because I didn't change anything to the iPhone, the iOS version is still the same, I think it is a memory issue?
But when I copy it again from the Dev Mac to the iPhone, it runs again fine. So memory is not realy lost meanwhile. What could be the reason? What did change over time?
Provisioning profiles become invalid after some time, if you don't have a paid developer account, that time is 3 months after you create the provisioning profile for the device. The codesigning will then be invalid and iOS won't let you run that app. Reinstalling the game to the phone should solve the problem although Xcode may say "Code signing is invalid" and give a compiler error. Just click "Fix Issue" and Xcode will take care of it for you.
I run these apps on the iOS simulator only: I created a iOS application that I have never released and has been working fine for the iPad and iPhone simulator for the past year. Two days ago the app was working fine. I didnt' change anything or even login to my Mac and tonight I go to test the app before adding additional features and the iAds stop appearing. I check over my code to verify nothing has changed. When I run the app I keep getting constant 'didFailToRecieveWithError' over and over in the log window. I know I used to get these intermittently in the past between test ads, but now that's all that I get. Has anyone else experienced this? Do the iAd test servers go down once in a while?
Does anyone know why the organizer will not find my new crash reports for one iOS device but it does for my other devices?
Let me explain: I was demoing an app today on both my iPad 3 and iPhone 5. The app is still in beta so I experienced crashes on both devices. When I returned home later that day, the new crashes from the iPhone 5 appeared right away in the Organizer window. However, the iPad 3 did not have its new crash logs appear. The only logs that came up (even after waiting several minutes and restarting the device) were from a month ago. I am running iOS 6.01 on the iPad 3 and iOS 6.1 beta 3 on the iPhone 5. Does anyone know why this might be?
Look at the console for the device to see if there is any extra information about why this might be happening. I've seen this occur when the device is full of crash reports, if this is the case you will get info about this in the console for the device.
One of my apps recently were rejected due to not running on iPad in compatibility mode. However, I fixed the problem and they load fine in Compatibility mode on iOS6 on my iPad simulator through xcode. So I reuploaded my app and about 7 hours later it already went into review and got rejected for the same reason, they said that the app crashed on iPad.
So, how do I read specifically the .crash file returned by apple?