Skip to content

Incorrect deployment target in iOS projects #1012

@e2l3n

Description

@e2l3n

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions