Skip to content

Prepare android/ios command prepares both platforms when added #1027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vchimev opened this issue Oct 8, 2015 · 3 comments
Closed

Prepare android/ios command prepares both platforms when added #1027

vchimev opened this issue Oct 8, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@vchimev
Copy link

vchimev commented Oct 8, 2015

Log:

VCHIMEVMAC:release vchimev$ node_modules/.bin/tns build ios --path appTest
The iOS Deployment Target is now 8.0 in order to support Cocoa Touch Frameworks in CocoaPods.
Successfully prepared plugin nativescript-iqkeyboardmanager for ios.
nativescript-iqkeyboardmanager is not supported for android.
Successfully prepared plugin nativescript-social-share for ios.
Creating project scheme...
Installing pods...
Updating local specs repositories
...
...
...
VCHIMEVMAC:release vchimev$ node_modules/.bin/tns build android --path appTest
The iOS Deployment Target is now 8.0 in order to support Cocoa Touch Frameworks in CocoaPods.
Successfully prepared plugin nativescript-iqkeyboardmanager for ios.
nativescript-iqkeyboardmanager is not supported for android.
Successfully prepared plugin nativescript-social-share for ios.
Successfully prepared plugin nativescript-social-share for android.

@vchimev vchimev added the bug label Oct 8, 2015
@vchimev vchimev changed the title Prepare android command prepares also ios when both platforms are added Prepare android/ios command prepares both platforms when added Oct 8, 2015
@Fatme Fatme added this to the 1.4.1 milestone Oct 8, 2015
@Fatme
Copy link
Contributor

Fatme commented Oct 9, 2015

Steps to reproduce:

  1. Add ios and android platforms.
  2. Open package.json file and add
"email-validator": "^1.0.2",
"nativescript-iqkeyboardmanager": "^1.0.0",
"nativescript-social-share": "^1.1.0"

as dependencies
3. Prepare the project for android platform.

@Fatme Fatme modified the milestones: 1.4.2, 1.4.1 Oct 13, 2015
@teobugslayer teobugslayer modified the milestones: 1.5.0, 1.4.2 Oct 14, 2015
Fatme pushed a commit that referenced this issue Oct 23, 2015
Fatme pushed a commit that referenced this issue Oct 28, 2015
@vchimev vchimev reopened this Oct 28, 2015
@dtopuzov
Copy link
Contributor

Still not fixed. Tested with Fatme's steps and here is the result:

node_modules/.bin/tns prepare android --path TNS_App
Copying template files...
Project successfully created.
nativescript-iqkeyboardmanager is not supported for android.
Successfully prepared plugin nativescript-social-share for android.
Installing pods...
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Using IQKeyboardManager (3.3.4)
Generating Pods project
Integrating client project
Sending stats
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
Project successfully prepared

We still do some work for nativescript-iqkeyboardmanager even if does not target android.

@dtopuzov dtopuzov modified the milestones: 1.6.0 (Under consideration), 1.5.0 Nov 11, 2015
@kvelikov
Copy link

Hi guys,
This issue can be blocking when building on windows. If a plugin fails to prepare the CLI won't prepare if there are other plugins and the project won't run.
I'm getting the following error:
Processing node_modules failed. Error:Error: Command failed: C:\WINDOWS\system32
\cmd.exe /s /c "/usr/libexec/PlistBuddy -c "Print :CFBundlePackageType" "D:\Work
\NativeScript\Xpensity\node_modules\nativescript-push-notifications\platforms\io
s\PushPlugin.framework\Info.plist""
The system cannot find the path specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants