Certificate update error code sign error: Provisioning profile 'xxxx' can't be found in xcode when you update your certificate and re-compile your program, real machine debugging will always show Code sign error: Provisioning profile 'xxxx' can't be found, isn't it bothering you. The following describes the solution to solve this problem.
1. Close your project, find the project file XXXX. xcodeproj, right-click the file, and select Show package contents ). A new finder is opened. Note: In fact, xxxx. xcodeproj is a folder. The three files in a newly opened finder are the files in the XXXX. xcodeproj folder.
2. Find project. pbxproj in the newly opened finder and open it. Find the encoding information of your previous certificate here. The error message I reported earlier is
Code sign error: Provisioning profile '37d44e7f-0339-4277-9a82-c146a944cd46 ', so I found and deleted all the rows including signature by searching.
3. Save, restart your project, and then compile. OK.