I cannot compile to my new iPhone: error MT1006 returns 0xe8008015

Grime 791 Reputation points
2022-03-04T04:57:18.26+00:00

I recently upgraded my iPhone 11 to an iPhone 13 Pro Max (iOS 15.3.1).
I have also upgraded my 2014 Mac Mini to macOS Monterey (v.12.2.1).
I upgraded from Visual Studio 2019 to Visual Studio Community 2022 (v.17.1.0).
VS is running on an Acer laptop (Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz 2.60 GHz) running Windows 10 Pro (OS build 19044.1526).

I previously have compiled many apps to run on my previous configuration but now I'm getting an error with a version of an app that WAS successfully compiling to the old configuration and now doesn't compile to the new configuration. The error is:

179964-error.jpg

I HAVE added the new iPhone to the devices list at https://developer.apple.com/account/resources/devices/list.

What am I missing?

Developer technologies | .NET | Xamarin
0 comments No comments
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,436 Reputation points Microsoft External Staff
    2022-03-04T08:22:41.673+00:00

    Hello @Grime ,

    This error code often points to provisioning profile issues. I'm not sure that you're using Automatic Provisioning or Manual provisioning. You have added the new iPhone to the devices list, you also need to check the profile.

    Automatic Provisioning: remove and re-add Apple developer account(Tools > Options > Xamarin > Apple Accounts) in VS and Xcode(Signing Capabilities > Team), then select your team(your iOS project > Properties>iOS Bundle Signing), until it appears "Automatic Provisioning completed successfully "
    Manual provisioning: go to https://developer.apple.com/account/resources/profiles/list, select the profile of the APP, click Edit to check the new device. Then download this profile in VS and select this profile to rebuild the App.

    Last but not least, restart your iOS Device and clean the bin/obj folder before rebuilding. If there are any other issues, feel free to let me know.

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.