A valid provisioning profile for this executable was not found… (again)

前端 未结 16 772
栀梦
栀梦 2020-11-29 03:57

I know this has been asked and answered multiple times but I\'m tearing my hair out as none of the proposed solutions appears to work.

相关标签:
16条回答
  • File > Workspace Settings > Set Build system to "Legacy Build System"
    
    0 讨论(0)
  • 2020-11-29 04:14
    1. Delete all certificates from the keychain of the account which you are trying to use provisioning profile
    2. Delete Derived data
    3. Clean the folder(cmd+sht+alt+k)
    4. Clean the project(cmd+sht+k)
    5. Build & Run
    0 讨论(0)
  • 2020-11-29 04:15

    In my case it was just after a new Program Licence Agreement was released so we had to accept them and it was fine.

    0 讨论(0)
  • 2020-11-29 04:17

    This can happen if your provisioning profile has expired. Another reason could be that you device date exceeds the expiry date of your provisioning profile. Please make sure that your device date is correct.

    0 讨论(0)
  • 2020-11-29 04:21

    After spending the day I realized it was a simple change in Project Settings

    File -> Project Settings... -> Build System -> Legacy Build System.

    In a project setting, you will see Build System named drop down and in that drop down select Legacy Build System

    0 讨论(0)
  • 2020-11-29 04:22

    I'm still not sure what the issue was but deleting all certificates and starting over (albeit twice) eventually solved it.

    My best guess is that I've missed some small but important detail of the procedure. Unfortunately I can't be any more specific than that.

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