Xamarin-macios: [Bug] Error publishing watchOS app

Created on 10 Sep 2020  路  12Comments  路  Source: xamarin/xamarin-macios

Description

Apple gives me this error when uploading an iOS App with a bundled watchOS app:

ITMS-90484: Invalid WatchKit Support - The WatchKitSupport2 folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.

Basic Information

  • XCode Version: 11.7
  • VS 2019 Version 16.7.3
  • XF Version 4.8.0.1364

VS bug #1214349

bug external-xamarin-vs iOS

All 12 comments

Rebuild your app using the current public (GM) version of Xcode and resubmit it.

have you tried this ?

Please provide a complete build log, the version information, as well as the .ipa you tried to upload.

To get a complete build log:

  1. Logs can be found in the Build Output tab of the Errors pad in Visual Studio. To get full build logs, set the log verbosity to diagnostic at the following locations:
  2. On Visual Studio for Mac: Preferences > Projects > Build
  3. On Visual Studio for Windows: Tools > Options > Projects and Solutions > Build and Run
    On Visual Studio for Windows you also want to add -v -v -v -v to the mtouch additional arguments by right-clicking the project in the solution explorer and selecting Properties.
  4. Attach build log here or link to gist (https://gist.github.com/) of the log.

To get the version information:

  • Visual Studio: Help > About Microsoft Visual Studio > Copy Info [button]
  • Visual Studio for Mac: Visual Studio > About Visual Studio > Show Details > Copy Information [button]

Rebuild your app using the current public (GM) version of Xcode and resubmit it.

have you tried this ?

Yes, 11.7 is the current GM according to https://xcodereleases.com/

https://gist.github.com/jWalker92/155e79053bad68f1144ce0a6e43892d6

@rolfbjarne what service is preferred for uploading the IPA?

@jWalker92

@rolfbjarne what service is preferred for uploading the IPA?

Whatever is easiest for you as long as we can download it. Dropbox is pretty common, but there are plenty of other services.

@jWalker92 Yes, that works, I'll have a look next week since it's getting late here.

This might be something that happens when building from Windows.

@jWalker92 can you try building using Visual Studio for Mac, and see if the resulting .ipa contains a WatchKitSupport2/WK file? The .ipa is just a zip file, so you can view the contents using any tool that can look into zip files.

image
Can confirm, VS-Mac creates the ipa correctly, whereas VS-Windows does not. So workaround is publishing on the Mac.

@jWalker92 ok, thanks for confirming that. I've assigned this to the team responsible for Xamarin.iOS on VS/Windows.

Any workaround for this using Xamarin on Windows

Hi this was logged a month ago, we cannot update our watch app. Is there an ETA?

Was this page helpful?
0 / 5 - 0 ratings