Closed
Description
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
- 'tns create myProject -ts'
- Follow the steps for adding an Apple Watch App from here - [Tracking][Beta] Embedding Apple Watch App inside NativeScript App #4589.
- Add
.entitlements
file in the Watch App Extension
4tns 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.