Xcode 10: A valid provisioning profile for this executable was not found

前端 未结 30 1653
名媛妹妹
名媛妹妹 2020-11-29 15:12

Since yesterday I\'ve been getting the following error when trying run an app on my device: \"A valid provisioning profile for this executable was not found.\". This is afte

30条回答
  •  醉话见心
    2020-11-29 15:33

    Today I had the same error while installing an app to my device. The problem occurred after I updated to the new xCode 11.4.

    What I did to fix the issue:

    • Unpaired device (Xcode > Window > Devices And Simulators > Left click device to unpair device.
    • Restart iPhone
    • Clean Build Folder (Xcode > Product > Clean Build Folder)
    • Clean Derived Data (in ../library/Developer/Xcode/DerivedData)
    • Clean Build Folder again (Xcode > Product > Clean Build Folder)
    • Build app on device.

提交回复
热议问题