How to completely remove bundle id in iOS development?

后端 未结 2 763
死守一世寂寞
死守一世寂寞 2021-02-20 05:38

How can I reuse the bundle ID I have created for the app ID? I even delete the associated app ID but the bundle ID still unavailable.Does it to say bundle ID couldn\'t be remove

2条回答
  •  -上瘾入骨i
    2021-02-20 06:26

    I'm not sure what your exact scenario is, you didn't provide enough information to know that. However, I came across a similar problem which was as follows:

    Some time ago I registered a new Apple Account and created an iOS app with it. I did not pay for that, i.e. the app could only ever be used for 7 days. I've never submitted that app to the app store. Nonetheless, the bundle identifier of the app was associated with that particular account.

    Some time later I registered another Apple Account. This time with a payed subscription. When I attempted to sign the app I created with the first account, Xcode complained as follows:

    Failed to register bundle identifier. The app identifier "xy" cannot be registered to your development team because it is not available.

    and

    No profiles for 'xy' were found. Xcode couldn't file any iOS App Development provisioning profiles matching 'xy'.

    It seems that the bundle identifier gets strictly associated with the provisioning profile of the first account. The way to solve this is to delete that particular provisioning profile. You can do so by going to the following folder and deleting the corresponding file in that folder:

    ~/Library/MobileDevice/Provisioning Profiles/
    

提交回复
热议问题