nativescript-cli icon indicating copy to clipboard operation
nativescript-cli copied to clipboard

Incorrect deployment target in iOS projects

Open e2l3n opened this issue 11 years ago • 0 comments

Deployment target is incorrectly incremented to 8.0 on prepare phase for iOS projects. This happens when a plugin is added which not necessarily contains dynamic cocoa touch frameworks.

The following excerpt uses the Hello-Plugin.

TPOPOVMAC:scratch tpopov$ ../bin/tns create TestApp
Project TestApp was successfully created
TPOPOVMAC:scratch tpopov$ cd TestApp/
TPOPOVMAC:TestApp tpopov$ ../../bin/tns plugin add ~/Desktop/Hello/hello-plugin
npm WARN package.json @ No description
npm WARN package.json @ No repository field.
npm WARN package.json @ No README data
[email protected] node_modules/hello
Successfully installed plugin hello.
TPOPOVMAC:TestApp tpopov$ ../../bin/tns platform add ios
Copying template files...
Project successfully created.
TPOPOVMAC:TestApp tpopov$ ../../bin/tns prepare ios
The iOS Deployment Target is now 8.0 in order to support Cocoa Touch Frameworks.
Successfully prepared plugin hello for ios.
Project successfully prepared

e2l3n avatar Oct 06 '15 10:10 e2l3n