Discussion Forums  >  Crashes, Memory Warnings

Replies: 6    Views: 97

AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
01/12/13 04:59 AM (11 years ago)

4.3 specific xcode runtime problem - ideas anyone?

I cannot get my app to run on a 4.3 simulator, I get the following run-time error :- dyld: Library not loaded: /System/Library/Frameworks/Twitter.framework/Twitter Referenced from: /Users/mymac/Library/Application Support/iPhone Simulator/4.3.2/Applications/xxxxxxxxxxxxxxx/test.app/test Reason: image not found It works on ios higher than 4.3 and I am not using twitter, which suggests it isn't my code (for once!). Any ideas anyone?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/12/13 06:01 AM (11 years ago)
There is a plugin In your package that is using twitter, remove it.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/12/13 06:28 AM (11 years ago)
Thanks @Kittsy It looks that way, but I don't have any twitter plugings or even use twitter & I have never knowingly added any twitter related plug-ins. The only 3rd party plugin I'm using here is the circle menu. I rebuilt the app using a different menu plugin. No change. If I use 5.0 simulator, or my 5.1.1 device (a 3GS), the app works. My suspicion is that it is either a)a core BT 2.0 problem, or b) that I have a plug-in in my control panel that doesn't like 4.3. Problem is, not being great at xCode, I don't know where to look! Alan
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/12/13 06:47 AM (11 years ago)
go to your targets then linked frameworks, set twitter.framework to optional or delete it if you are never going to integrate twitter This happens now because buzztouch automatically adds the twitter framework automatically, this error will also disappear if you set your device deploymemt target to ios 5.0 or higher
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/12/13 10:19 AM (11 years ago)
Thanks @Kittsy, that helped - I don't think I would have sussed this so easily without your input. I made the change top optional as suggested, then tried again. It crashed again, but the error had moved to the mapkit framework, so I made that both optional as well and hey presto, everything works (including googlemaps)! Now noticed the circle menu is more straight than so circular on IOS 4.3, but at least it works! Cheers, Alan
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
01/12/13 11:18 AM (11 years ago)
Yeah, no probs. the reasons why them errors are coming up is that you are building for 2 year old plus iOS. I personally would set by base targeting sdk as iOS 5. I read a few articles 95%+ of iOS users run iOS5 or higher. If the circleview menu ain't working this means that a framework that is accessing isn't compatible with ios4, for the 3d rendering
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/12/13 11:33 AM (11 years ago)
I try to aim for maximum backwards compatibility, but if I'm only catering for 5%, then it probably isn't worth it. Thanks again @Kittsy, much appreciated.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.