Basic Options for Xcode Crashes Clean the project. Delete Derived Data directory Delete app, re-install. This fixed my problem. Not sure how my prefs got confused in the first place. Published in GameDev iOS. Next Post Questions to ask new clients. Xcode does change constantly so these steps may also need change as well over time.
I assume your actual background task is [self initBackground]; , otherwise you should put it outside the block and before endBackgroundTask call. Also, I noticed your pauseDownloads code now, it seems you are performing downloads using NSOperationQueue when app goes in background.
In such a case, ensure that the endBackgroundTask is not called until you have finished downloading or expiration handler is executed. In other words, the control doesn't return too early which means you might need to monitor these download NSOperation s.
Asked 4 Months ago Answers: 5 Viewed 97 times. I've run the app on a device outside of Xcode, and it seems to work perfectly fine. Still can't find where command line tools is kept though. Still crashes. Thing is I had no issues until the most recent Xcode update. Could it be an Xcode bug? Could that be interfering? Edit: It's caused by a race condition in the debug server I hear.
Fixed in Xcode 4. What is your deployment target? EDIT It's worth mentioning that this project was originally done under Xcode3, so there is likely just some bizarre cruft in the project itself that is both unneeded and causing this problem. EDIT 2 Well, well, well The lesson: Never underestimate the chances for there to be garbage in your project file.
Update The workaround posted below to manually add them has been working great, but hopefully I don't have to do it forever. I have to assume this is a problem with my local setup as this can't be happening to everyone. Let me know if you figure out a long term fix. I again see crashes in ITC, but after manually adding an entry for the release in Info. Other than updating XCode, I can't think of any way I might have "fixed" it.
I filed a radar yesterday and was on ITC tech support today. If you're having this issue please report it to Apple and reference the existing radar so Apple can recognize we're having the same problem and prioritize a fix. A workaround to get the crash reports for my latest release was to manually add a new entry in the crash organizers Info.
After relaunching Xcode and going to the crashes organizer I watched as the last 6 days of crash reports came in. I got the same problem. Took me whole night to solve. The doc gave the wrong instruction - therefore all your archives are created but their size is zero.
You can verify this by going to their directory Anyway, in the "Skip Install", set the value for "Release" as "NO" the help doc told you the opposite. Once you set it to "NO", archive again.
0コメント