Code Sign error: Provisioning profile can't be found

后端 未结 12 966
别那么骄傲
别那么骄傲 2020-12-04 06:48

I have been working the whole day to try to build my app on my device.

I get this error when I try to build on my device.

I have been reading about this prob

12条回答
  •  抹茶落季
    2020-12-04 07:20

    Here's how I did it.

    • Shut down Xcode.
    • Back up the project.pbxproj file.
    • Edit the project.pbxproj file and remove lines of instances where it mentions the old provisioning profile.
      • eg. Delete line:
      • PROVISIONING_PROFILE = "8D024EDA-DC05-40DF-B3EB-536392615EE2";
    • Restart Xcode and perform a full clean of the project.
    • It should then build without warnings.

    Enjoy!

提交回复
热议问题