After you upgrade to xCode 6.4 you will notice that the SDK for iOS 7.1 is no longer available. If you still want to be able to build for iOS7 and run a simulator for iOS7 then you will need to do a little bit of manual work.
First if you go to Preferences --> Downloads within xCode you should see a component listed for the iOS 7.1 simulator. Click on the download arrow in order for it to be downloaded and installed.
However you will notice that there is no download for the base SDK for 7.1. You will need to manually install it in order for it to be available to xCode 6.4.
You will want to check and confirm what SDKs are actually installed. You can check by opening a terminal on your MAC and then proceeding to the directory /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs.
If you do not see a folder for iPhoneOS7.1.sdk you will want to extract a copy of the SDK into your Xcode SDK directory structure. You could either attempt to copy a version from an install of xCode 5.1 or you can search the web for publicly available copies of the SDK. Here is one I found download here . Once you have the download, copy the SDK folder, iPhoneOS7.1.sdk to the SDKs directory indicated above.
Note: Make sure the permissions are appropriate on the folder. Check the permission on the other SDK folders and replicate both the owner and group if necessary.
Once you have it in place restart/start xCode. You should now be able to select from either the 8.x or 7.1 SDK now when building or running from within xCode.
First if you go to Preferences --> Downloads within xCode you should see a component listed for the iOS 7.1 simulator. Click on the download arrow in order for it to be downloaded and installed.
However you will notice that there is no download for the base SDK for 7.1. You will need to manually install it in order for it to be available to xCode 6.4.
You will want to check and confirm what SDKs are actually installed. You can check by opening a terminal on your MAC and then proceeding to the directory /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs.
If you do not see a folder for iPhoneOS7.1.sdk you will want to extract a copy of the SDK into your Xcode SDK directory structure. You could either attempt to copy a version from an install of xCode 5.1 or you can search the web for publicly available copies of the SDK. Here is one I found download here . Once you have the download, copy the SDK folder, iPhoneOS7.1.sdk to the SDKs directory indicated above.
Note: Make sure the permissions are appropriate on the folder. Check the permission on the other SDK folders and replicate both the owner and group if necessary.
Once you have it in place restart/start xCode. You should now be able to select from either the 8.x or 7.1 SDK now when building or running from within xCode.
Comments
Post a Comment