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

Apple Watch extension with space in name and .entitlements file not working. #5005

Closed
KristianDD opened this issue Sep 2, 2019 · 0 comments
Assignees
Milestone

Comments

@KristianDD
Copy link
Contributor

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.0.0

Describe the bug
If the project has an Apple Watch Extension with a space in the name and ".entitlements" file the prepare step of the CLI will fail. The result is an invalid .xcodeproj.

To Reproduce

  1. 'tns create myProject -ts'
  2. Follow the steps for adding an Apple Watch App from here - [Tracking][Beta] Embedding Apple Watch App inside NativeScript App #4589.
  3. Add .entitlements file in the Watch App Extension
    4 tns run ios

Expected behavior
The prepare step to finish successfully and the project to be build and deployed on the device.

Sample project

Additional context

A workaround is to rename the Extension and .entitlements file.

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