Skip to content

Unable to process native iOS files and frameworks from scoped packages #5056

Closed
@Fatme

Description

@Fatme

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.1.0
  • Cross-platform modules: 6.1.x
  • Android Runtime: 6.1.x
  • iOS Runtime: 6.1.x
  • Plugin(s):

Describe the bug
NativeScript CLI it is not able to process correctly scoped packages/plugins that have native iOS files or frameworks as the following error is thrown:

Nanaimo::Reader::ParseError - [!] Invalid character "@" in unquoted string

The error is thrown as invalid .pbxproject is generated.

To Reproduce

  1. tns create myApp --js
  2. git clone git@github.com:Fatme/scoped-package.git
  3. cd myApp && npm i <path to cloned repo>/nativescript-test-1.0.0.tgz
  4. tns run ios

Expected behavior
The application should be successfully installed on device

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions