Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error #30

Open
ghost opened this issue Mar 14, 2020 · 12 comments
Open

Build error #30

ghost opened this issue Mar 14, 2020 · 12 comments

Comments

@ghost
Copy link

ghost commented Mar 14, 2020

When I go to project > run, it let me an error:

WatchKit App doesn't contain any WatchKit Extensions whose WKAppBundleIdentifier matches "com.(me).TermiWatch". Verify that the value of WKAppBundleIdentifier in your WatchKit Extension's Info.plist matches the value of CFBundleIdentifier in your WatchKit App's Info.plist.

what can I do ?

@kuglee
Copy link
Owner

kuglee commented Mar 14, 2020

Please see issue #9 .

@ghost
Copy link
Author

ghost commented Mar 14, 2020

Yeah but when I do cmd+f and I search kuglee, I see nothing to replace with my apple indent

@kuglee
Copy link
Owner

kuglee commented Mar 14, 2020

These are the places where you have to change to identifiers:

  • TermiWatch WatchKit App's Info.plist:
    WKCompanionAppBundleIdentifier

  • TermiWatch WatchKit Extension's Info.plist:
    NSExtension > NSExtensionAttributes

@ghost
Copy link
Author

ghost commented Mar 14, 2020

Thanks for helping me, I look at both theses places but I've already replace them :( still don't work

@kuglee
Copy link
Owner

kuglee commented Mar 14, 2020

Try to clean your project (Xcode > Product menu > Clean Build Folder).

@ghost
Copy link
Author

ghost commented Mar 14, 2020

done, still don't work

@kuglee
Copy link
Owner

kuglee commented Mar 14, 2020

Do you have com.(me).TermiWatch.watchkitapp in NSExtension > NSExtensionAttributes > WKAppBundleIdentifier?

Also, select the project in the Navigator and check it the Target have the correct Bundle Identifiers.

@ghost
Copy link
Author

ghost commented Mar 14, 2020

I have this: com.(me).TermiWatch.watchkitapp, but I don't know how to "check it"

@kuglee
Copy link
Owner

kuglee commented Mar 14, 2020

It's in the How to Install guide > Configuring the project section.
The targets have to have the following bundle identifiers.

  • TermiWatch: com.(me).TermiWatch
  • TermiWatch WatchKit App: com.(me).TermiWatch.watchkitapp
  • TermiWatch WatchKit Extension: com.(me).TermiWatch.watchkitapp.watchkitextension

@ghost
Copy link
Author

ghost commented Mar 14, 2020

IT WORKED ! I was missing this one com.(me).TermiWatch.watchkitapp, thank you so much for helping me so far <3

@kuglee
Copy link
Owner

kuglee commented Mar 14, 2020

No problem. I'm glad I could help.

@wangqiaowen
Copy link

@kuglee I'm still getting the same error after checking 3 bundle identifiers...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants