NativeScript / nativescript-remote-builds

A NativeScript plugin for remote builds when running and publishing NativeScript apps without env setup.
Apache License 2.0
26 stars 9 forks source link

Need to manually do tns prepare ios --env.local for remote builds to succeed #11

Closed ghost closed 4 years ago

ghost commented 4 years ago

After enabling remote builds by installing this plugin, tns build ios fails with:

ENOENT: no such file or directory, open '/project_dir/platforms/ios/project/project-Info.plist'

If I run tns prepare ios --env.local, then tns build ios succeeds.

ghost commented 4 years ago

Finally figured out what the issues is. Basically both android and ios requires a prepare --env.local first for my project.

The issue is a conflicting package, nativescript-dev-version. It has an after-prepare hooks that looks for AndroidManifest.xml and Info.plist files to modify the version number and version code. Of course it fails since those files are not created, when using remote builds. I fixed it and created a PR for the plugin maintainer.

https://github.com/jacargentina/nativescript-dev-version/pull/5