Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Meta] Xcode 14.1 Support #16659

Closed
Tracked by #14029
dalexsoto opened this issue Nov 8, 2022 · 15 comments
Closed
Tracked by #14029

[Meta] Xcode 14.1 Support #16659

dalexsoto opened this issue Nov 8, 2022 · 15 comments
Labels
support The issue is related to support
Milestone

Comments

@dalexsoto
Copy link
Member

dalexsoto commented Nov 8, 2022

Apple released Xcode 14.1 on November 1st, 2022, we have what we believe are the final builds for you to test on Xamarin.

Update: Nov 24, new builds.

For MAUI we are still producing builds compatible with Xcode 14.1 so we recommend using Xcode 14.0 for now. If you updated to Xcode 14.1 and want to go back to Xcode 14.0 you can download Xcode 14.0 from the downloads page in the Apple Developer Portal and continue to use it.

We will keep this issue updated as we go to have the final builds declared.

Thank you for your patience!

The macios team!

@dalexsoto dalexsoto added the support The issue is related to support label Nov 8, 2022
@dalexsoto dalexsoto added this to the Future milestone Nov 8, 2022
@dalexsoto dalexsoto pinned this issue Nov 8, 2022
@petermauger
Copy link

I've been having an absolute nightmare with the build tooling for MAUI over the last week and a half. We were able to produce dotnet 6.0 MAUI iOS ipa that could be pushed to App Store about 10 days ago. Then we discovered a need to look at dotnet 7.0 MAUI (still RC2 at that stage) and ever since then I've been able to produce packages and run builds on simulators and devices, but when I submit to App Store for TestFlight distribution the package is rejected due to Bitcode being included for the nuget packages we are using.

We ran into this problem initially with the dotnet 6.0 MAUI iOS packages and eventually discovered that using -p:EnableAssembyILStripping=true with the publish command would remove the bitcode and allow us to publish successfully to App Store. Since I started using the dotnet 7.0 build tooling that property has completely stopped having any effect. I'm going to have a look through all the issues on this repo and start adding in stuff that I'm seeing at the moment, but keen for a comment on what combination of tooling I can use to successfully use to publish an ipa to App Store for distribution (including nuget packages because the issue doesn't appear if there aren't any packages included)

@ivanlabsii
Copy link

ivanlabsii commented Nov 18, 2022

For macOS the package failed to install (EDIT: for some reason it installed on the second try).

For iOS the share extension could not be compiled in debug, I get this:

Target _CompileEntitlements:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.Shared.targets(659,4): error MSB4064: The "CustomEntitlements" parameter is not supported by the "CompileEntitlements" task loaded from assembly: Xamarin.iOS.Tasks, Version=16.0.0.72, Culture=neutral, PublicKeyToken=84e04ff9cfb79065 from the path: /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/msbuild/iOS/Xamarin.iOS.Tasks.dll. Verify that the parameter exists on the task, the points to the correct assembly, and it is a settable public instance property.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.Shared.targets(653,3): error MSB4063: The "CompileEntitlements" task could not be initialized with its input parameters.
Done building target "_CompileEntitlements" in project "SpeechCentralShare.csproj" -- FAILED.

@dalexsoto
Copy link
Member Author

@ivanicin any chance you can provide a bin log (https://github.com/xamarin/xamarin-macios/wiki/Diagnosis#build-logs) and open a new issue about this?

@ivanlabsii
Copy link

ivanlabsii commented Nov 21, 2022

@dalexsoto I have updated today Visual Studio, as the version is newer I guess that you have changed something so I did not get that error anymore.

EDIT: actually the update was to the old version, but after installing the new version again it seems to work...

@ivanlabsii
Copy link

This should have been included in 14.1, but the error remains when building with it and submitting to the App Store.

@PavloLukianets
Copy link

@ivanicin latest visual studio for mac was released on November 8-th, i think it doesn't have the fix yet. Or u have a new VS update?

@ivanlabsii
Copy link

@PavloLukianets you have the links in this issue description…

@ccsousa01
Copy link

Severity Code Description Project File Line Suppression State Warning
"The Xcode version installed on the Mac (14.1) is not compatible with this version of Visual Studio. This may cause unexpected warnings or errors when building and deploying iOS projects. Please install Xcode '13.3'. To download a specific version of Xcode, visit: https://developer.apple.com/downloads. "

Still producing with yesterday's update VS 2022 v.17.4.2

@Saigronas
Copy link

+1 to above comment.

For now I'm avoiding the issue by using Xcodes program for Mac (and assigning Xcode 13.3 as current active version), but would much prefer the latest versions of VS and Xcode to be compatible and run together. :)

@zuzannaczaja
Copy link

zuzannaczaja commented Dec 7, 2022

+1 to above comment.

For now I'm avoiding the issue by using Xcodes program for Mac (and assigning Xcode 13.3 as current active version), but would much prefer the latest versions of VS and Xcode to be compatible and run together. :)

@Saigronas How do you have Visual Studio version ? I have Xcode 13.3 and Visual Studio 17.4.2 and I have this error:
image

@pmahend1
Copy link

pmahend1 commented Dec 7, 2022

Is there an ETA on releasing 16.1 with Visual Studio for Mac 2022?

@lilunxm12
Copy link

iOS16.2RC2 just out, I'd expect formal release in a week or two, so as a new version of XCode. Hope 14.1 support could be released before it's already outdated...

@Saigronas
Copy link

@Saigronas How do you have Visual Studio version ? I have Xcode 13.3 and Visual Studio 17.4.2 and I have this error: image

Unfortunately I am also running Visual Studio 14.4.2 and XCode 13.3. I do however have XCode 14.1 installed on the mac at the same time, perhaps that is related to me not receiving the same errors as you have.

@am-kh
Copy link

am-kh commented Dec 13, 2022

Xcode 14.2 is here :(

@dalexsoto
Copy link
Member Author

Xcode 14.1 has been released to the stable channels as of today. Xcode 14.2 is being worked on as we speak. I'll open a separated issue for this one.

Thank you all for your patience.

@xamarin xamarin locked as resolved and limited conversation to collaborators Dec 13, 2022
@dalexsoto dalexsoto unpinned this issue Dec 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
support The issue is related to support
Projects
None yet
Development

No branches or pull requests

10 participants