I run my App to my device and get this error.
This is my device version.
macOS Version 12.6.1 (Build 21G217)
Xcode 14.1 (21534.1) (Build 14B47b)
iPadOS 16.2
I also try to add --generate-entitlement-der in Other Code Signin Flags.
And not work for me.
Is my MacOS version or Xcode version too low?
Related
I have a question about install simulator.
I download the iOS 11.3 & 11.2 , but I can't chose iOS version about simulator.
I want to build my app in these iOS version.
What's wrong with my step.
ps: MacOS Big Sur
Goal:
Build SidebarListStyle on Catalyst
According to Apple, SidebarListStyle is available in Mac Catalyst 14.0+
https://developer.apple.com/documentation/swiftui/sidebarliststyle
What I get:
'SidebarListStyle' is unavailable in iOS
/SwiftUI.SidebarListStyle:5:15: 'SidebarListStyle' has been explicitly marked unavailable here
My setup:
iOS Deployment target: 14.1
Xcode Version 12.1 (12A7403)
macOS Big Sur 11.0 Beta (20A5395g)
Anyone had same issue?
You need a version of the Xcode Beta from the Developer Site.
The regular version from the App Store does not have the correct SDK.
Background on problem:
I have an iPhone 6s that has updated itself to iOS 13.4. Before the iOS update, I could code + run my app on the device from Xcode, great.
Now I can't run my app from Xcode on the device to test my code, as it says:
Xcode could not locate device support files
This iPhone 6s is running iOS 13.4 (17E255), which may not be supported by this version of Xcode. An updated version of Xcode may be found on the App Store or at developer.apple.com.
So I tried installing the latest Xcode (11.4) which now says I have to update my whole OS to Catalina.
I don't want to do this as my system is working fine and I have heard bad things about that release.
Question:
Is there a way I can get Xcode building to my iPhone without updating my whole OS and potentially screwing up my whole machine?
You cannot run Xcode 11.4 on Mojave but you can add support for iOS 13.4
Download the 13.4 image from this repo
Quit Xcode
Unzip the archive and move the folder into /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Launch Xcode
Consider that this way adds only the support for iOS 13.4, nothing else.
Update: This does not work with iOS 14 because iOS 14 requires Xcode 12.
Here's an alternative solution that doesn't require downloading files from an untrusted source:
Install the latest release of Xcode that runs on Mojave (currently Xcode 11.3.1). It can be downloaded from Apple's developer pages.
From the same page, download a release of Xcode that supports iOS 13.4 (for example Xcode 11.4.1). Unzip it, rename it to "Xcode-11.4.1.app" and move it to the Applications folder, but don't run it.
Add a symbolic link for iOS 13.4 from the DeviceSupport folder in Xcode 11.4.1 to Xcode 11.3.1, as described in Peter Steinberger's Gist.
If you use the versions used in this answer, the command to add the symbolic link would be
sudo ln -s /Applications/Xcode-11.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.4 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
You can run Xcode 11.4 - 11.7 on your Mac which is running 10.14.
Download Xcode 11.4 ~ 11.7 from https://developer.apple.com/download/
Extract the .xip file, and you will get Xcode.app
Modify LSMinimumSystemVersion in Xcode.app/Contents/Info.plist from 10.15.x to 10.14
Now you can use Xcode 11.4 ~ 11.7 without upgrading to Catalina.
However, this trick doesn't work for Xcode 12, which requires some frameworks that do not exists in macOS Mojave.
My Apple TV 4K was running tvOS 13.3 and I upgraded to 13.4 which required that I use this technique to keep working with Xcode 11.3.1.
What is odd is that in the DeviceSupport folder, Xcode 11.3.1 only ships with tvOS up to 13.2. So how did it ever work with a hardware device running 13.3? I guess 13.2 and 13.3 are close enough that 13.2 still works.
13.4 does not work out of the box, so I copied both 13.3 and 13.4 from the Xcode 11.4.1 app into my 11.3.1 app. All is well again.
You can run Xcode 11.4 - 11.7 on your Mac which is running 10.14.
Download Xcode 11.4 ~ 11.7 from https://developer.apple.com/download/
Extract the .xip file, and you will get Xcode.app
Modify LSMinimumSystemVersion in Xcode.app/Contents/Info.plist from 10.15.x to 10.14.6
Now you can use Xcode 11.4 ~ 11.7 without upgrading to Catalina.
However, this trick doesn't work for Xcode 12.
I tried this trick on my mac mojave 10.4.6
I'm developing and iOS app with iOS 9 support, but with Xcode 11 update I'm missing the possibility to add / install iOS 9 simulator.
Is there any chance to have iOS 9.x simulator in Xcode 11?
It seems iOS 9 simulator is supported by Xcode 11, but only on macOS 10.14 Mojave. After upgrade to macOS 10.15 Catalina, this simulator is not supported any more.
Though I didn't find confirmation of this in any release notes. The only acknowledgment I found is this tweet by Apple engineer: https://twitter.com/xenadu02/status/1140093901438689280?lang=en
I tried installing Xcode 10.1 on my Mac, but it also did not work for iOS9, i suspect it has to do with Apple dropping support for 32 bit applications (like iOS9)
iOS 9.3 (9.3 - 13E233) - com.apple.CoreSimulator.SimRuntime.iOS-9-3 (unavailable, The iOS 9.3 simulator runtime is not supported on hosts after macOS 10.14.99.) (unavailable, The iOS 9.3 simulator runtime is not supported on hosts after macOS 10.14.99.)
I've got macOS Catalina 10.15.5 currently installed and the only solution I found to test my app on iOS 9 simulator it's described in the following steps:
create a virtual machine with macOS Mojave 10.14.4 (following steps are done into the virtual machine)
install Xcode 10.2.1
Download and install the simulators you need from Preferences/Components
install Xcode 11
Now you should be able to test your app on iOS 9... kind of
iOS 9.0 is not supported by Xcode 11.
Jayaraj M, it's not a true:
Xcode 11 is available in the Mac App Store and includes SDKs for iOS
13, macOS Catalina 10.15, watchOS 6, and tvOS 13. Xcode 11 supports
development for devices running iOS 13.1. Xcode 11 supports on-device
debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and
later. Xcode 11 requires a Mac running macOS Mojave 10.14.4 or later.
https://developer.apple.com/documentation/xcode_release_notes/xcode_11_release_notes
I just updated my phone to 11.0.3
I'm trying to test my app on the phone but its stating :
This iPhone 5s (Model A1457, A1518, A1528, A1530) is running iOS 11.0.3 (15A432), which may not be supported by this version of Xcode.
I checked the app store if there was a new version of xcode but it turned out that I had the latest one installed
The current version of Xcode in AppStore is 9.0.1. The Xcode 8.3.3 does not support iOS 11.0.3.
Do not forget to update your macOS to the latest version.
The latest version of XCode is 9.0 and it can be downloaded from MacOS Sierra 10.12.6 up. So you need to updated MacOS first, then download the new XCode 9, then you'll be able to use your phone for debug