iPhone SDK Beta 2 Breaks Beta 1 Projects
March 27th, 2008 Posted in iPhone
If you try to build an iPhone application created with the Beta 1 SDK using the newly released Beta 2 SDK you will get an error. Apple has changed the name of the iPhone SDK from Aspen which I assume was an internal code name.
To fix this issue you’ll have to go to the Project menu and select Edit Project Settings. In the General settings near the bottom you’ll see that Base SDK for All Configurations is set to Other and the path points to the old Aspen1.2.sdk. To update your project to the new SDK all you need to do is select Simulator - iPhone OS 2.0 or Device - iPhone OS 2.0 in the Base SDK for All Configurations combo box.
Now your project will actually start to build, but beware. You may see compile errors and warnings that you didn’t see previously due to changes in the new version of the SDK.
The samples on the iPhone Developer web site are also broken. You’ll need to download the new updated versions to use them with this new version of the SDK.
Also the simulator is now called the iPhoneSimulator instead of the AspenSimulator. There don’t appear to be any new features added to the simulator interface. I was hoping to be able to simulate some of the iPhone hardware such as the accelerometer.
Looks like I’ll be updating the code previously posted to work with the new version.












Related Articles:
No comments yet.