Xcode has conflicting provisioning settings

前端 未结 8 1544
不思量自难忘°
不思量自难忘° 2021-02-01 17:09

I have an Ionic 2 app, which builds and is testable in Xcode 8.2.1 Simulator environment, e.g. iPhone7 (Build Successful).

<
8条回答
  •  走了就别回头了
    2021-02-01 17:45

    UPDATE Just figured out the real issue [assuming that your app has the correct provisioning profiles, but a target for your app does not]: Navigate to your target and change the provisioning profile there. See below:


    I got this error when I added a target to enable rich push notifications. The project/workspace, "Spontit" did not have this error but the target "RichNotification" did.

    I tried several things, and the last thing I did, that seemed to be responsible for it finally working, was:

    • Un-add and re-add the embedded binary for the target "RichNotification" in the "General" tab of the project, "Spontit".

    • Another thing to check is to make sure that it is added as a "Target Dependency" in the "Build Phases" tab.

    • For this particular problem, make sure to clean your project (Cmd Shift K) before building it, every time. Otherwise, you might fix it and try to build it and think it's not working, but really it's using the old settings- so clean it first.

提交回复
热议问题