Not able to enable Development mode on iOS 13 - ios

Downloaded beta iOS 13 on iPhone X and iPhone 6s but none of the devices are working in development mode.
While Running project the Xcode gave me errorNot able to enable Development Mode
Using Xcode 10.1 and added Developer disk image for iOS 13
Already tried restarting Xcode, restarting the device and even restarting Mac several times but nothing worked.

You have to download xcode 11 to support iOS13.
Xcode 10.1 support for iOS 12.1.
See this documentation
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_1_release_notes?language=objc

Xcode 10.1 also supports iOS 13 devices. The only thing you need is Genuine develope disk image.
Downloaded Xcode 11 Beta and then from Xcode Beta I took Developer disk image for iOS 13 which resolves my problem.
Path:
Xcode-Beta-> Show Package Content > developer > Platform > iPhoneOS.platform > DeviceSupport

Related

Could not locate device support files in Xcode [duplicate]

This question already has answers here:
How to fix Xcode error: Could not locate device support files on iPhone with Xcode
(8 answers)
Closed 4 years ago.
I got following error in Xcode when run my app in my Device. Xcode Version is 10.01, My Device iOS Version 12.2 (iPhone 5S).
Could not locate device support files.
You need to update your Xcode to the latest version. You can use this link.
OR
You can download latest iOS device support file from this github repository and copy the folder to this path of your current Xcode:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Now after restarting your Xcode, it should work fine.
You can get the latest device support files here:
iOS 13.6
iOS 14.0 (From Xcode 12 beta 4)
for iOS 12.2 you need Xcode 10.2 beta 2 and if you don't want to download new xcode then you need to manually download device support files.
You can download 12.2 simulator from here and paste this folder at this path.
Donload simulator : Simulators
Simulator Path :
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
After doing this you will able to run in your 12.2 device.
Well, you should update your Xcode to latest version to support running it on your iOS Device.
From overView here, it supports upto iOS 12.1:
Xcode 10.1 includes SDKs for iOS 12.1, watchOS 5.1, macOS 10.14.1, and tvOS 12.1. Xcode 10.1 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 10.1 requires a Mac running macOS 10.13.6 or later.
You can read release not here and can download Xcode 10.2 beta version here
Hope it helps.

This iPhone is running iOS 12.0 (16A366), which may not be supported by this version of Xcode

I am using Xcode (Version 9.0 (9A235)), and when I tried to run my app on my iPhone, I am getting this error.
This iPhone is running iOS 12.0 (16A366), which may not be supported by this version of Xcode.
I can't update my Xcode due to an incompatible version of macOS.
Any other solution?
You need to use xcode 10 for ios version 12.0.
Download files based in your iPhone Model IN HERE
1 - Open directory:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
3 - Create new folder "12.0 (16A366)" depends on what exactly are you missing
4 - Paste the OTA Files Uncompressed
6 - Restart Xcode
iOS 12 is only supported by the beta of Xcode 10 or higher.
If you want to use your iPhone 8 with this iOS version (NOT RECOMMENDED) with your Xcode 9.4 you can try to download the last beta of Xcode 10 and after connecting the iPhone to the mac go to this folder:
/Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
You can see the iOS version folder of the iPhone, copy and past it to the same location in your Xcode 9.4 folder.
After this you should be able to deploy to your iPhone 8.
Download (16A366) file from this link and paste at /Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Link to Download file (16A366)

Using iOS8 and later devices with Xcode

