1 Attachment(s)
Simple app crashes on iOS6.1.3 R285.1 XCode 7.1
Having some weird problems with crashes straight after the splash screen, but only on earlier devices (iPad 2 and iPod touch 4G both running iOS 6.1.3), fine on iPod touch 5G and iPad Air running iOS 8.0.2 and 8.1 respectively - using R285.1 and XCode 7.1
I've attached an MFA file which just has a single frame with just a string object that says "Test App"
Any idea how to fix? Any help is much appreciated!
Seems fine on R284.10 - may have to revert back to that version
I have noticed that the Xcode zip now contains Ogg.framework and Vorbis.framework, which aren't there in R285.10 - and I'm not using any Music or SFX
Here's the XCode log:
AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
2016-03-08 14:48:15.833 TestAppCrash_iOS6-1-3[400:907] -[__NSCFConstantString sizeWithAttributes:]: unrecognized selector sent to instance 0x2df9d4
2016-03-08 14:48:15.844 TestAppCrash_iOS6-1-3[400:907] CRASH: -[__NSCFConstantString sizeWithAttributes:]: unrecognized selector sent to instance 0x2df9d4
2016-03-08 14:48:15.904 TestAppCrash_iOS6-1-3[400:907] Stack Trace: (
0 CoreFoundation 0x323a22bb <redacted> + 186
1 libobjc.A.dylib 0x3a02097f objc_exception_throw + 30
2 CoreFoundation 0x323a5e07 <redacted> + 170
3 CoreFoundation 0x323a4531 <redacted> + 392
4 CoreFoundation 0x323a5938 <redacted> + 24
5 TestAppCrash_iOS6-1-3 0x0022846d -[NSString(NSStringExtension) sizeWithFont:] + 224
6 TestAppCrash_iOS6-1-3 0x00224f51 +[CServices drawText:withString:andFlags:andRect:andColor:andF ont:andEffect:andEffectParam:] + 1156
7 TestAppCrash_iOS6-1-3 0x001fa195 -[CTextSurface setText:withFlags:andColor:andFont:] + 556
8 TestAppCrash_iOS6-1-3 0x001f3c0d -[CText draw:] + 816
9 TestAppCrash_iOS6-1-3 0x001f41e9 -[CText spriteDraw:withSprite:andImageBank:andX:andY:] + 68
10 TestAppCrash_iOS6-1-3 0x002401ef -[CSpriteGen winDrawSprites:] + 434
11 TestAppCrash_iOS6-1-3 0x00240395 -[CSpriteGen spriteDraw:] + 44
12 TestAppCrash_iOS6-1-3 0x0020431d -[CRun screen_Update] + 1096
13 TestAppCrash_iOS6-1-3 0x0020cb8d -[CRun f_GameLoop] + 3332
14 TestAppCrash_iOS6-1-3 0x001fda15 -[CRun doRunLoop] + 88
15 TestAppCrash_iOS6-1-3 0x00090051 -[CRunApp loopFrame] + 100
16 TestAppCrash_iOS6-1-3 0x0008e751 -[CRunApp playApplication:] + 892
17 TestAppCrash_iOS6-1-3 0x0009e8cd -[CRunView timerEntry] + 1996
18 Foundation 0x32cb9f53 <redacted> + 62
19 CoreFoundation 0x323775df <redacted> + 14
20 CoreFoundation 0x32377291 <redacted> + 272
21 CoreFoundation 0x32375f01 <redacted> + 1232
22 CoreFoundation 0x322e8ebd CFRunLoopRunSpecific + 356
23 CoreFoundation 0x322e8d49 CFRunLoopRunInMode + 104
24 GraphicsServices 0x35e9b2eb GSEventRunModal + 74
25 UIKit 0x341fe301 UIApplicationMain + 1120
26 TestAppCrash_iOS6-1-3 0x000827c3 main + 118
27 libdyld.dylib 0x3a457b20 <redacted> + 0
)
2016-03-08 14:48:15.914 TestAppCrash_iOS6-1-3[400:907] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString sizeWithAttributes:]: unrecognized selector sent to instance 0x2df9d4'
*** First throw call stack:
(0x323a22a3 0x3a02097f 0x323a5e07 0x323a4531 0x323a5938 0x22846d 0x224f51 0x1fa195 0x1f3c0d 0x1f41e9 0x2401ef 0x240395 0x20431d 0x20cb8d 0x1fda15 0x90051 0x8e751 0x9e8cd 0x32cb9f53 0x323775df 0x32377291 0x32375f01 0x322e8ebd 0x322e8d49 0x35e9b2eb 0x341fe301 0x827c3 0x3a457b20)
libc++abi.dylib: terminate called throwing an exception