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

watchOS applications do not install on the simulator with latest Xcode #13290

Closed
chamons opened this issue Nov 5, 2021 · 3 comments
Closed
Labels
bug If an issue is a bug or a pull request a bug fix iOS Issues affecting iOS watchOS
Milestone

Comments

@chamons
Copy link
Contributor

chamons commented Nov 5, 2021

Steps to Reproduce

  1. Create new iOS Application project
  2. Right click sln -> Add new project
  3. watchOS -> App -> WatchKit App
  4. Add a name, done
  5. Build debug for sim

Workaround

In your WatchKit app extension set the supported architecture to x86_64

image

Expected Behavior

Successful build

Actual Behavior

error HE0046: Failed to install the app 'com.hamons.iOSWatch2.watchkitapp' on the device 'watchOS 8.0 (19R345) - Apple Watch Series 7 - 45mm': ???TestWatch.WatchOSApp??? Needs To Be Updated

Environment

https://gist.github.com/chamons/b0d5affcde7306b21290002f287b12ff

Build Logs

https://gist.github.com/chamons/2b7ff347297d1e71892c8d7dde1c2b1a

Example Project (If Possible)

iOSWatch2.zip

@chamons chamons added bug If an issue is a bug or a pull request a bug fix iOS Issues affecting iOS labels Nov 5, 2021
@chamons chamons added this to the Future milestone Nov 5, 2021
@dalexsoto
Copy link
Member

in order to debug on Series 6/7 simulators (Pretty much Xcode 11+) you need to change the watchOS app arch to x86_64 from the project settings

image

@EmilAlipiev
Copy link

very old issue but still valid i think today. I am not sure if I understand the answer from @dalexsoto Ui seems to be different on the latest VS for Mac. what is the suggested solution here?

@rolfbjarne
Copy link
Member

Closing, since watchOS isn't supported in .NET, and Xamarin is not supported anymore.

@rolfbjarne rolfbjarne closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug If an issue is a bug or a pull request a bug fix iOS Issues affecting iOS watchOS
Projects
None yet
Development

No branches or pull requests

4 participants