Any way to test apps on iPhone with iOS 8.1 on Xcode 6.2? - ios8.1

I have iPhone with iOS 8.1 on it. I can't update to iOS 8.2, because the latest version is 8.3 and I can't install previous versions. As I can see, iOS 8.1 SDK is missing in Xcode 6.2. Is there any way to run my apps on my iPhone?

My experience (4 years ago) was Apple required you to purchase a 1 year developers license for $99. This will allow you to install your apps on your phone. Not sure if they've changed it or not or if you are having a different issue beyond my knowledge.

Related

Is it possible to install iOS 7 SDK on 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 :-))

Is it possible to install iOS6 SDK on Xcode 6-beta?

I noticed that there are no preview or simulator for iOS6 in Xcode 6-beta, so I was wondering is there any way that I could add it manually ?
No.
Apple only support iOS7 and iOS8, and they're strict with that. As a result, only iOS7/8 simulators are available in Xcode 6.
If you want to run on an older simulator, you need to develop on an older version of XCode.
Not possible. But: you can still test on a iOS 6 device from Xcode 6. I keep an old iPhone 4 for this (look at eBay).
EDIT: there is another way - install Xcode 5 on a virtual machine (e.g. VMWare Fusion) running Mavericks.
iOS6 simulator is available in Xcode5
No, the earliest SDK you can get for Xcode 6 is 7.1. By default, the iOS 7 simulator is not installed but you can install it by going to preferences, then to downloads and installing it from there.
To run iOS 6 applications, try googling around for an earlier Xcode version (late versions of 4) and these should have the simulator!
Hope that helps!

Xamarin.iOS Target iOS 6 SDK

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).

Trying to deploy to iPhone 5 with iOS 6 SDK, on XCode 4.2

I'm running XCode 4.2 on Snow Leopard 10.6.8 on a Dell Mini 1010. So it's a hackintosh. Anyway I already managed to get ios 5.1 SDK installed and I can debug applications on my iPad 1st gen running 5.1 which is great. (Following this method Is it possible to get the iOS 5.1 SDK for Xcode 4.2 on Snow Leopard?)
Now I also installed ios 6 SDK along with the device support files for 6.0. However my iPhone is running 6.1.4 which means I require the 10B350 device support file. Does anyone know where I can get this? My iPhone shows up in the organizer panel with this message "dyld_shared_cache_extract_dylibs failed"
Now I can also develop apps with the iphone 6 sdk, which works fine. And I even have the developer certificate installed on my iPhone 5.
So it seems to be an intitialisation error within xcode?
Help or tips appreciated.
Cheers
Ben

Confused about deploying to ios 5.0, which xcode to use

I want my app to run on iOS 5.0 and all newer versions. Should I do all my development work in Xcode 4.2.1, or use the Xcode 4.5 beta? If I implement maps, then will devices running ios 5.0 show google maps while future devices running ios 6.0 show apple maps?
Thanks for your help.
XCode 4.5 beta is for testing and report bugs to apple, test iOS 6, etc. You cannot submit an app with it.
I'd use Xcode 4.4.1 it's the latest non-beta version.
https://developer.apple.com/xcode/

Resources