Forum Xamarin Xamarin.iOS

Unable to deploy app with bundled watch app MTOUCH error

I have an existing app to which I am adding an Apple Watch app (watchos1). Everything seems to be set up correctly as I can run the app without problems in the simulator. The app ids are set correctly, the projects are referenced correctly. However, when I try to run the app on an actual device, I receive a strange error for which I cannot find any info anywhere else.

error MT0063: Cannot find the executable in the extension <path_to_extension>/bin/iPhone/Debug/<extensionappid>.appex (no CFBundleExecutable entry in its Info.plist)

However, when I check the mentioned .appex file

  • there is an Info.plist with a CFBundleExecutable entry
  • the CFBundleExecutable entry correctly mentions id as its main executable

Therefore, this seems to be an issue with mtouch. Is there a way around this? Or am I missing something obvious?

Answers

  • I'm having the same problem. Could someone from Xamarin give some feedback on how to resolve this error?

    Thanks, Terrence Koehn

  • TobiasRddigerTobiasRddiger DEUniversity

    I'm having the same problem. Couldn't find a solution yet.

  • Thanks Thomas, your workaround works for me also.

  • ColinCampbell.9039ColinCampbell.9039 USMember ✭✭

    Had the exact same issue with a Today Widget extension and the same workaround solved it. Thank you @thomasvanmachelen

Sign In or Register to comment.