Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS4: Correct SDK and Deployment Target Settings in Xcode

I upgraded my Xcode from 3.1.2 to Xcode Version 3.2.3 and upgraded my device to 4.0 OS. I have set my Base SDK to iPhone Device OS 4.0 and the iPhone OS deployment Target to iPhone OS 3.1.2.

When I run my application (which was created in 3.1.2) on device under iOS4.0, and I see problems such as dates not displayed and the "back" buttons not appearing in the navigation bar. The app works fine when under 3.1.2 and 3.2.

What could be causing the problems under iOS4.0? Are my SDL and Deployment settings correct?

Edit:

I have solved date issue and back button issues.

Thanks.

like image 928
Pugalmuni Avatar asked Feb 04 '26 22:02

Pugalmuni


2 Answers

Your deployment settings look correct.

Do you use any third-party library in your application ? What kind of "back" buttons do you use, are they customized ?

like image 94
scalbatty Avatar answered Feb 07 '26 12:02

scalbatty


You're settings are probably correct. The NSDateFormatter class has gotten less lenient in iOS4 and -[NSDateFormatter dateFromString:] will return nil in more cases if it runs into a problem.

like image 27
John Franklin Avatar answered Feb 07 '26 11:02

John Franklin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!