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

前端 未结 30 1586
名媛妹妹
名媛妹妹 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:30

    I had this issue occurring in Xcode 10.3 after I switched over to my XCTest unit test target then back to the project run time target.

    Turns out I had a different Teams selected in my provisioning profile for each target.

    To fix it :

    • Clean Build Folder

    • Make sure all may targets are using the same Team. See Profile Signing under the general tab.

    • If not using same Team for all targets, clean before switching to a build target with

      different team selected.

提交回复
热议问题