Repository navigation
[msbuild] Fix watchOS submissions with Xcode 14. Fixes #16499. - #16526
Conversation
We have to remove any arm64e slices from the WK binary we copy from Apple's SDK into the Watch app, as explained in Apple's forums. Ref: https://developer.apple.com/forums/thread/714224 Fixes dotnet#16120. Fixes dotnet#16499.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@rolfbjarne submission tests are happy with your PR :) |
This comment has been minimized.
This comment has been minimized.
|
I can confirm that using the .targets changes in this PR works around the |
|
@jahmai-ca You need to be using Xcode 14.0 in order to build without bitcode is that what you are currently using? Please check that both Xcode-select and VS are pointing to the same Xcode 14.0 version. |
@dalexsoto We're using the macos-latest VM on Azure Devops, and we do:
in the yaml, and in the MSBuild I can see:
As this is a CI build, VS is not loaded. |
|
Per my comment on the linked issue, I believe the problem is this line: https://github.com/xamarin/xamarin-macios/blob/main/tools/mtouch/Application.mtouch.cs#L648 I don't think mtouch should be enforcing bitcode check anymore. |
|
I have successfully deployed our Watch app to AppStore / Testflight using this fix. See #16499 (comment) for more details. Thanks again! |
✅ API diff for current PR / commitLegacy Xamarin (No breaking changes)
NET (empty diffs)
❗ API diff vs stable (Breaking changes)Legacy Xamarin (:heavy_exclamation_mark: Breaking changes :heavy_exclamation_mark:).NET (:heavy_exclamation_mark: Breaking changes :heavy_exclamation_mark:)✅ Generator diffGenerator diff is empty Pipeline on Agent |
❌ [PR Build] Tests on macOS M1 - Mac Big Sur (11.5) failed ❌Failed tests are:
Pipeline on Agent |
🔥 [CI Build] Test results 🔥Test results❌ Tests failed on VSTS: simulator tests 0 tests crashed, 12 tests failed, 211 tests passed. Failures❌ monotouch testsDetails
Html Report (VSDrops) Download Successes✅ bcl: All 69 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
|
Test failures are unrelated (will be fixed with #16536). |
We have to remove any arm64e slices from the WK binary we copy from Apple's
SDK into the Watch app, as explained in Apple's forums.
Ref: https://developer.apple.com/forums/thread/714224
Fixes #16120.
Fixes #16499.