User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Simple app crashes on iOS6.1.3 R285.1 XCode 7.1

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since no response, I've posted it in the BugBox here: http://bugbox.clickteam.com/projects/ios-exporter/issues/new?issue%5Btracker_id%5D=1

  3. #3
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,414
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    I believe the Min. requirement is IOS 7 now.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,741
    Mentioned
    296 Post(s)
    Tagged
    4 Thread(s)
    I am checking this, but not easy to reproduce here though.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    I was getting a similar crash that only appeared on an ios6 ipad2. It appeared to be related to making a text box visible in my app. The same problem did not occur on devices with ios7 or later so I think Perry's comment is on the right track.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the replies!
    Pretty sure I've managed to run an iOS app made with Fusion 285.1 on iOS 6.1.3
    Is there something official from ClickTeam that specifies min iOS version for versions of Fusion 2.5 (eg 285.1 or 284.10)
    It would be good to know before updating, as it might limit the few devices I have to test on...

  7. #7
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,414
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    When you updated Fusion to one of the latest version, the IOS exporter will give you a 1 time warning that the min version had to be IOS 7

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perry - I don't remember such a warning - is this when installing/updating Fusion or when Exporting to iOS?

  9. #9
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,414
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Updating to 285.0 or the latest beta. once you loaded an IOS project, you were getting that warning.

  10. #10
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    AyreGuitar and Fernando: I can provide my project file for testing if you need it. But I can only get it to reproduce on a device with ios6. Simulator does not reproduce the crash.

    Perry: I don't remember this warning, but I have gotten all apps to run on an iOS6 device with the latest xcode and Fusion beta. I only have a crash with that one special case of using a string object.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. iADS in iOS6
    By Koji_Kabuto in forum iOS Export Module Version 2.0
    Replies: 23
    Last Post: 21st January 2013, 02:50 PM
  2. Crash after connecting to Game Center on iOS6
    By DistantJ in forum iOS Export Module Version 2.0
    Replies: 21
    Last Post: 29th October 2012, 06:11 PM
  3. Quite important suggestion for iOS6: Screen cropping
    By DistantJ in forum iOS Export Module Version 2.0
    Replies: 63
    Last Post: 28th September 2012, 05:30 PM
  4. iOS6?
    By JosephFTaylor in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 23rd June 2012, 08:01 PM
  5. Simple xlua test crashes
    By keokeo in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 29th April 2011, 04:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •