SidebarListStyle on Catalyst - ios14

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.

Related

Xcode 11.3 cannot set target for iOS 13.3, i.e. the option doesn't exist

I upgraded to Xcode 11.3 and Catalina 10.15.2 recently. The release note stated
Xcode 11.3 includes SDKs for iOS 13.3
However, the iOS 13.3 deployment target, as well as the simulator, doesn't exist.
Edit:
The iOS 13.3 deployment target doesn't exist.
Is it a bug? Or a problem of my installation? Is there a workaround?
Edit: A Link to the apple developer forum Xcode 11.3: can't select deployment target 13.3 https://forums.developer.apple.com/thread/126948
Additional screenshot:
I think you're right (even though I didn't believe it at first). When you look inside Xcode, the only SDK is iOS 13.2.
They didn't include the iOS 13.3 SDK even though the release notes claim that they did.
If you are on Catalina download Xcode Beta11.4, it supports 13.3.1
If you are on Mojave you will not be able to install Xcode Beta11.4 but there's still a way.
You can extract the DeviceSupport + SDK files from Beta11.4 copy them in Xcode 11.3
Do not forget the SDK files, without it it didn't work for me.
-M

App archived with Xcode 11.2 (11B52) rejected: ITMS-90534: Invalid Toolchain

I have installed both Catalina and Xcode 11 from store and they are up to date:
Catalina: 10.15.1 (19B88)
Xcode: 11.2 (11B52)
Yesterday I have uploaded a new binary using fastlane. Today I got this message from Apple:
Dear Developer,
We identified one or more issues with a recent submission for App
Store review for your app, "Gözen Security" 7.3.2 (67). Please correct
the following issues, then upload again.
ITMS-90534: Invalid Toolchain - Your app was built with an unsupported
version of Xcode or SDK. If you plan to submit this build to the App
Store, make sure you are using the GM version of Xcode 10.1 and the
SDK for iOS 12.1 and watchOS 5.1, Xcode 7.1 and the SDK for tvOS 9, or
Xcode 6 and the SDK for macOS 10.9 or later. If you are using an Xcode
beta version to test your app, make sure you are using the latest
supported version. For more information about supported beta versions,
view the App Store Connect What's New page
(https://developer.apple.com/app-store-connect/whats-new/).
Best regards,
The App Store Team
Since Catalina and Xcode 11 are officially released why Apple still want me to use Xcode 10 and iOS 12?
Xcode was updated to 11.2.1 version. Builds made in Xcode ver 11.2 are not valid anymore. If you do not see the update in the Mac App Store then go to your developer account and download new Xcode manually.
Xcode 11.2 is deprecated by Apple on November 5, 2019
Always working workaround (Manual download)
Download the xip file from here
Also:
Latest Release version (Xcode 11.2.1)
or
Latest Beta version (Xcode 11.3 Beta)
or
Any version you need. And all other downloadable contents
Then extract and move it where you like.
You can find all workaround histry of the issue here.

How to install iOS 9.x Simulator on Xcode 11?

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

What versions of iOS are supported by Xamarin.iOS 10.14 / .NET Standard 2.0?

What is the oldest version of iOS that I can write code for using .NET Standard 2.0 which, according to the documentation needs Xamarin.iOS 10.14 which, according to its documentation needs macOS High Sierra to code. But I can't find which version of iOS can we develop for, there.
EDIT
I'm not asking if I can code for iOS 11 with it. I'm asking about iOS 7, 6, 5, ...
From Xamarin.iOS 10.14 release notes:
Requirements
The latest features and API requires Xcode 8.3 and the bundled iOS, tvOS and watchOS SDKs;
Apple Xcode 8.3 requires a Mac running OSX 10.12 (Sierra) or newer;
To check what iOS simulator version can be downloaded in Xcode open Xcode > Preferences > Components
With Xcode Version 8.3 the oldest iOS simulator listed is iOS 8.1 Simulator:
Lowest deployment target in Xcode 8.3 is 8.0:
The deployment target specifies the lowest operating system version that your app can run on.
See also Xamarin System Requirements, Xamarin.iOS Installation and Xcode Release Notes.
Lowest deployment target in Visual Studio 2017 15.6.0 is 6.0:
The default installed version of Xamarin.iOS in Visual Studio 2017 version 15.6
is Xamarin.iOS 11.8.

This iPhone 5s is running iOS 11.0.3 , which may not be supported by this version of Xcode

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

Resources