Using iOS8 and later devices with Xcode?
Well you have two options:
1)Straightforward, download Xcode 9 and you are good to go.
2) You need to put DeveloperDiskImage of iOS 11 in
/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Put iOS 11 DiskImage
and you can find this diskImage in Xcode9 at same path in case you want to continue with XCode8
Path of iOS 11 Disk Image:
~/Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0
NOTE: Xcode 9.0 requires a Mac running macOS Sierra 10.12.4 or later.
Up to iOS 12.1 is available
You can download DeveloperDiskImage.dmg here or here
Steps:
1.Download Zip file and extract.
2.Click on "Finder" in MAC OS
3.Click on "Go to Folder"
4.Paste /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport . Otherwise go to Applications > Right Click on Xcode > Show Package Contents and follow the directories above.
5.Reboot Device + Xcode + Mac
One of the reasons why software no longer installs, such as you can't install Sierra or Xcode 9 has more to do with Apple making your computer obsolete.
Here is a recent (2016 Addition to machines no longer supported by Apple), and there are so surprises there.
I have a perfectly running iMac Early 2008, and 2 years ago it was placed on the obsolete list. I can no longer update certain programs, such as install Sierra or Xcode 9.2.
There are some very disgruntled people who purchased MacBooks and Apple made them obsolete without even introducing an upgraded machine to replace it.
Now, if I want to have my Apps run on the new iOS 11 OS, I need to replace a perfectly good and working machine. That is not right.
You can't run ios 11 on Xcode 8.2
You need Xcode 9 beta
https://developer.apple.com/download/
Xcode 9 beta requires a Mac running macOS 10.12.4 or later. Xcode 9
beta includes SDKs for iOS 11, watchOS 4, macOS 10.13, and tvOS 11
.

installing ios 7 on xcode 6.1 on yosemite

I have search a lot and comes up with lot's of different solutions and opinions which I got really confused .
I have xcode 6.1 installed with ios 8.1 simulator and I'm trying to test my apps on ios 7 . There are so many different opinions about installing ios 7 . Some says that ios 7 is not working on Yosemite and some says otherwise. also I have tried to install ios 7 from preference>devices but It got stuck and there is no progress at all with downloading.
Can anybody helps me please?Is it possible to run ios 7 on xcode 6.1 and yosemite?If so , how should I download ios 7 simulator for xcode 6.1 without using the xcode download section?maybe I can extract it from older version of xcode or download it from another source.Does upgrading to higher version of xcode helps?
Thanks
Open at Xcode Window menu, then Devices and there you can add desired simulator using little + button at the left bottom corner
The iOS 7.0 Simulator Runtime is not supported on OS X Yosemite.
The iOS 7.1 Simulator Runtime is supported on OS X Yosemite.
Install Xcode 6.2 and navigate to Xcode -> Preferences -> Downloads, and you will be given the option to install the iOS 7.1 Simulator Runtime. It will install below /Library/Developer/CoreSimulator.
Note that some versions of Xcode have a bug where the download will not occur if your laptop is running on battery. I do not know of the top of my head which versions of Xcode are affected. If the download progress isn't moving forward, go connect to AC.
Of course you can run iOS 7 on Xcode 6 or higher version. In order to download the iOS 7 follow the blow steps
Xcode > Preferences > Downloads > Choose the iOS 7 simulator
UPDATE
If you want to extract the iOS sdks from older version go to the terminal and follow below and then restart the xCode.
cp -r SOURCE_PATH DESTINATION_PATH
for example
cp -r /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/

iOS 8 Simulators for Xcode 5

Is it possible to build using Xcode 5 for iOS 8 simulators?
Specifically looking to build with Xcode 5 because we are close to submitting an app but we'd like to make best efforts with iOS 8. We are able to deploy to an iOS 8 device but we do not have enough devices to cover the possibilities.
No, you cannot install the iOS 8 simulator on Xcode 5. If you want to deploy to both iOS 8 and 7, you can use Xcode 6 and build against the iOS 8 SDK (it will run on both 7 and 8).
I'm using the following workaround:
Build and run on Xcode 6.
Find the installed app in the Xcode 6's simulator directory: ~/Library/Developer/CoreSimulator/Devices/<SOME-DEVICE-UDID>/data/Applications/<SOME-APP-UUID>.
Make a note of this path and quit.
Build and run on Xcode 5.
Find the installed app in ~/Library/Application\ Support/iPhone\ Simulator/7.1-64/Applications/<SOME-APP-UUID>.
Move (or copy) the Xcode 5 app to the Xcode 6 location: rm -r <first-path>; cp -r <second-path> <first-path>
Start the Xcode 6 Simulator (from the Xcode 6 -> Open Developer Tool menu).
From the simulator's Springboard start the app.
You can test the app in iOS 8 but you cannot (easily) debug like this.
I was able to check iOS 8 compatibility by compiling an ad-hoc beta version and installing that via iTunes on my iOS 8 iPad. Not as easy as regular compiles direct from xcode but good enough to check the final master before submitting for approval.

Resources