I have currently installed version of xcode is 3 and iPhone SDK which I am using is 3.1.3. Now what I want is that I just want the Xcode 4 not iOS 4 sdk. That means I just want to upgrade my Xcode to Xcode 4. How to do that and I am offline. So how to upgrade if I do not have internet on my Mac.
If you use iOS 4 SDK you can still compile for 3.1.3 - set the "iOS Deployment Target" in the "Info" of the Targets and the project to 3.1.3.
If you want to upgrade to XCode 4, you have to be a registered developer (it's still in beta, so it's not available to anyone else until final release) and transfer it via a USB stick, CD etc. It's not available through the usual Mac Software Update.
Related
I thinking about port my App to Swift 2 and Xcode 7. But the device simulator only targets iOS 9 and I see no way to download iOS 8.
I have parallel Xcode 6.3 installed. Is there any way to test and debug my app under iOS 8 with the device simulator?
You can download older versions of iOS via Xcode.
Open
Xcode -> Preferences -> Components -> Select
all the iOS versions you want ( iOS 8.4 )
Once downloaded, you can get to it in the
Simulator -> Hardware -> Device
I am using Version 7.3.1 (7D1014)
Xcode release note says below thing,
Simulator
Xcode 7.0 beta does not support iOS 8.4 and earlier simulator
runtimes. (20699475)
Refer this link for more info.
It can be used. You just need to find the file for the 8.x sdk that you want to test on in Xcode 6.x and copy it over to the corresponding Xcode 7 beta folder. You can find the file in this path.
Path: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Xcode will suggest that you fix an error or two, but it should work. Note that when I did it there was still an error and some warnings, and I clicked run anyways and it worked regardless
You may need to click "other" and add "iphoneos8.x" (x is your version number)and if you have it added to the correct location it will work
.
I have OS X Mountain Lion (10.8.5) and Xcode 5.1 already installed on my mac and i can't upgrade my os for now. I need ios 8 sdk in order to publish my app in app store.
How can i install ios 8 sdk on xcode 5?
I have tried copying /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.0/ from another computer but it doesn't work - new sdk is not presented in Build Settings > Base SDK combo box.
Sadly that's not possible: the iOS 8 SDK is only available with Xcode 6, for which you need either Mavericks or Yosemite. Furthermore, since February 1st 2015 you can no longer submit apps to the App Store using Xcode 5: https://developer.apple.com/news/?id=10202014a
If you can't upgrade your current system at the moment, look into Parallels Desktop and install a virtual instance of your Mac from the recovery partition. You can then upgrade the VM and install Xcode 6 there, without having to upgrade your current system.
Alternatively, use ShirtPocket's SuperDuper to clone your current hard disk to an external one, then boot from the external drive and upgrade that to Yosemite and Xcode 6.
I have Xcode 6 installed but realise that I am only able to develop for iOS8. I am aware that this beta development kit is meant for the development of the iOS 8 beta release but I am in a position where I don't have the time yet to develop for it but wish to take advantage of some of Xcode's new features while I am developing for my current iOS 7 apps.
What can I do to get the iOS 7 SDK installed on xcode 6?
Seems like if you symlink the relevant SDK from a previous installation of Xcode to the Xcode 6 Beta directory, Xcode 6 will be able to use it. Assuming you still have Xcode 5.1.1 on your machine, try the following in terminal:
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
This should link the iOS 7 SDK for iPhone (not sim), allowing you to select iOS 7 as the Base SDK in Xcode 6 Beta. If you want to do this for the simulator, replace iPhoneOS.platform with iPhoneSimulator.platform.
NOTE: Just because you have the iOS 7 SDK now doesn't mean it'll build. I'm personally having trouble with the fact that Xcode 6 Beta is using the Apple LLVM 6.0 compiler, which apparently isn't compatible with some of the stuff I'm trying to build.
ref: https://stackoverflow.com/a/11424966/2383003
Just posting so that someone might find it useful: I wanted to debug my app in iPhone running iOS 7.1, in XCode 6.0.1. The previous iOS version was not being listed in the settings page, to choose as base SDK/deployment target. (I'm using OS X 10.10 Yosemite). I installed both XCode 6.0.1 and Xcode 5.0.1 and copied
/Application/XCode501.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
to
/Application/XCode601.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
Now I'm able to run iOS 7 apps from XCode 6.0.1.
I changed the deployment target just fine and installed on my iOS7 iPhone 4s all the same. You can do all your development this way and then use 5.1.1 to make your relevant builds. I wouldn't advice to build apps for production in this beta environment even if you could.
Just repeating Christian's comment (on Ziewvater's answer) so it's more prominent:
What's strange is the fact that after adding the symbolic link to my Xcode folder, I see my device twice with the exact name and with some infos (iOS build number, model, device identifier) in the target selector in the upper left corner of Xcode. Depending on which of the both entries I chose, my app works fine or not, no matter which BASE SDK I chose. ??! Anybody experiencing the same?
This is exactly my experience also! Me and my team were tearing our hair out trying to understand why some builds seemed to be working and others were not.
It looks like Apple must be ignoring the base SDK (or target... or something) when you pick the wrong device from the list.
in Xcode 6.1.1 (Window -> Preferences - Downloads) you can install iOS 7.1 simulator. unfortunately it doesn't install iOS 7.1 SKD. if you set deployment target to 7.1 all builds without any trouble. be worry!!!! it is up to you to check the compatibility with 7.1 (SDK is still 8.1). so or so, all runtime trouble should be seen in simulator. i use this approach to build for my iPhone 4 in swift, where iOS 7.1.2 is the last available. (simply don't use any classes available only for newer devices :-))
We have upgraded to XCode 5 and Xamarin.iOS 7.x, but have one app we are not quite ready to support iOS 7 for yet.
Is there a way to target the iOS 6.0 SDK, and compile the app so that it has the old iOS 6 keyboard, etc.?
We tried changing the settings in iOS Build->SDK Version, and we can change it when targeting the simulator, but the option doesn't exist for AhHoc or AppStore builds.
Any ideas?
Xcode ships with several simulator SDK but only one device SDK. So you need to install an older version of Xcode. E.g. installing Xcode 4.6 will give you the 6.1 SDK).
Both versions can coexists side-by-side if you rename the existing one before installing the 2nd.
Be sure to have XS points to the Xcode you want to use (it's not a project specific setting).
I removed Xcode 4.2 from my system and installed 4.3 from the App Store.
Now when I want to build my app in MonoDevelop it says
The Apple iPhone SDK is not installed.
Using Xcode I can build and run iOS apps just fine.
I tried reinstalling MonoTouch, but it will fail saying XCode is missing.
Any idea how to get this working again?
Xcode 4.3 moved to a different directory, and MonoTouch can't find it anymore.
Yesterday we released a beta update that fixes this - just enable the beta channel in MonoDevelop (Preferences -> Updates) and then update to MonoDevelop (2.8.6.5) and MonoTouch (5.2.5).
Once we've been able to test the changes a bit more, we'll release these packages to the stable channel.