iOS 5 Sdk Is Gone After Upgrade to Xcode 4.5

I just upgraded to xcode to 4.5 and now can't install iOS5.1

I had to accept the new developer agreement in the member center on developer.apple.com. After that I could download the old simulator.

After upgrading Xcode to 4.5, Restkit 10.0 project not compiling for iOS 5.1 device

OK, just noticed the following warning:

ignoring file /Users/.../Library/Developer/Xcode/DerivedData/PlascoTrac-ginlxeicfonetcaicpyggfpyuxrj/Build/Products/Debug-iphoneos/libRestKit.a, file was built for archive which is not the architecture being linked (armv7s): /Users/.../Library/Developer/Xcode/DerivedData/PlascoTrac-ginlxeicfonetcaicpyggfpyuxrj/Build/Products/Debug-iphoneos/libRestKit.a

so I went to the Restkit target and changed the architecture to

Standard (armv7, armv7s) 

and voila!

Leaving this question and answer here because I don't see the exact equivalent here and it might be useful to others,

Cheers.

Program run on iOS 5.1 device can't find SDK with Xcode 4.5

I had the same problem and found that I had simply forgotten to change the target platform in an included project. Xcode automatically switches target to the latest iOS when upgrading. Just changing the target for the included project fixed this.

in Xcode, older iOS SDK missing--for pre-existing project only

Actually, under Xcode 4.5.x, the only allowed Base SDK is 6.0. You need to set your project's (and target's) Deployment Target to iOS 4.3 or later depending on what you wish to support in your app.

The Bask SDK defines what APIs you can use. The Deployment Target defines how far back you wish to support.

Moving previous documentation sets and ios SDKs into XCode 4.5

My old Developer folder was in the root HD folder. I don't know if that's typical. The docsets were located here:
HD/Developer/Documentation/DocSets

The simulators were located here:
HD/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

Unfortunately I wasn't able to get XCode 4.5 to recognize any docset I moved from my XCode 4.2 installation. I had to let XCode 4.5 download them.

I did successfully move content from my developer XCode 4.5 GM to the AppStore XCode 4.5.

The .docset files are stored here:
~/Library/Developer/Shared/Documentation/DocSets

Nothing had to be done as XCode 4.5 from the AppStore recognized what I had downloaded using my XCode 4.5 GM. This is good news because it means future XCode versions will probably recognize them as well.

The simulator files are stored inside the XCode.app itself:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/

I just copied these folders from the XCode 4.5 GM to the App Store XCode 4.5 into the above folder:

  • iPhoneSimulator4.3.sdk
  • iPhoneSimulator5.0.sdk
  • iPhoneSimulator5.1.sdk

My understanding is that the minimum supported deployment target with Xcode 4.5 or later is iOS 4.3 so I didn't move any other simulator SDKs.

Of course, you need to control-click (or right mouse click) the XCode application and select Show Package Contents before you can navigate to the Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ folder.

I don't know what this means when a new Xcode is release and the App Store installs the update. Will it wipe out these SDKs I moved? I've already made a backup of my modified XCode 4.5 in case they are lost when upgrading XCode through the App Store.

Hope this is helpful.

xcode 4.5.2 and IOS SDK 6.0 debug not working?

You need to update your SDK, update the SDK to 6.1 and everything will be fine.



Related Topics



Leave a reply



Submit