I want to ask that I create an app which is running on latest iOS version. But when I am checking that app on other device which has iOS version 9.3.5 (iPod touch) can be run or not. Because it is showing an error ("The iOS version didn’t install, says not compatible"). Do I need to update my iOS or this is any other issue ?
Have you checked the Deployment Target of your app
It should be below iOS 10.x version in order to make things running below iOS 10 version devices. Make that iOS 9.0 and it will work fine on all iOS 9.x devices.
Related
I have an iPhone 7 (on iOS 10.3.3) and I don't want to update it to iOS 11 but my Xcode version is 9.2 (9C40b). Can I run apps on my iPhone from xcode or do I have to install iOS 11.
No, you do not need to update iOS on your iPhone to use it with Xcode 9.2 (or anything newer).
You just need to ensure that your iOS app has a Deployment Target of iOS 10.3 or earlier so you can run the app on your iPhone.
The Deployment Target defines the earlier version of iOS you wish to support.
Keep this in mind: within certain limits, you can use newer Tools to work with older devices but you can't use older tools with newer devices.
I saw that iOS 11.1 has been officially rolled out but I still see "deployment target" in Xcode to support up to iOS 11.
Does that mean that if I update it to iOS 11.1 I won't be able to test my apps on it? Is that what It means or I interpret it wrong?
So some quick information on deployment targets:
Lets say you have set minimum deployment target to iOS 9. This means your application is compatible for iOS 9 and above devices.
The application won't run on below 9.0 devices but can run on any iOS version greater than iOS 9.0. Article here
I tested this and it DID NOT work unfortunately. I was running the latest Xcode and just updated my phone. You should wait until Xcode officially supports iOS 11.1+ before upgrading.
The iOS 9 (my device iOS) update is not supported by Xcode 6.4 for testing purposes. Is there a way to connect my device to Xcode for testing?
It is showing me these messages:
iPhone may be running a version of iOS that is not supported by this version of Xcode.
Xcode 6.4 doesn't contain iOS 9 SDK, that's why it isn't working. You need to update your Xcode to 7.0 (available on the AppStore)
Xcode 6.4 doesn't support iOS 9, If you want to debug your device then you have to update Xcode. And if you just want to check app in device then create a diawi link and install in phone(which is tedious process).
I have Xcode 5.1 and I've received the code of an app developed for iOS7 (with this version of Xcode) which is said to be compatible with iOS8. I want to test the app in my iOS8 device but when I try to build the code I've received I have no choice to build with iOS8. Should I install Xcode 6 and build with iOS8? or should I build for iOS7 and install in my iOS8 device?
Thanks in advance!
You should use Xcode 6, or 6.1 Beta. Xcode 5 is not for iOS 8 development.
EDIT: But you could always build it for iOS 7 and install it on an iOS 8 device, as you mentioned, as long as the app doesn't need any iOS 8-specific features.
This may seem an odd question but bear with me. I am all excited to try out iOS 7 beta, however I am developing an app that will be complete before iOS 7 comes out to the public.
So can I install iOS 7 on my device, and then develop and publish my app for iOS 6? Or would I need to downgrade to iOS 6 to develop my app and release it in the next few weeks?
I should add I want to do this because I only have one device.
You cannot release an app that has been built, compiled, or created with the pre-release SDKs and Tools. That means you can't release an app built with iOS 7 SDK features in Xcode 5 until Apple gives the green light for submission. (EDIT: iOS 7 is now public, but this will apply to any future betas - including iOS 7.1 and onward).
On the other hand, testing your app on a beta device is OK. It's not a good idea to test your iOS 6 app on iOS 7, but it will work. You can install iOS 7 beta on your device, but first think about your users. You'll want to test your app in the environment that your users will be using it in.
If you do upgrade to iOS 7 on your one and only device, you'll be stuck with the iOS Simulator - which is very very far from recommended. You can't downgrade or restore to an earlier iOS version from iOS 7.
If you are using the beta version of XCode, be sure to set the target to iOS 6, not iOS 7. When you target a version of iOS, that's the minimum version. You can run an app targeted for iOS 6 on iOS 7.
When you target iOS 6, the compiler will prevent you from including features that require iOS 7.
Still, for testing purposes, you'll want to test on a device with the latest released version. iOS 7 may have bug fixes that iOS 6 does not, so your app may run fine on iOS 7 but have bugs when run on iOS 6. Also, there may be performance differences.
You should test on both the simulator and an actual device, however if you want to risk it, the worst that will happen is your app may be rejected.
Theroretically you should not be able to run an app from Xcode 4 on an iOS 7 device. I was able to do this however, but I'm not sure why. Try deploying your app with Xcode 5 and then redeploy it with Xcode 4. In my case Xcode 4 would deploy to an iOS 7 device if the app is already installed (including all profiles).