2

I have just submit my app to the App store, and received many comments that the application crashes on startup on older iphones. The deployment target was set to 3.1.3 and base sdk to 4.0. I thought I didn't use any api from 4.0 so the only problem could be three20 library.

Now I have two xcodes installed on my computer. After some changes my project can be build both in the newest one (3.2.3), and in the 3.2.1 with the base sdk set to 3.1.3 and deployment target to 3.0. My app works in iphone simulator in both xcodes and all versions (ranging from 3.0 to 4.0).

Now my question - if my project can be built with base sdk set to 3.1.3, will it run on the real device if I build it with 4.0 and choose deployment target to 3.0? I have only access to real device with iOS 4.0 and no other way to check whether everything is ok.

Dokotor
  • 21
  • 2
  • 2
    This is why you always need to test against devices running the OS you're targeting. Not only is the OS version a potential problem, but the older devices have more constrained hardware and may run into memory and processing issues that the post-iPhone 3G S ones don't. – Brad Larson Aug 06 '10 at 17:15

1 Answers1

1

with the 4.0 sdk you can set the deployment target to 3.0 and the base sdk to 4.0 and it should be fine. If you have the old simulator installed still you could then run this build (don't rebuild from the 3.1.3 base sdk!) on the simulator to test it there, although having an old device would be ideal.

Jesse Naugher
  • 9,780
  • 1
  • 41
  • 56
  • Then there is something wrong, because when i rebuild the project everything is fine, but when i just run it i get: dyld: Symbol not found: _OBJC_CLASS_$_NSAssertionHandler The only weak linked library in my project is UIKit, as it is specified on three20 forums. I have no idea what to do. – Dokotor Aug 06 '10 at 15:45
  • 1
    http://stackoverflow.com/questions/3275171/weak-linking-to-support-previous-ios-versions – tc. Aug 06 '10 at 17:46
  • From that link that you posted it appears that there is no way to check whether the application is working, even on different xcode with older simulator, am I right? – Dokotor Aug 07 '10 at 11:22