Xamarin iOS support for Xcode 11.2.1 GM - xamarin

After I compile my XamariniOS application and try to distribute it from Xcode 11.2.1 I still get the error that my tools is not compatible and I need to upgrade to 11.2.1
I re-installed the Xcode tools as well from the command line.

Existing tools work but need to update the deployment target from 9.0 to minimum 12.1

Related

SDK Version Issue.This app was built with the iOS 14.5 SDK

ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS 14.5 SDK. All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, included in Xcode 13 or later.
My current version is macOs Big Sur version(11.4)
and my xcode version(12.5.1)
You need XCode 13 to use iOS 15 SDK. Simply update your XCode and MacOS (if necessary), then build the app again.
After updating XCode, your iOS SDK will be automatically updated.
Instruction for Older macOS:
Use this patch and upgrade your macOS https://github.com/Ben216k/Patched-Sur
After the upgrade, you can install XCode 13 on your older mac.
Here you can see all the supported mac lists: https://bensova.gitbook.io/big-sur/supported-macs
Below are steps I followed to solve the same issue in the same context:
Upgrade macOs Big Sur -> macOs Monterey v12.4
Update Xcode 12.x -> Xcode 13.x or later
Note: Upgrade could take some minutes. Hence, be patient

Your Xcode version may be too old for your iOS version

I have updated my phone's OS version to iOS 14 and spent today updating Xcode to version 12, yet when I try to build my Flutter app on my iPhone 11 - iOS 14 through Android Studio, it gives me this error:
Your Xcode version may be too old for your iOS version.
═══════════════════════════════════════════════════════════════════════════════════
2020-09-18 19:14:26.576 ios-deploy[30916:201883] [ !! ] Error 0xe8000022: The service is invalid. AMDeviceSecureStartService(device, CFSTR("com.apple.debugserver"), NULL, &con)
Could not run build/ios/iphoneos/Runner.app on 00008030-00012C200C45802E.
Try launching Xcode and selecting "Product > Run" to fix the problem:
open ios/Runner.xcworkspace
Error launching application on Azheen’s.
This problem is somewhat confusing, I got the same error with Xcode 12.0.1 and iOS 14.2 beta.
This solved for me
Download Device support files of iOS 14.0 from this link.
for iOS 14.2 beta there is a pull request that is not yet merged
Unzip and Paste it in this location. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
ReOpen Xcode.
This is what I did:
Updated Xcode
flutter clean on the terminal.
flutter upgrade on the terminal.
Open Xcode and run the application once.
flutter clean again.
flutter run.
It should work now.
This issued was raised a while back in August in the flutter repo. Currently, the issue has been fixed by the recent flutter update.
Run flutter upgrade to v1.20.4 to get the fix
I ran into this problem recently, most likely it can be caused due to the reason, that your iOS Device is running a higher version than you xcode can support.
Example:
Apple release new iOS for iPhone i.e. 14.2 and you upgrade your device right away, than you ran into this issue, because the xcode may not have the latest version of your device support files, meaning xcode can only suuport iOS 14.1 or lower. Apple sometimes release newer iOS without providing update of xcode device support files.
There is 4 solutions for this:
Keep your iOS Device on the current stable version of xcode
Downgrade your current iOS device
Install device support files manually
Install xcode beta from Apple Developer https://developer.apple.com/download/
It is an annoying issue, Apple should not release any iOS without having the supporting tools released at the same time, or they should run a warning.
Ran into this issue today on Visual Studio. It appeared that my Dart SDK version was too out of date and upgrading it appeared to fix the problem.
I did upgrade my Flutter version first, and then ran into a problem with the vsync property of AnimationController not being recognized, which was solved by upgrading the Dart SDK, so I'm not sure who the real culprit was (or if it was a combination of both).
Instructions on upgrading your Dart SDK: https://dart.dev/get-dart

Xcode 10.1 beta 2 Invalid Toolchain

I am going to submit my app to App Store and it finds invalid toolchain .
New apps and app updates must be built with the public (GM) versions. Xcode 9 or later.
Should I reinstall Xcode 10 GM directly instead of beta?
Yes, you must use a stable release of Xcode to submit a build to App Store:
Xcode 10.1 (10B61)
Xcode 10 (10A255)
Xcode 9.4.1 (9F2000)
...
i.e. the versions in bold from this unofficial list: https://xcodereleases.com/
Beta versions of Xcode are only good for TestFlight builds, not App Store builds.
Not also that there is a minimum Xcode version depending on your product platform (iOS, tvOS, macOS): https://help.apple.com/app-store-connect/#/devb1c185036

Xcode Version 9.1 (9B55) upload Archive failed - iOS 11.1 - Apps must be built with the public (GM) version

Today Apple just released Xcode 9.1 (build 9B55) and provided also the new update of iOS 11.1.
I just tried to upload my new archive, but unfortunately it fails with the following error message:
ERROR ITMS-90534: "Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK or later. Don't submit apps built with beta software including beta macOS builds."
It worked with the previous version Xcode 9.01. I'm wondering, if there is something new to consider? Just to be clear, I'm not using any beta software - this is the final build downloaded/updated from the AppStore.
Have you updated your macOS to 10.13.1 as well? All software should be up to date.
If all is updated, I'd just give it a couple hours and re-build then – maybe Apple didn't update the requirements in iTunes Connect yet. Just a guess.

Xamarin.iOS Target iOS 6 SDK

We have upgraded to XCode 5 and Xamarin.iOS 7.x, but have one app we are not quite ready to support iOS 7 for yet.
Is there a way to target the iOS 6.0 SDK, and compile the app so that it has the old iOS 6 keyboard, etc.?
We tried changing the settings in iOS Build->SDK Version, and we can change it when targeting the simulator, but the option doesn't exist for AhHoc or AppStore builds.
Any ideas?
Xcode ships with several simulator SDK but only one device SDK. So you need to install an older version of Xcode. E.g. installing Xcode 4.6 will give you the 6.1 SDK).
Both versions can coexists side-by-side if you rename the existing one before installing the 2nd.
Be sure to have XS points to the Xcode you want to use (it's not a project specific setting).

Resources