Xcode couldn't find any provisioning profiles matching

前端 未结 6 469
一生所求
一生所求 2021-02-01 14:24

I am trying to rebuild an ios app, that previously had no issues (first rebuild in 6 months or so). Environment is OSX 10.13.5 with all the latest updates, Xcode 9.4.1, Ionic is

相关标签:
6条回答
  • 2021-02-01 14:49

    I opened XCode -> Preferences -> Accounts and clicked on Download certificate. That fixed my problem

    0 讨论(0)
  • 2021-02-01 14:49

    You can get this issue if Apple update their terms. Simply log into your dev account and accept any updated terms and you should be good (you will need to goto Xcode -> project->signing and capabilities and retry the certificate check. This should get you going if terms are the issue.

    0 讨论(0)
  • 2021-02-01 14:55

    Try to check Signing settings in Build settings for your project and target. Be sure that code signing identity section has correct identities for Debug and Release.

    0 讨论(0)
  • 2021-02-01 15:01

    What fixed it for me was plugging my iPhone and allowing it as a simulator destination. Doing so required my to register my iPhone in Apple Dev account and once that was done and I ran my project from Xcode on my iPhone everything fixed itself.

    1. Connect your iPhone to your Mac
    2. Xcode>Window>Devices & Simulators
    3. Add new under Devices and make sure "show are run destination" is ticked
    4. Build project and run it on your iPhone
    0 讨论(0)
  • 2021-02-01 15:05

    Requirements:

    1. Unique name (across all Apple Apps)
    2. Have to sign in while your phone is connected (mine had a large warning here)

    Worked great without restart on Xcode 10

    0 讨论(0)
  • 2021-02-01 15:08

    I am now able to successfully build. Not sure exactly which step "fixed" things, but this was the sequence:

    • Tried automatic signing again. No go, so reverted to manual.
    • After reverting, I had no Eligible Profiles, all were ineligible. Strange.
    • I created a new certificate and profile, imported both. This too was "ineligible".
    • Removed the iOS platform and re-added it. I had tried this previously without luck.
    • After doing this, Xcode on its own defaulted to automatic signing. And this worked! Success!

    While I am not sure exactly which parts were necessary, I think the previous certificates were the problem. I hate Xcode :(

    Thanks for help.

    0 讨论(0)
提交回复
热议问题