App submission failure for IOS 5 using iT2D 1.5 [SOLVED]
by Don Schaper · in iTorque 2D · 12/14/2011 (10:21 am) · 4 replies
I currently have a game using iT2D 1.5 on Xcode 4.2 that is being repeatedly being rejected. Apple says that it crashes on launch. The crash log is unhelpful, other than showing that it crashes immediately.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000060
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 FofAttraction 0x0016fbf4 0xf4000 + 506868
...
19 UIKit 0x3289d7e4 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1180
...
I could provide the full crash log, but it isn't really helpful.
---
The game runs on 4.3 & 5 Simulators, on my iPad2 in debug, on my iPad2 as an ad-hoc distribution build (which is configured to exactly match release, expect for the profile), & on a testers' iPad1 as an ad-hoc distribution build.
There are no errors with profiles, certificates, or anything else that I can think of.
Two questions, for those with more knowledge than I about all of this...
In the details of the release build, near the bottom, under Link; the following yellow warnings show:
ld: warning: directory not found for option '-L"/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreGraphics.framework"'
ld: warning: directory not found for option '-F"/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks"'
ld: warning: directory not found for option '-F"/Applications/iTorque2D_1_5/MyProjects/Attraction/buildFiles/Xcode_iPhone/../../../../engine/lib/xiph/iPhone"'
Is this a problem?
Also, libz.dylib automatically points to version 1.2.5 (the IOS 5 version).
Since my IOS Deployment Target is set to 4.3, should I also add libz.dylib v 1.2.3 (the IOS 4 version) to the project and build phases?
Any help you could offer me would be greatly appreciated. Thanks.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000060
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 FofAttraction 0x0016fbf4 0xf4000 + 506868
...
19 UIKit 0x3289d7e4 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1180
...
I could provide the full crash log, but it isn't really helpful.
---
The game runs on 4.3 & 5 Simulators, on my iPad2 in debug, on my iPad2 as an ad-hoc distribution build (which is configured to exactly match release, expect for the profile), & on a testers' iPad1 as an ad-hoc distribution build.
There are no errors with profiles, certificates, or anything else that I can think of.
Two questions, for those with more knowledge than I about all of this...
In the details of the release build, near the bottom, under Link; the following yellow warnings show:
ld: warning: directory not found for option '-L"/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/CoreGraphics.framework"'
ld: warning: directory not found for option '-F"/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks"'
ld: warning: directory not found for option '-F"/Applications/iTorque2D_1_5/MyProjects/Attraction/buildFiles/Xcode_iPhone/../../../../engine/lib/xiph/iPhone"'
Is this a problem?
Also, libz.dylib automatically points to version 1.2.5 (the IOS 5 version).
Since my IOS Deployment Target is set to 4.3, should I also add libz.dylib v 1.2.3 (the IOS 4 version) to the project and build phases?
Any help you could offer me would be greatly appreciated. Thanks.
#2
12/15/2011 (12:43 am)
Or create a new project and copy "projectFiles" from the old project :)
#3
12/15/2011 (10:10 am)
There's that too :)
#4
Instant rejection (with crash reports et al) and an email this morning that my latest submission requires additional review time.
Instead of looking for some obscure problem, I should have concentrated on the obvious.
I'm such an idiot!
Thanks, Ronny!!!
12/15/2011 (10:24 am)
What's the difference between Icon72 and Icon-72?Instant rejection (with crash reports et al) and an email this morning that my latest submission requires additional review time.
Instead of looking for some obscure problem, I should have concentrated on the obvious.
I'm such an idiot!
Thanks, Ronny!!!
Torque 3D Owner Ronny Bangsund
Torque Cheerleaders
I'm not sure why it's trying to link Xiph stuff. Did you add Vorbis support back in? Remove if this wasn't the intent, and think carefully about it if you it was ;)
The warnings make it look like there are some malformed strings in the build settings. Try verifying them, and go through *everything* manually if it reports everything as fine. Unbalanced apostrophes and quotes are the key, and stray spaces after hyphens.
There is no ApplicationServices.framework, but there is a CoreGraphics.framework, so it doesn't really make much sense to me either. Double-check the frameworks in the hierarchy. Remove any doubles and red ones, re-add what's necessary. Compare with a clean example iT2D project.
Finally, the useless crash report issue. This could be because of misnamed files. It seems names for the icon (Icon.png and more) and loader images (Default.png and friends) are somewhat stricter now, and need to be exactly as Apple's examples. But that's not all; on iOS 5 it also requires various arrays and strings to be set in the main plist to indicate what specific images you have at what orientations and resolutions.
_callInitializationDelegatesForURL:payload:suspended: is a private call, so I dunno at what point it crashes. But it looks like it's pre-launch, so something in the iOS launcher doesn't agree with your app. The whole crash report might be useful (put it in quote tags!).