OK, as it turns out, I did not explain my question very well at all. here is a complete re-write.
I have Xcode 4/iOS SDK 6.1 installed. I want to install and use Xcode 5 but want to use iOS6.1 SDK. I know that I can download iOS6.1 SDK from Xcode 5. But, I want to avoid that since the iOS 6.1 is already in my hard drive. Is there any way I can avoid having to download iOS6.1 SDK again.
You download Xcode 5 from the Appstore.
In preferences / Download you can download the iOS 6.0 and 6.1 Simulator
In Project Info you set the iOS Development Target to 6.1 and in the Storyboard you can chose as which iOS (6.1 or 7.0) the Views should be displayed.
EDIT: Also, Xcode5 supports earlier iOS with the same files you already have. There is no need to separate iOS 7 from the earlier Versions.
No need. Xcode 5 supports iOS 6 integration. For more info about this, look at this post: Can one develop for iOS 6 using XCode 5 on Mavericks (OS X 10.9)?
EDIT
Here is how iOS 6 SDK can be installed in Xcode 5 (requires Xcode 4 to get the SDK)
In finder, go to Applications, and find Xcode (4)
Right Click into Show package Contents
Navigate to Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
Copy iPhoneOS6.1.sdk
Once you download/update-to Xcode 5, go into the same folder, where you should see iPhoneOS7.0.sdk
Paste the SDK in this folder
Fore more information on setting up Xcode 5 for iOS 6, look here: Is it possible to install iOS 6 SDK on Xcode 5?
Although this question isn't really meant for SO (More for Superuser),
Can I have multiple Xcode versions installed?
how to install two versions of xcode
This should answer your question. (The installer gives you the option of where to install it; you can simply choose a different directory)
Related
I have code which was initially developed on Xcode 3.2. It was then later update to become compatible with ios 7. But now when I run that code with Xcode 9 GM, it run alright on any iOS 10.x device.
But crash on iOS 11 device with following error detail:
Plus: When i open this project with Xcode 9 GM, Xcode doesn't show iPhone X simulator.
I think you have some old static libraries. iOS 11 supports only 64-bit libraries.
And also you can check Deployment target of your app. Maybe it's too low (I think ios7 deployment target is not supported now).
I think your app is running on 32-bit
As a reminder, new iOS apps and updates submitted to the App Store must support 64-bit. Support for 32-bit apps is not available in iOS 11 and all 32-bit apps previously installed on a user’s device will not launch
64-bit Apps on iOS 11
I don't know what is you exact scenario but possibilities of crash with payload could be following. Hope anyone of below all will work for you.
Please Try Following.
Disable "Enable guard Malloc" from diagnostics.
OR
You Can do Following:
delete all certificates from keychain.
Quit xcode
Delete xcode derivedData and delete all provison profiles
Restart mechine
Download latest certifcates and provison profile from Member Center
Click on certifcate i will install in keychain access.your key chain access should like this
OR
if you are using custom framworks, you need to put it inside the Embedded Binaries section located in the Xcode project under the tab Target / General.
Hi I am currently using Xcode 7.3.1 on macOS Sierra. Due to the issue ERROR ITMS 90167. I can't upload my archive using Xcode 7.3.1. So, It's time to upgrade Xcode 8.
But, unfortunately, I can't use Xcode 8 to Develop application due to migration problem on my previous project which was big. All I want is built in Application Loader from Xcode 8. And I need to do some migration on Xcode 8 while I am developing my current app from 7.3.1
And I did download Xcode 8 from Developer Program => Xcode8.xip
Before I install this version, I changed my previous Xcode 7.3.1 to
//Application/Xcode7.3.1.app
inorder to protect overwriting this version.
When I paste Xcode 8(Xcode.app) which i extract from .xip to Application Folder, I open it after its done installing after passing "Installing Component".
Then I open it,it worked (Xcode.app) = Xcode 8.
Then when I open my 7.3.1(Xcode7.3.1.app), it stop working means can't open and show me crash message every time I opened it until I changed my Xcode 8 app title to
//Application/Xcode8.app
So, there will be two Xcode Version on Application Folder. Then when I open Xcode 8(Xcode8.app), it won't let me open and show me error alert again.But, Xcode 7.3.1(Xcode7.3.1.app) come back to live and prompt me to install .git Command Line Tools then I can work back using Xcode 7.3.1.
But then, my problem is I can't open or use Xcode 8 anymore even I change my Xcode app name to different name.Was it "Command Line Tools" causing the problem?
I really need solution to solve this case because I want to use both Xcode Version on my mac.Any Help?
Download Xcode DMG files. I have Xcode 7.3.1 in my Applications folder and Xcode 8.0 in my Desktop folder. I use both Xcode very often.
If you already have two Xcode delete one, delete Xcode 8.0. Or delete both of them if you want. And you can download Xcode 8.0 from developer portal or update to macOS Sierra and download the AppStore version of Xcode 8.0. But then you can't download Xcode 7.3.1, you will not get the DMG, I don't think that you can download the DMG from developer portal for Xcode 7.3.1.
So in my opinion the best option is that. delete Xcode 8.0 from your Applications folder. And download Xcode 8.0 DMG from developer portal and put in some other folder not in Applications folder.
I have both the versions of Xcode 7.3 and 8.0. I have installed Xcode 8.0 from dmg file without changing anything in the applications folder for Xcode 7.3.1.
After installation of Xcode 8.0, I observed application folder has only one Xcode version so to open projects in different version I do something like in the image
This works just fine.
Ive upgraded the version of Xcode to 7 (Release version).
Is it possible to have Xcode 7 and Xcode 6 installed side by side?
I need to support users on the iOS 7.0 platform but for testing I do not have extra devices with me with iOS 7.0 installed. If the answer to the previous question is NO, is there a way to install iOS 7.0 simulators in Xcode 7
Follow up question: If I open a project in Xcode 7 and then open it Xcode 6 will there be any errors in the project files/storyboards?
Yes, you can have multiple copies of Xcode.app installed on the same computer and switch between them. You may run into issues if you try to use both at the same time, but as long as you quit one before using the other, you should be fine.
There is no way to install the iOS 7.0 Simulator with Xcode 7.0. The iOS 7.0 Simulator Runtime is not supported on Yosemite and newer host OS versions, and Xcode 7.0 is only supported on Yosemite and later. You will need to use a Mavericks host OS in order to use the iOS 7.0 Simulator Runtime. If you would be satisfied with the iOS 7.1 Simulator Runtime, that is still supported on Yosemite (but not El Capitan) when using Xcode 6.x (but not Xcode 7.0).
In regards to opening your project in different Xcode versions, there shouldn't be any problems like that.
For your first question i think this link can be help full,please check
Can Xcode 6 and Xcode 5 coexist on the same computer?
I have xCode 6.4 http://developer.apple.com/devcenter/download.action?path=/Developer_Tools/Xcode_6.4/Xcode_6.4.dmg and xCode 7 side by side, just download and install "xCode 2"
Apple has now announced Xcode 6 (and iOS 8). I currently have Mavericks on my Mac (and am not planning to upgrade to Yosemite yet), and am wondering if I can download the Xcode 6 dev preview, while still maintaining my current version of Xcode 5. This is so that I can use the new Xcode 6 features, while still being able to work on, and upload, my current applications. Is that possible?
Also, if I update my phone to iOS 8 Beta, will I be able to run apps from Xcode 5, or only Xcode 6?
Answers would be hugely appreciated! Thanks :)
Even I use Mavericks, I installed Xcode 6. In order to be sure about my maintenance projects, I've also downloaded Xcode5.1.1 from Apple developer portal, copied it into my Desktop, renamed it as XCode 5.1.1 and then moved it to my applications folder.
I have both versions at the moment without any issues and can also select the version of Xcode while opening an existing Xcode project by using open with menu feature.
I hope this helps...
Xcode 6 Beta Release Notes
Xcode 6 Beta requires a Mac running OS X version 10.9.3 (or later) or 10.10.
I think its possible that you can do all things you was able to do with Xcode 5 but I will tell you when my xcode 6 download is finished.
You may install XCode 6 Beta on OS X 10.9.3, and I think that you'll need XCode 6 in order to run iOS8 apps.
One thing that you didn't ask, but that you should keep in mind (as you mentioned your phone):
Devices updated to iOS 8 beta can not be restored to earlier versions
of iOS.
i've installed Xcode6 in Mavericks and iOS simulator crash with message : Unable to boot the iOS Simulator. :-(
You can download the preview of Xcode 6 and use your existing installed Xcode 5 side by side without affecting anything you're doing. Just make sure if you click on a project file that you open it in the correct version of Xcode.
Download xcode dmg file from Apple's developer site. Install it in a different location other than the Applications folder. There you go !!
i changed the base sdk for iOS 6.1 in xcode 5 .
When i simulate my project on a iOS 6.1 simulator or on a iOS 6.1 device
all works fine. But when i build a ipa and install it on a iOS 7 device
the device use the iOS 7 sdk and my hole app looks weird. I changed my base
sdk for iOS 6.1, so why use my device the iOS 7 sdk?
I read that iOS 7 use the iOS 6.1 sdk for old published apps.
What do i have to do that iOS 7 also do that for my app?
My only idea is to install xcode 4 again...
I have experienced the same problem - unfortunately only discovered AFTER submitting to the app store and the app being approved and released, causing all sorts of mayhem due to interface glitches.
The issue occurs due to a bug in XCode 5 (including in XCode 5.0.2 it seems) that is triggered when you install older SDKs.
When you have multiple SDKs installed, you will see that when you connect your device to XCode, there are multiple entries for your device, with no way to tell them apart. But it appears that the TOP entry is for the OLDEST SDK you have installed, the BOTTOM one for the NEWEST SDK.
I have found that if I first use "Test" project option to run the app on the device with the SDK I want to use (in my case the top entry, which is for iOS6.1 SDK), then that is the SDK that will subsequently be used when I archive the app.
You can have both xcode 5 and 4.6.3 installed.
Also a lot of post say that in the simulator it look iOS7 but on device it will look iOS6.1 if you set the base sdk to 6.1
see:
Is it possible to install iOS 6 SDK on Xcode 5?
Do apple allow custom iOS 5/6 style UI for iOS7?