Getting this error for Catalyst:
Cannot find 'Label' in scope - error for Catalyst
My setup: iOS Deployment target: 14.1 Xcode Version 12.1 (12A7403) macOS Big Sur 11.0 Beta (20A5395g)
Anyone had same issue?
Related
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?
I get to here by clicking on the simulator drop-down at the top, clicking Add Additional Simulators, going to the simulators tab, and clicking the plus in the bottom left corner.
But if I click create, this happens.
If I try to download an old runtime like iOS 11.4, it does not show up in the OS Version list like it used to. Does anybody know if something has changed since Xcode 12.5.1 and MacOS 11? Thanks for any advice.
If you run the command xcrun simctl list runtimes in Teerminal you will see an output similar to this:
== Runtimes ==
iOS 11.4 (11.4 - 15F79) - com.apple.CoreSimulator.SimRuntime.iOS-11-4 (unavailable, The iOS 11.4 simulator runtime is not supported on hosts after macOS 11.99.0.)
iOS 12.0 (12.0 - 16A366) - com.apple.CoreSimulator.SimRuntime.iOS-12-0 (unavailable, The iOS 12.0 simulator runtime is not supported on hosts after macOS 11.99.0.)
iOS 15.2 (15.2 - 19C51) - com.apple.CoreSimulator.SimRuntime.iOS-15-2
tvOS 15.2 (15.2 - 19K50) - com.apple.CoreSimulator.SimRuntime.tvOS-15-2
watchOS 8.3 (8.3 - 19S51) - com.apple.CoreSimulator.SimRuntime.watchOS-8-3
Your output may be different depending on the simulators you have installed on your system.
As it appears, some versions of iOS are not compatible with macOS 12+.
Even if you try to do it from Terminal, as such:
xcrun simctl create 'iPhone 5s (12.0)' com.apple.CoreSimulator.SimDeviceType.iPhone-5s com.apple.CoreSimulator.SimRuntime.iOS-12-0
You will get an error like:
Unable to create a device for device type: iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s), runtime: iOS 12.0 (12.0 - 16A366) - com.apple.CoreSimulator.SimRuntime.iOS-12-0 (unavailable, The iOS 12.0 simulator runtime is not supported on hosts after macOS 11.99.0.)
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=401):
The iOS 12.0 simulator runtime is not available.
The iOS 12.0 simulator runtime is not supported on hosts after macOS 11.99.0.
The iOS 12.0 simulator runtime is not supported on macOS 12.0.1
I have yet to find a list of which iOS simulators are compatible, nor a workaround.
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.
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'm using Titanium SDK 3.1.3, XCode 5, and have simulators for both iOS 6.1 and iOS 7.
I'm trying to build an iOS 6.1 app in the simulator via the Titanium CLI but I get the following error:
[ERROR] Invalid --ios-version value '6.1'
Accepted values:
7.0
Which is odd because the release notes for the SDK says "You will still be able to compile iOS 6 apps with Xcode 5. Additionally, Xcode 5.0 requires Mac OS X 10.8.4 or later."
Thanks in advance for your inputs.
My bad — a proper SDK was missing inside Xcode's folders:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/iPhoneOS6.1.sdk