An App ID with Identifier 'com.example.app.extention' is not available. Please enter a different string

前端 未结 15 626
一整个雨季
一整个雨季 2020-12-05 10:00

I have tried to add extensions to my iOS app, both a today extension and an Apple Watch app. My app has been completed however when submitting my archive I got the error bas

相关标签:
15条回答
  • 2020-12-05 10:16

    Here is what worked for me on Xcode 7.3:

    Check Devices in the Apple Developer member centre. Once a year you have the opportunity to reset the devices. After reseting devices you will notices your Xcode managed provisioning profile is invalid. To update this I went into Xcode > Accounts -> my Apple ID -> View Details and downloaded all provisioning profiles. I then built to device and then downloaded the provisioning profiles again for good measure

    0 讨论(0)
  • 2020-12-05 10:16

    I faced the same problem when i upgraded my Xcode to 7.3 and it showed me the same error in every project. The simplest solution that i found was to just the remove the apple account from Xcode and add it again.

    To remove just go to Xcode > Preferences > Select the account and click on - sign.

    If in case this still doesn't work . Then perform a next step of downing your provisioning profile again and run it.

    Hope this helps. All the best

    0 讨论(0)
  • 2020-12-05 10:16

    I had almost the same problem, i was using Xcode 7.3 and trying to compile it but the build failed all the time, so the problem was for me that i needed to make a developer provisions profile and an appstore provisions profile for the same app so i could use fastlane to release it and build it in xcode.

    After this i did the following:

    1. Open Xcode
    2. Xcode preferences
    3. Open team
    4. Download all missing profiles
    5. Clean
    6. Build
    7. Run fastlane
    0 讨论(0)
  • 2020-12-05 10:18

    Xcode to 7.3

    I have encountered this issue when archiving and in my case, downloading all provisioning profiles on preferences cant fix this so I update it.

    Try to check your app's Provisioning Profile on Member Center.

    Go to Developer > Certificate, IDs & Profiles > Provisioning Profiles > All

    Look for your app's Development and Distribution Profile, check if status is Invalid then Edit,

    Modify your profile contents and select the Generate button to save changes

    Finally, Go to Xcode> Preferences > [Apple account] > View Details and Download All to refresh your provisioning profiles

    Clean. Build. Archive. Success ! Hope it helps :)

    0 讨论(0)
  • 2020-12-05 10:19

    As far as I know, a bundle ID must have the form com.yourCompany.yourApp. App IDs are used to identify your app among all other millions of apps on the store and have to be unique.

    Someone probably already created this ID com.example.app.extention. This is why you are seeing the error message.

    You must used something unique, that identifies your company and your app or you and your app.

    0 讨论(0)
  • 2020-12-05 10:20

    I also encountered the same problem. Xcode7.2.1. Effective solution is:

    0 讨论(0)
提交回复
热议问题