Splash & Crash on iOS 3x - weak links the answer?

You must Login before you can answer or comment on any questions.

Hi all,

I've had my second app accepted for the App Store (thanks Appcelerator) and was happy for about five minutes before my customer - who has a first generation iPod running iOS 3.1.3 - told me it crashes at the splash screen!

It's been very stable on any iOS4 device I've tested on and having read in various places about 'weak linking' I am wondering if this is the answer for the crash under iOS 3x.

The crash logs point towards the problem occurring in libSystem.B.dylib, which I cannot actually see being used in my project's Xcode frameworks though. Maybe it's included by default.

So the question is - how do I weak link when I can't see this library?

— asked 2 years ago by Patrick Mounteney
8 Comments
  • If you're comfortable posting the crash logs, we can take a look at them. If you'd rather they not be public, you can send them to community@appcelerator.com and we can get some of the iOS guys' eyes on them to see if we have ideas.

    — commented 2 years ago by Kevin Whinnery

  • Thanks Kevin - I appreciate your offer. I'll send some in due course as I do want to try and clear this up.

    — commented 2 years ago by Patrick Mounteney

  • I got the same error using the nightly 1.6.0 continuous build on a iOS 1.3.2 device. Crash logs complained about libSystem.B.dylib. Has this bug been addressed yet? Do all Titanium apps crash on iOS 1.3.x?

    — commented 2 years ago by Slim McKinsley

  • Show 5 more comments

1 Answer

It's looking like a similar issue was fixed for 1.6.0 - can you test a build from here (master branch, 1.6.0 will be the version):

http://builds.appcelerator.com.s3.amazonaws.com/index.html

— answered 2 years ago by Kevin Whinnery
answer permalink
1 Comment
  • Kevin, I just tried with 1.6.0 RC1 and it still crashes. I'll email my crash log to community@appcelerator.com.

    — commented 2 years ago by Slim McKinsley

Your Answer

Think you can help? Login to answer this question!