iOS 6.1.6 (4th Gen iPod) Crash on Startup

Daniel Jackob's Avatar

Daniel Jackob

15 Mar, 2017 10:40 AM

Hello,

I just added HockeyApp to our iOS App. It works great on newer devices but crashes on our old iPods:

2017-03-15 11:23:38.495 iV3[1050:907] +[NSCharacterSet URLPathAllowedCharacterSet]: unrecognized selector sent to class 0x3c008880
2017-03-15 11:23:38.500 iV3[1050:907] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSCharacterSet URLPathAllowedCharacterSet]: unrecognized selector sent to class 0x3c008880'
*** First throw call stack:
(0x33c302a3 0x3b8b097f 0x33c33ca3 0x33c32531 0x33b89f68 0xf1f59 0xf1baf 0x3453e277 0x33c055df 0x33c05291 0x33c03f01 0x33b76ebd 0x33b76d49 0x377292eb 0x35a8c301 0x68861 0x3bce7b20)
libc++abi.dylib: terminate called throwing an exception
(lldb)

I only added the configureWithIdentifier and startManager lines to the appdelegate, nothing more.

As soon as I remove these lines the App works again but obviously I want to use HockeyApp. ;)

I also attached a screenshot of what I see but I can not press anything. The crash it wants to report is the crash caused by hockeyapp itself. Did I miss something?

  1. Support Staff 1 Posted by Benjamin Scholt... on 15 Mar, 2017 09:08 PM

    Benjamin Scholtysik's Avatar

    Hey Daniel,

    Thank you for getting in touch and I apologize for the inconvenience this causes. This is a regression that was introduced in HockeyApp 3.8.6.

    Unfortunately I have bad news for you: we have been debating dropping iOS 6 support for quite some time as apps that still support it are very rare. The next release of the SDK (which I can't give you an ETA right now) will drop iOS 6 support officially and not contain a fix for the issue that you are seeing.

    That said, there are 3 things that you can do:
    1. Use our crash-only build which won't give you features like in-app-updates but doesn't contain the code that causes the crash and will work on iOS 6.
    2. Downgrade HockeySDK to 3.8.5 which will come without the Metrics feature.
    3. Fork the SDK and continue to support iOS 6 on your own.

    I know that this is not the answer you were probably expecting. I'm very open to any feedback and hope we can keep you as a customer.

    Best,
    Benjamin

  2. 2 Posted by Daniel Jackob on 16 Mar, 2017 08:44 AM

    Daniel Jackob's Avatar

    Hello Benjamin,

    thanks for the reply.

    I will probably use the crash-only build for iOS 6 and implement the app-update myself.
    Seems like the easiest solution for me.

    Thanks again,

    Daniel

  3. Support Staff 3 Posted by Benjamin Scholt... on 16 Mar, 2017 03:53 PM

    Benjamin Scholtysik's Avatar

    Hey Daniel,

    thank you for the reply.

    I'm really curious on what your build-toolchain looks like as I haven't talked to anyone who supports iOS6 in a while.
    Are you building on Xcode 8 on OS X 10.12?

    Best,
    Benjamin

  4. 4 Posted by Daniel Jackob on 17 Mar, 2017 08:22 AM

    Daniel Jackob's Avatar

    Hey,

    yes, I am using OS X 10.12 and Xcode 8.2. It works well expect that after every Xcode update you have to restore the "DeviceSupport" Files from an older Version of Xcode.

    Just grab them from a old version and paste them in your current dev environment:

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
    

    For iOS 6 I take the files from Xcode 5.1.1. If you need the simulator, you can do the same.

    Luckily, our App isn't very complex since most stuff happens on our servers so I didn't run in many problems (yet).

    Eventually we will drop iOS 6 support by the end of this year or the start of next year.

  5. Support Staff 5 Posted by Benjamin Scholt... on 20 Mar, 2017 08:12 PM

    Benjamin Scholtysik's Avatar

    Hey Daniel,

    Thanks for the explanation on your future plans. I have one more question about this: do you still see a lot of usage on devices with iOS 6 and iOS 7?
    I'm asking as we're building Mobile Center now and require iOS 8 or later for it. Before you worry too much: Mobile Center is in public preview and HockeyApp will receive updates for a long time.
    I'm mostly mentioning Mobile Center because I want to collect feedback from our customers that I can use to steer decision making processes in the future.

    Best,
    Benjamin

  6. Benjamin Scholtysik closed this discussion on 23 Mar, 2017 04:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac