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

[xcode12.2] watchOS apps don't deploy to watchOS 7.1 simulators #9949

Closed
spouliot opened this issue Oct 22, 2020 · 10 comments · Fixed by mono/mono#20553, dotnet/runtime#44303 or #10059
Closed
Labels
bug If an issue is a bug or a pull request a bug fix
Milestone

Comments

@spouliot
Copy link
Contributor

Steps to Reproduce

  1. Install Xcode 12.2 beta 3
  2. Install XI from xcode12.2 branch
  3. Create a watchOS app and deploy it to a watchOS 7.1 simulator

Expected Behavior

Deploy and run

Actual Behavior

error HE0046: Failed to install the app 'com.companyname.mios.watchkitapp' on the device 'watchOS 7.1 (18R5572e) - Apple Watch Series 6 - 44mm': ???mwatch.WatchOSApp??? Needs To Be Updated

Environment

=== Visual Studio Enterprise 2019 for Mac (Preview) ===

Version 8.8 Preview (8.8 build 2829)
Installation UUID: a8ba93d0-79b6-41af-a590-4edb9c2095b4
	GTK+ 2.24.23 (Raleigh theme)
	Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)

	Package version: 612000093

=== Mono Framework MDK ===

Runtime:
	Mono 6.12.0.93 (2020-02/620cf538206) (64-bit)
	Package version: 612000093

=== Roslyn (Language Service) ===

3.8.0-4.20512.1+4d199dba9d5e3ca94944fd05697aa33e308a6e73

=== NuGet ===

Version: 5.8.0.6860

=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/5.0.100-rc.2.20480.7/Sdks
SDK Versions:
	5.0.100-rc.2.20480.7
	5.0.100-rc.2.20459.1
	5.0.100-rc.1.20426.3
	5.0.100-rc.1.20414.5
	5.0.100-preview.8.20359.11
	5.0.100-preview.7.20317.11
	5.0.100-preview.6.20265.2
	5.0.100-preview.5.20263.11
	5.0.100-preview.5.20256.10
	5.0.100-preview.5.20227.4
	5.0.100-preview.4.20214.36
	5.0.100-preview.1.20155.7
	3.1.403
	3.1.402
	3.1.200
	3.1.100
	2.1.811
	2.1.809
	2.1.806
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks

=== .NET Core Runtime ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	5.0.0-rc.2.20475.5
	5.0.0-rc.2.20454.25
	5.0.0-rc.1.20425.16
	5.0.0-rc.1.20404.16
	5.0.0-rc.1.20371.13
	5.0.0-preview.8.20358.9
	5.0.0-preview.7.20317.2
	5.0.0-preview.6.20264.1
	3.1.9
	3.1.8
	3.1.2
	3.1.0
	2.1.23
	2.1.22
	2.1.21
	2.1.20
	2.1.18

=== .NET Core 2.1 SDK ===

SDK: 2.1.811

=== Xamarin.Profiler ===

Version: 1.6.15.68
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Updater ===

Version: 11

=== Xamarin.Android ===

Version: 11.1.0.17 (Visual Studio Enterprise)
Commit: xamarin-android/d16-8/c0e2b8e
Android SDK: /Users/poupou/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.4 (API level 19)
		7.1 (API level 25)
		8.1 (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 29.0.5
SDK Build Tools Version: 29.0.2

Build Information: 
Mono: be2226b
Java.Interop: xamarin/java.interop/d16-8@79d9533
ProGuard: Guardsquare/proguard/proguard6.2.2@ebe9000
SQLite: xamarin/sqlite/3.32.1@1a3276b
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-8@2fb1cbc

=== Microsoft OpenJDK for Mobile ===

Java SDK: /Users/poupou/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Android SDK Manager ===

Version: 16.8.0.32
Hash: 01a7774
Branch: remotes/origin/d16-8
Build date: 2020-10-13 22:32:30 UTC

=== Android Device Manager ===

Version: 16.8.0.45
Hash: fc0af5f
Branch: remotes/origin/d16-8
Build date: 2020-10-13 22:32:54 UTC

=== Apple Developer Tools ===

Xcode 12.2 (17529.2)
Build 12B5035g

=== Xamarin.Mac ===

Version: 6.99.2.78 (Visual Studio Enterprise)
Hash: 9d1988a3c
Branch: xcode12.2
Build date: 2020-10-21 17:30:59-0400

=== Xamarin.iOS ===

Version: 14.3.1.78 (Visual Studio Enterprise)
Hash: 9d1988a3c
Branch: xcode12.2
Build date: 2020-10-21 17:31:00-0400

=== Xamarin Designer ===

Version: 16.8.0.492
Hash: 0c02bee49
Branch: remotes/origin/dominique-Fix1030373
Build date: 2020-10-13 20:33:42 UTC

=== Build Information ===

Release ID: 808002829
Git revision: 4a0adb84a0d0ba130f17546665a70156a82aeedb
Build date: 2020-10-14 22:47:05-04
Build branch: release-8.8
Xamarin extensions: 4a0adb84a0d0ba130f17546665a70156a82aeedb

=== Operating System ===

Mac OS X 10.15.7
Darwin 19.6.0 Darwin Kernel Version 19.6.0
    Mon Aug 31 22:12:52 PDT 2020
    root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64

@spouliot spouliot added the bug If an issue is a bug or a pull request a bug fix label Oct 22, 2020
@spouliot spouliot added this to the xcode12.2 milestone Oct 22, 2020
@spouliot
Copy link
Contributor Author

Using Xcode 12.2 I created an universal xcframework for all platform and noticed the following
watchos-arm64_x86_64-simulator

Note that there's no i386 mentioned, but there is a x86_64

So it looks like x86_64 became a valid watchOS simulator architecture at some point, along with the i386 that we supported.

With Xcode 12.2 Apple silently dropped i386 (while adding arm64 for Apple-Silicon based Mac simulation). This does match the "Needs to be updated" deploy error (which is the same that happened when Apple dropped 32bits on iOS).

Re-enabling watchOS should work if we add a x86_64 slice to our watchOS simulator runtime - along with allowing the arch inside our tooling (e.g. mtouch).

@rolfbjarne
Copy link
Member

So it looks like x86_64 became a valid watchOS simulator architecture at some point, along with the i386 that we supported.

This happened with Xcode 12.0, they mentioned it in the release notes.

@spouliot
Copy link
Contributor Author

This happened with Xcode 12.0, they mentioned it in the release notes.

Simulated watchOS 7 devices support 64-bit processes. To verify watchOS projects are 64-bit clean in Simulator, 
make sure ARCHS is set to its default value. (54654060, 66352876)

Note
Projects must be 64-bit clean in Simulator on Macs with Apple silicon, which don’t support 32-bit code.

I either missed it or forgot it :)

@dalexsoto
Copy link
Member

We got ourselves a branch of mono/2020-02 with watchOS sim with both i386 and x86_64 slices https://github.com/mono/mono/commits/2020-02-simwatch64 we could use this to test if we wanted to continue to support watchOS 7.1 simulators on xcode12.2

@chucker
Copy link

chucker commented Oct 31, 2020

