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

Fails to build on device. #10

Open
Voley opened this issue Jul 27, 2015 · 2 comments
Open

Fails to build on device. #10

Voley opened this issue Jul 27, 2015 · 2 comments

Comments

@Voley
Copy link

Voley commented Jul 27, 2015

Hey! So I changed all the teams in all targets to mine, changed identifiers from com.shh.xxx.xxx to com.dv.xxx.xxx, Added app group entitlements to parent app and extension, changed that in Audio controller code.

But I'm getting this mysterious error.

error: WatchKit App doesn't contain any WatchKit Extensions whose WKAppBundleIdentifier matches "com.dv.sampler.watchos2.watchkitapp". 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.

I tried doing just what it wants, also renaming and any combinations of those. Nothing helps.
This is on Xcode 7 beta 4. Regards

@Mark3214
Copy link

Mark3214 commented Nov 2, 2015

Voley, I'm not sure if Xcode tried to fix it wrong, or if I did, but in the info.plist for the extension you need to expand the NSExtension value and then NSExtensionAttributes. There you should find WKAppBundleIdentifier that needs to be updated to reflect the Bundle Identifier of the watch app. I figured it out from this http://stackoverflow.com/questions/30203079/watchkit-extension-bundle-identifiers question. It's been a few months, but hopefully it helps someone.

@DigNeurosurgeon
Copy link

@Mark3214 thanks for that piece of info. It helped me further!

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

3 participants