Xcode 6 error: “Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier.”

后端 未结 20 1372
孤独总比滥情好
孤独总比滥情好 2020-12-08 01:45

I\'m trying to build an extension project and Xcode keeps throwing the error in subject.

\"Xcode

20条回答
  •  一整个雨季
    2020-12-08 02:25

    In my case, this error occurred when I changed App bundle identifier. I also have WatchKit App in my project.

    To fix this, update the WatchKit Extension and WatchKit App bundle Id prefix with the new bundle id of your app. Check info.plist in both targets.

    Also update the following -

    Update the following with the new Watch App bundle id. WatchKit Extension > Info.plist - NSExtension->NSExtensionAttributes->WKAppBundleIdentifier

    Update the following with the new app id. WatchKit App > Info.plist - WKCompanionAppBundleIdentifier

    After changing all the values don't forget to Clean product once.

提交回复
热议问题