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

后端 未结 20 1424
孤独总比滥情好
孤独总比滥情好 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:24

    when we develop watch app then there is 3 target associate with the app. Their target must have the following style of bundle identifier.

    • The target for iPhone: com.company.app
    • The target for iWatch: com.company.app.watch
    • The target for iWatch Extension: com.company.app.watch.extension

    In info.plist for watch target, it must have

    WKCompanionAppBundleIdentifier = com.company.app

    and in info.plist for watch app extension, it must have

    NSExtension > NSExtensionAttributes > WKAppBundleIdentifier = com.company.app.watch

提交回复
热议问题