(For the time being, for those who are already on Xcode 12.2 pre-releases: you can go to Xcode Preferences, Components, download the watchOS 6.2.1 Simulator, make a new Simulator that pairs, say, an iPhone 11 with an Apple Watch Series 5, and choose that in Visual Studio. It doesn't seem possible to download a 7.0 Simulator, alas.)

monojenkins pushed a commit to monojenkins/runtime that referenced this issue Nov 5, 2020
Xcode 12.2 removed 32 bits support for watchOS simulators, this PR helps to fix xamarin/xamarin-macios#9949, we have tested the new binaries and they are working as expected

![unknown](https://user-images.githubusercontent.com/204671/98253709-64413200-1f49-11eb-9774-8c5aa416fc57.png)
akoeplinger pushed a commit to mono/mono that referenced this issue Nov 5, 2020
* [watchOS] Add simwatch64 support

Related: xamarin/xamarin-macios#9949

* Ignore simwatch64 build folder and fix Mono.framework lipo
akoeplinger pushed a commit to mono/mono that referenced this issue Nov 5, 2020
* [watchOS] Add simwatch64 support

Related: xamarin/xamarin-macios#9949

* Ignore simwatch64 build folder and fix Mono.framework lipo
@dalexsoto dalexsoto reopened this Nov 5, 2020
@dalexsoto
Copy link
Member

Not quite fixed yet, the mono part is done now we need the Xamarin side, PR is coming!

@dalexsoto dalexsoto linked a pull request Nov 5, 2020 that will close this issue
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue Nov 6, 2020
Context: mono/mono#16763
Context: mono/mono#20490
Context: mono/mono#20533
Context: xamarin/xamarin-macios#9949

Changes: mono/mono@ca11fb0...ac59637

  * mono/mono@ac596375c76: Add support for OP_FCONV_TO_I to mini-arm64.c. (#20548)
  * mono/mono@392fe5b87b2: [2020-02][watchOS] Add simwatch64 support (#20552)
  * mono/mono@a22ed3f094e: Fix potential crash for Encoder.Convert (#20522)
  * mono/mono@970783731fc: Bump to F# 5.0 (#20511)
  * mono/mono@32ab5066f72: Bump msbuild to fix a build issue
  * mono/mono@93a7fe77e8e: Ensure special static slots respect alignment. (#20506)
  * mono/mono@3db5b358413: [debugger] Switch to GC Unsafe in signal handler callbacks (#20495)
  * mono/mono@af315f44c40: [2020-02][corlib] ThreadAbortException protection for ArraySortHelper (#20468)
@kjpou1 kjpou1 closed this as completed Nov 9, 2020
jonpryor added a commit to dotnet/android that referenced this issue Nov 9, 2020
Context: mono/mono#16763
Context: mono/mono#20490
Context: mono/mono#20533
Context: xamarin/xamarin-macios#9949

Changes: mono/mono@ca11fb0...ac59637

  * mono/mono@ac596375c76: Add support for OP_FCONV_TO_I to mini-arm64.c. (#20548)
  * mono/mono@392fe5b87b2: [2020-02][watchOS] Add simwatch64 support (#20552)
  * mono/mono@a22ed3f094e: Fix potential crash for Encoder.Convert (#20522)
  * mono/mono@970783731fc: Bump to F# 5.0 (#20511)
  * mono/mono@32ab5066f72: Bump msbuild to fix a build issue
  * mono/mono@93a7fe77e8e: Ensure special static slots respect alignment. (#20506)
  * mono/mono@3db5b358413: [debugger] Switch to GC Unsafe in signal handler callbacks (#20495)
  * mono/mono@af315f44c40: [2020-02][corlib] ThreadAbortException protection for ArraySortHelper (#20468)
tqiu8 pushed a commit to tqiu8/runtime that referenced this issue Nov 9, 2020
author Stephen Toub <[email protected]> 1604601164 -0500
committer Tammy Qiu <[email protected]> 1604960878 -0500

Add stream conformance tests for TranscodingStream (dotnet#44248)

* Add stream conformance tests for TranscodingStream

* Special-case 0-length input buffers to TranscodingStream.Write{Async}

The base implementation of Encoder.Convert doesn't like empty inputs.  Regardless, if the input is empty, we can avoid a whole bunch of unnecessary work.

JIT: minor inliner refactoring (dotnet#44215)

Extract out the budget check logic so it can vary by inlining policy.
Use this to exempt the FullPolicy from budget checking.

Fix inline xml to dump the proper (full name) hash for inlinees.

Update range dumper to dump ranges in hex.

Remove unused QCall for WinRTSupported (dotnet#44278)

ConcurrentQueueSegment allows spinning threads to sleep. (dotnet#44265)

* Allow threads to sleep when ConcurrentQueue has many enqueuers/dequeuers.

* Update src/libraries/System.Private.CoreLib/src/System/Collections/Concurrent/ConcurrentQueueSegment.cs

Co-authored-by: Stephen Toub <[email protected]>

* Apply suggestions from code review

Co-authored-by: Stephen Toub <[email protected]>

Co-authored-by: AMD DAYTONA EPYC <[email protected]>
Co-authored-by: Stephen Toub <[email protected]>

File.Exists() is not null when true (dotnet#44310)

* File.Exists() is not null when true

* Fix compile

* Fix compile 2

[master][watchOS] Add simwatch64 support (dotnet#44303)

Xcode 12.2 removed 32 bits support for watchOS simulators, this PR helps to fix xamarin/xamarin-macios#9949, we have tested the new binaries and they are working as expected

![unknown](https://user-images.githubusercontent.com/204671/98253709-64413200-1f49-11eb-9774-8c5aa416fc57.png)

Co-authored-by: dalexsoto <[email protected]>

Implementing support to Debugger::Break. (dotnet#44305)

Set fgOptimizedFinally flag correctly (dotnet#44268)

- Initialize to 0 at compiler startup
- Set flag when finally cloning optimization kicks in

Fixes non-deterministic generation of nop opcodes into ARM32 code

Forbid `- byref cnst` -> `+ (byref -cnst)` transformation. (dotnet#44266)

* Add a repro test.

* Forbid the transformation for byrefs.

* Update src/coreclr/src/jit/morph.cpp

Co-authored-by: Andy Ayers <[email protected]>

* Update src/coreclr/src/jit/morph.cpp

* Fix the test return value.

WriteLine is just to make sure we don't delete the value.

* improve the test.

avoid a possible overflow and don't waste time on printing.

Co-authored-by: Andy Ayers <[email protected]>

Pick libmonosgen-2.0.so from cmake install directory instead of .libs (dotnet#44291)

This aligns Linux with what we already do for all the other platforms.

Update SharedPerformanceCounter assert (dotnet#44333)

Remove silly ToString in GetCLRInstanceString (dotnet#44335)

Use targetPlatformMoniker for net5.0 and newer tfms (dotnet#43965)

* Use targetPlatformMoniker for net5.0 and newer tfms

* disabling analyzer, update version to 0.0, and use new format.

* update the targetFramework.sdk

* removing supportedOS assembly level attribute

* fix linker errors and addressing feedback

* making _TargetFrameworkWithoutPlatform as private

[sgen] Add Ward annotations to sgen_get_total_allocated_bytes (dotnet#43833)

Attempt to fix https://jenkins.mono-project.com/job/test-mono-mainline-staticanalysis/

Co-authored-by: lambdageek <[email protected]>

[tests] Re-enable tests fixed by dotnet#44081 (dotnet#44212)

Fixes
mono/mono#15030 and
fixes mono/mono#15031 and
fixes mono/mono#15032

Add an implicit argument coercion check. (dotnet#43386)

* Add `impCheckImplicitArgumentCoercion`.

* Fix tests with type mismatch.

* Try to fix VM signature.

* Allow to pass byref as native int.

* another fix.

* Fix another IL test.

[mono] Change CMakelists.txt "python" -> Python3_EXECUTABLE (dotnet#44340)

Debian doesn't install a "python" binary for python3.

Tweak StreamConformanceTests for cancellation (dotnet#44342)

- Avoid unnecessary timers
- Separate tests for precancellation, ReadAsync(byte[], ...) cancellation, and ReadAsync(Memory, ...) cancellation

Use Dictionary for underlying cache of ResourceSet (dotnet#44104)

Simplify catch-rethrow logic in NetworkStream (dotnet#44246)

A follow-up on dotnet#40772 (comment), simplifies and harmonizes the way we wrap exceptions into IOException. Having one catch block working with System.Exception seems to be enough here, no need for specific handling of SocketException.

Simple GT_NEG optimization for dotnet#13837 (dotnet#43921)

* Simple arithmetic optimization with GT_NEG

* Skip GT_NEG optimization when an operand is constant. Revert bitwise rotation pattern

* Fixed Value Numbering assert

* Cleaned up code and comments for simple GT_NEG optimization

* Formatting

Co-authored-by: Julie Lee <[email protected]>

[master] Update dependencies from mono/linker (dotnet#44322)

* Update dependencies from https://github.com/mono/linker build 20201105.1

Microsoft.NET.ILLink.Tasks
 From Version 6.0.0-alpha.1.20527.2 -> To Version 6.0.0-alpha.1.20555.1

* Update dependencies from https://github.com/mono/linker build 20201105.2

Microsoft.NET.ILLink.Tasks
 From Version 6.0.0-alpha.1.20527.2 -> To Version 6.0.0-alpha.1.20555.2

* Disable new optimization for libraries mode (it cannot work in this mode)

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Marek Safar <[email protected]>

Tighten argument validation in StreamConformanceTests (dotnet#44326)

Add threshold on number of files / partition in SPMI collection (dotnet#44180)

* Add check for files count

* Fix the OS check

* decrese file limit to 1500:

* misc fix

* Do not upload to azure if mch files are zero size

Fix ELT profiler tests (dotnet#44285)

[master] Update dependencies from dotnet/arcade dotnet/llvm-project dotnet/icu (dotnet#44336)

[master] Update dependencies from dotnet/arcade dotnet/llvm-project dotnet/icu

 - Merge branch 'master' into darc-master-2211df94-2a02-4c3c-abe1-e3534e896267

Fix Send_TimeoutResponseContent_Throws (dotnet#44356)

If the client times out too quickly, the server may never have a connection to accept and will hang forever.

Match CoreCLR behaviour on thread start failure (dotnet#44124)

Co-authored-by: Aleksey Kliger (λgeek) <[email protected]>

Add slash in Windows SoD tool build (dotnet#44359)

* Add slash in Windows SoD tool build

* Update SoD search path to match output dir

* Fixup dotnet version

* Remove merge commit headers

* Disable PRs

Co-authored-by: Drew Scoggins <andrew.g.scoggins@gmail>

Reflect test path changes in .gitattributes; remove nonexistent files (dotnet#44371)

Bootstrapping a test for R2RDump (dotnet#42150)

Improve performance of Enum's generic IsDefined / GetName / GetNames (dotnet#44355)

Eliminates the boxing in IsDefined/GetName/GetValues, and in GetNames avoids having to go through RuntimeType's GetEnumNames override.

clarify http version test (dotnet#44379)

Co-authored-by: Geoffrey Kizer <[email protected]>

Update dependencies from https://github.com/mono/linker build 20201106.1 (dotnet#44367)

Microsoft.NET.ILLink.Tasks
 From Version 6.0.0-alpha.1.20555.2 -> To Version 6.0.0-alpha.1.20556.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

Disable RunThreadLocalTest8_Values on Mono (dotnet#44357)

* Disable RunThreadLocalTest8_Values on Mono

It's failing on SLES

* fix typo

LongProcessNamesAreSupported: make test work on distros where sleep is a symlink/script (dotnet#44299)

* LongProcessNamesAreSupported: make test work on distros where sleep is a symlink/script

* PR feedback

Co-authored-by: Stephen Toub <[email protected]>

* fix compilation

Co-authored-by: Stephen Toub <[email protected]>

add missing constructor overloads (dotnet#44380)

Co-authored-by: Geoffrey Kizer <[email protected]>

change using in ConnectCallback_UseUnixDomainSocket_Success (dotnet#44366)

Clean up the samples (dotnet#44293)

Update dotnet/roslyn issue link

Delete stale comment about dotnet/roslyn#30797

Fix/remove TODO-NULLABLEs (dotnet#44300)

* Fix/remove TODO-NULLABLEs

* remove redundant !

* apply Jozkee's feedback

* address feedback

Update glossary (dotnet#44274)

Co-authored-by: Juan Hoyos <[email protected]>
Co-authored-by: Stephen Toub <[email protected]>
Co-authored-by: Günther Foidl <[email protected]>

Add files need for wasm executable relinking/aot to the wasm runtime pack. (dotnet#43785)

Co-authored-by: Alexander Köplinger <[email protected]>

Move some more UnmanagedCallersOnly tests to IL now that they're invalid C# (dotnet#43366)

Fix C++ build for mono/metadata/threads.c (dotnet#44413)

`throw` is a reserved keyword in C++.

Disable a failing test. (dotnet#44404)

Change async void System.Text.Json test to be async Task (dotnet#44418)

Improve crossgen2 comparison jobs (dotnet#44119)

- Fix compilation on unix platforms
  - Wrap use of wildcard in quotes
- Print better display name into log
- Fix X86 constant comparison handling
- Add ability to compile specific overload via single method switches

Remove some unnecessary GetTypeInfo usage (dotnet#44414)

Fix MarshalTypedArrayByte and re-enable it. Re-enable TestFunctionApply
@rolfbjarne rolfbjarne reopened this Nov 10, 2020
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue Nov 22, 2020
Context: dotnet/runtime#35008 (comment)
Context: mono/mono#15418
Context: mono/mono#16763
Context: mono/mono#20490
Context: mono/mono#20533
Context: xamarin/xamarin-macios#9949

Changes: mono/mono@be2226b...ac59637

  * mono/mono@ac596375c76: Add support for OP_FCONV_TO_I to mini-arm64.c. (#20548)
  * mono/mono@392fe5b87b2: [2020-02][watchOS] Add simwatch64 support (#20552)
  * mono/mono@a22ed3f094e: Fix potential crash for Encoder.Convert (#20522)
  * mono/mono@970783731fc: Bump to F# 5.0 (#20511)
  * mono/mono@32ab5066f72: Bump msbuild to fix a build issue
  * mono/mono@93a7fe77e8e: Ensure special static slots respect alignment. (#20506)
  * mono/mono@3db5b358413: [debugger] Switch to GC Unsafe in signal handler callbacks (#20495)
  * mono/mono@af315f44c40: [2020-02][corlib] ThreadAbortException protection for ArraySortHelper (#20468)
  * mono/mono@ca11fb0fd81: [2020-02] Bump ikvm-fork to include mono/ikvm-fork#20 (#20452)
jonpryor added a commit to jonpryor/xamarin-android that referenced this issue Dec 14, 2020
Context: dotnet/runtime#35008 (comment)
Context: mono/mono#15418
Context: mono/mono#16763
Context: mono/mono#20490
Context: mono/mono#20533
Context: xamarin/xamarin-macios#9949

Changes: mono/mono@be2226b...5e9cb6d

  * mono/mono@5e9cb6d1c1d: Use explicit arithmetic checks in the amd64 watchOS simulator. (#20647)
  * mono/mono@4fdfb5b1fd5: Bump bockbuild for gtk+ patch
  * mono/mono@6f6c3286b66: [runtime] Avoid checking for hardened runtime on ios, its not needed, and it causes alerts because of PROT_WRITE|PROT_EXEC. (#20623)
  * mono/mono@124f1157141: Fix iOS sdks build on Xcode 12 (#20574)
  * mono/mono@dfbfe5eed19: [2020-02] Build makefile to support Mac Catalyst (#20566)
  * mono/mono@ac596375c76: Add support for OP_FCONV_TO_I to mini-arm64.c. (#20548)
  * mono/mono@392fe5b87b2: [2020-02][watchOS] Add simwatch64 support (#20552)
  * mono/mono@a22ed3f094e: Fix potential crash for Encoder.Convert (#20522)
  * mono/mono@970783731fc: Bump to F# 5.0 (#20511)
  * mono/mono@32ab5066f72: Bump msbuild to fix a build issue
  * mono/mono@93a7fe77e8e: Ensure special static slots respect alignment. (#20506)
  * mono/mono@3db5b358413: [debugger] Switch to GC Unsafe in signal handler callbacks (#20495)
  * mono/mono@af315f44c40: [2020-02][corlib] ThreadAbortException protection for ArraySortHelper (#20468)
  * mono/mono@ca11fb0fd81: [2020-02] Bump ikvm-fork to include mono/ikvm-fork#20 (#20452)
jonpryor added a commit to dotnet/android that referenced this issue Dec 15, 2020
Context: dotnet/runtime#35008 (comment)
Context: mono/mono#15418
Context: mono/mono#16763
Context: mono/mono#20490
Context: mono/mono#20533
Context: xamarin/xamarin-macios#9949

Changes: mono/mono@be2226b...5e9cb6d

  * mono/mono@5e9cb6d1c1d: Use explicit arithmetic checks in the amd64 watchOS simulator. (#20647)
  * mono/mono@4fdfb5b1fd5: Bump bockbuild for gtk+ patch
  * mono/mono@6f6c3286b66: [runtime] Avoid checking for hardened runtime on ios, its not needed, and it causes alerts because of PROT_WRITE|PROT_EXEC. (#20623)
  * mono/mono@124f1157141: Fix iOS sdks build on Xcode 12 (#20574)
  * mono/mono@dfbfe5eed19: [2020-02] Build makefile to support Mac Catalyst (#20566)
  * mono/mono@ac596375c76: Add support for OP_FCONV_TO_I to mini-arm64.c. (#20548)
  * mono/mono@392fe5b87b2: [2020-02][watchOS] Add simwatch64 support (#20552)
  * mono/mono@a22ed3f094e: Fix potential crash for Encoder.Convert (#20522)
  * mono/mono@970783731fc: Bump to F# 5.0 (#20511)
  * mono/mono@32ab5066f72: Bump msbuild to fix a build issue
  * mono/mono@93a7fe77e8e: Ensure special static slots respect alignment. (#20506)
  * mono/mono@3db5b358413: [debugger] Switch to GC Unsafe in signal handler callbacks (#20495)
  * mono/mono@af315f44c40: [2020-02][corlib] ThreadAbortException protection for ArraySortHelper (#20468)
  * mono/mono@ca11fb0fd81: [2020-02] Bump ikvm-fork to include mono/ikvm-fork#20 (#20452)
@tipa
Copy link

tipa commented Feb 15, 2021

Has the fixed been released yet? I am still seeing this VS 8.8.8 / Xamarin.iOS Version: 14.10.0.4
I am testing this demo project

@tipa
Copy link

tipa commented Feb 18, 2021

Just updated to VS 8.8.9 and installed Mono 6.12.0 but the problem persists.
@jonpryor @dalexsoto @rolfbjarne @spouliot I would love to start a watchOS companion app for my iOS App but this seems to be a total blocker for me. Am I missing anything?
Tried @chucker's workaround already but there's no watchOS 6.2.1 simulator showing up for me.

@rolfbjarne
Copy link
Member

@tipa this fix has been released, so if you still have problems, please file a new issue explaining exactly what you're doing and the behavior you're seeing, and we'll have a look.

@tipa
Copy link

tipa commented Feb 18, 2021

@rolfbjarne opened a new issue here: #10665

@ghost ghost locked as resolved and limited conversation to collaborators Apr 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug If an issue is a bug or a pull request a bug fix
Projects
None yet
5 participants