I own an iPhone 5s. It is running iOS 12. I can't upgrade it to iOS 13. The problem is that I can't install and test my apps I made in Xcode, because new Xcode requires iOS 13. Is there anyway I can make Xcode be able to install apps on devices running older versions of iOS.
Select the Project, Settings, Info and change iOS Deployment Target to the lowest version you want:
Yes there is! In your project configuration, click on your app in the Targets menu.
Then, under "Deployment Info", you can change the target iOS version for your app.
Related
I downloaded ios 10.3.1 version in xcode 9.4
But I only can select the ios 11 version I already have.
I rebooted OS and restarted Xcode already. I also can see ios 10 simulator when I select "add additional simulators"
There are ios10, 11 simulator both of them. I don't know how to use ios 10 simulators in xcode that I already downloaded.
Change Deployment Target from iOS 11.x to iOS 10.x
(Xcode shows simulator in a device list with iOS version >= Deployment Target.)
If I understand your problem correctly, changing Deployment target should help. It can be found in General section of settings shown when you first launch the app.
To use that the project compatibility should be lesser. That means the Deployment target in your app should be from iOS 10.
Go to project target settings. Deployment target --> 10.x
As the previous answers didn't help me, I'll describe my solution.
The deployment target doesn't always solve the problem, as well as creating a new scheme. The simulators don't appear automatically.
Press Add Additional Simulators
Choose Simulators tab
Create a new device simulator. Choose Device Type and OS Version whichever available
Your simulator should appear
I had Xcode 6.3 beta and iOS 8.3 beta, I updated to the public final versions and now I cannot run anything, getting this error:
No provisioned iOS devices are available with a compatible iOS
version. Connect an iOS device with a recent enough version of iOS to
run your application or choose an iOS simulator as the destination.
I have tried everything other posts have said with no luck (my iPhone is "used for development", Base SDK = latest iOS (iOS 8.3), Xcode 6.3 (6D570), iOS 8.3 (12F70), Deployment target=8.0, deleted derived data, restarted Xcode, opened up iTunes)
Anyone out there having the same problem?
Did you try this one?
For XCode 6.3, go to Menu: Product > Destination > and select your Device name. Though it says your device is ineligible it will allow you to select the device. That's it!!
If your device version is >= target version, the build will work.
Ask yourself:
Is your iPhone updated to 8.3 release (not beta)?
Is your project's Base SDK lower than your device?
It only happens if your Base SDK is less than your device version or if your deployment target is higher than your device version.
Your app should work if Base SDK >= device >= deployment target.
I had this same issue, restarting everything fixed nothing.
On the general tab of the project, select the app target you want to build. Change your Deployment Target to the most recent one (8.3). You should now be able to build for the device. Select your old deployment target and it will still build for the device.
I have Installed Xcode 5. It was just working fine. Now it doesn't show version menu against each simulator.
Before it was displaying all supported iOS versions next to simulator menu.
I want to test my app on different iOS version, how can I change the simulator version.
Just to add, you can actually download old versions of the simulator with Xcode5 itself - just go to preferences and you'll find them under Downloads:.......
No need to download the zip if you only wanted to change the deployment target.
Here are some screenshots.
In Xcode 5, Preferences -> Downloads -> Components to install additional simulators (if you have not done so already).
Possible issues:
Set the deployment target. If the target is set to iOS 7.0 then you cannot choose
between different simulators. If the target is set to iOS 6 then you should be able
to choose between the simulators.
Check in the Download preferences if iOS 6 Simulator is installed (you may have to
re-install it after upgrading to Xcode 5).
Xcode on Mavericks does not support the iOS 5 Simulator anymore.
Go to xcode click show package content and see if simulator sdk's are there at path "/Applications/Xcode_5.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs" if not either download them or copy paste from previous xCode from same path of old xcode
Restart xCode.
Check your Base SDK setting in project setting. Set to lower version and you should be able to see all possible simulator configuration.
Need to to test my app on iphone 4 IOS 5.1.1. The provisioning profiles are ok. I get
"Cannot run using the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version or..."
It may be iOS Version problem , I also encountered same problem Before and what i done is Just changed my Deployment target to Device OS version. To make This Use following Method.
Go to Target-->Summary-->Deployment Target -->Select the Version.
and Project-->info-->iOS Deployment target -->Select your Version.
Till yesterday only I was able to test my applications both on iPhone simulator as well as iPad simulator. But now I can run the application only on iPad simulator. It is working fine on iPad simulator. But if I select iPhone simulator and try to run the application, the iPhone simulator does not even show up. I am not able to understand the reason behind. I have checked all the settings repeatedly again and again.
Can please some one guide me in the right direction?
Make sure your project's Build Settings has iPhone/iPad selected for the Targeted Device Family setting under the Deployment section.
Here's what happened to me ... when I updated to the latest version of XCode (4.3.2) I didn't bother to uninstall the previous version. I mistakenly opened my iOS 5.1 targeted project in the older version of XCode that does not know about 5.1 and as a result the simulator was not available. So i would check for the following:
See which version of XCode you're currently running
Try checking your iOS Deployment Target ... (Targets -> Deployment). If iOS 5.1 is selected change it to iOS 5.0 (the simulator will show up immediately)
Reference:
Xcode 4 - IOS - Simulator not available as build target
change iOS Deployment Target as simulator iOS in build setting like simulator OS is 7.0 and iOS Deployment Target is 7.1 so simulator is not display