[jira] [Commented] (CB-13018) cordova build failed for both android and ios

2017-07-19 Thread oscar peng (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16094155#comment-16094155
 ] 

oscar peng commented on CB-13018:
-

I find the trigger, the android studio is a 3.0 preview version, and the gradle 
is 4.1 milestone-1. The key point is that gradle has no execute right! 
```
MacOS:~ open$ cd "/Applications/Android Studio 3.0 
Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/"
MacOS:bin open$ ls -l
total 24
-rw-r--r--  1 open  staff  5286 Jul  2 11:37 gradle
-rw-r--r--  1 open  staff  2250 Jul  2 11:37 gradle.bat
MacOS:bin open$ sudo chmod a+x gradle
```
then execute commands:cordova build , everything works.



> cordova build failed for both android and ios
> -
>
> Key: CB-13018
> URL: https://issues.apache.org/jira/browse/CB-13018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-android@5.2.2, 7.0.1
> Environment: (1)MacOS: 10.12.5
> (2)node: v8.1.4
> (3)cordova: 7.0.1
> (4)*cordova platform ls*
>   android 6.2.3
>   ios 4.4.0
>Reporter: oscar peng
>Assignee: Joe Bowser
>  Labels: starter
>
> Following http://cordova.apache.org/docs/en/latest/guide/cli/index.html, 
> Create your first Cordova app.
> h1. cordova requirements
>  - Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
>   -  Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: not installed
> ios-deploy was not found. Please download, build and install version 1.9.0 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> CocoaPods: installed
> Error: Some of requirements check failed
> h1. sudo npm install -g ios-deploy --unsafe-perm=true
> h1. cordova requirements
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: installed 1.9.1
> CocoaPods: installed
> h1. cordova build (or cordova build android)
> ANDROID_HOME=/Users/open/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
> Error: spawn EACCES
> h1. cordova build ios
> ** BUILD FAILED **
> The following build commands failed:
>   PhaseScriptExecution Copy\ www\ directory 
> /Users/open/Library/Developer/Xcode/DerivedData/HelloWorld-fqxzydxnjuyjjobwofitkplrpyef/Build/Intermediates/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Script-304B58A110DAC018002A0835.sh
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/cordova/build-debug.xcconfig,-workspace,HelloWorld.xcworkspace,-scheme,HelloWorld,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> SE,build,CONFIGURATION_BUILD_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/sharedpch



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13018) cordova build failed for both android and ios

2017-07-19 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16093814#comment-16093814
 ] 

Joe Bowser commented on CB-13018:
-

I'm going to close this issue, since the problem appears to be permissions on 
your local machine.  You should really ask for help in the Cordova Slack, Stack 
Overflow or on various downstream forums, since this appears to be an issue 
with your system.

> cordova build failed for both android and ios
> -
>
> Key: CB-13018
> URL: https://issues.apache.org/jira/browse/CB-13018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-android@5.2.2, 7.0.1
> Environment: (1)MacOS: 10.12.5
> (2)node: v8.1.4
> (3)cordova: 7.0.1
> (4)*cordova platform ls*
>   android 6.2.3
>   ios 4.4.0
>Reporter: oscar peng
>Assignee: Joe Bowser
>  Labels: starter
>
> Following http://cordova.apache.org/docs/en/latest/guide/cli/index.html, 
> Create your first Cordova app.
> h1. cordova requirements
>  - Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
>   -  Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: not installed
> ios-deploy was not found. Please download, build and install version 1.9.0 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> CocoaPods: installed
> Error: Some of requirements check failed
> h1. sudo npm install -g ios-deploy --unsafe-perm=true
> h1. cordova requirements
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: installed 1.9.1
> CocoaPods: installed
> h1. cordova build (or cordova build android)
> ANDROID_HOME=/Users/open/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
> Error: spawn EACCES
> h1. cordova build ios
> ** BUILD FAILED **
> The following build commands failed:
>   PhaseScriptExecution Copy\ www\ directory 
> /Users/open/Library/Developer/Xcode/DerivedData/HelloWorld-fqxzydxnjuyjjobwofitkplrpyef/Build/Intermediates/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Script-304B58A110DAC018002A0835.sh
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/cordova/build-debug.xcconfig,-workspace,HelloWorld.xcworkspace,-scheme,HelloWorld,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> SE,build,CONFIGURATION_BUILD_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/sharedpch



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13018) cordova build failed for both android and ios

2017-07-17 Thread oscar peng (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16090753#comment-16090753
 ] 

oscar peng commented on CB-13018:
-

[~joebowbeer] Following your sugestion:

# 1, cordova platform remove ios
# 2,cordova platform ls
Installed platforms:
  android 6.2.3
Available platforms:
  blackberry10 ~3.8.0 (deprecated)
  browser ~4.1.0
  ios ~4.4.0
  osx ~4.0.1
  webos ~3.7.0
# 3, cordova build android
ANDROID_HOME=/Users/open/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
Error: spawn EACCES

I think if it's caused by access permission? But I don't know how to tune. 

> cordova build failed for both android and ios
> -
>
> Key: CB-13018
> URL: https://issues.apache.org/jira/browse/CB-13018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-android@5.2.2, 7.0.1
> Environment: (1)MacOS: 10.12.5
> (2)node: v8.1.4
> (3)cordova: 7.0.1
> (4)*cordova platform ls*
>   android 6.2.3
>   ios 4.4.0
>Reporter: oscar peng
>Assignee: Joe Bowser
>  Labels: starter
>
> Following http://cordova.apache.org/docs/en/latest/guide/cli/index.html, 
> Create your first Cordova app.
> h1. cordova requirements
>  - Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
>   -  Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: not installed
> ios-deploy was not found. Please download, build and install version 1.9.0 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> CocoaPods: installed
> Error: Some of requirements check failed
> h1. sudo npm install -g ios-deploy --unsafe-perm=true
> h1. cordova requirements
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: installed 1.9.1
> CocoaPods: installed
> h1. cordova build (or cordova build android)
> ANDROID_HOME=/Users/open/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
> Error: spawn EACCES
> h1. cordova build ios
> ** BUILD FAILED **
> The following build commands failed:
>   PhaseScriptExecution Copy\ www\ directory 
> /Users/open/Library/Developer/Xcode/DerivedData/HelloWorld-fqxzydxnjuyjjobwofitkplrpyef/Build/Intermediates/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Script-304B58A110DAC018002A0835.sh
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/cordova/build-debug.xcconfig,-workspace,HelloWorld.xcworkspace,-scheme,HelloWorld,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> SE,build,CONFIGURATION_BUILD_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/sharedpch



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13018) cordova build failed for both android and ios

2017-07-17 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16090520#comment-16090520
 ] 

Joe Bowser commented on CB-13018:
-

[~xnpeng] Please try removing the ios platform and seeing if your application 
builds.  It seems like this is an iOS issue and has nothing to do with Android, 
since it's failing on iOS first.

> cordova build failed for both android and ios
> -
>
> Key: CB-13018
> URL: https://issues.apache.org/jira/browse/CB-13018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-android@5.2.2, 7.0.1
> Environment: (1)MacOS: 10.12.5
> (2)node: v8.1.4
> (3)cordova: 7.0.1
> (4)*cordova platform ls*
>   android 6.2.3
>   ios 4.4.0
>Reporter: oscar peng
>Assignee: Joe Bowser
>  Labels: starter
>
> Following http://cordova.apache.org/docs/en/latest/guide/cli/index.html, 
> Create your first Cordova app.
> h1. cordova requirements
>  - Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
>   -  Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: not installed
> ios-deploy was not found. Please download, build and install version 1.9.0 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> CocoaPods: installed
> Error: Some of requirements check failed
> h1. sudo npm install -g ios-deploy --unsafe-perm=true
> h1. cordova requirements
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: installed 1.9.1
> CocoaPods: installed
> h1. cordova build (or cordova build android)
> ANDROID_HOME=/Users/open/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
> Error: spawn EACCES
> h1. cordova build ios
> ** BUILD FAILED **
> The following build commands failed:
>   PhaseScriptExecution Copy\ www\ directory 
> /Users/open/Library/Developer/Xcode/DerivedData/HelloWorld-fqxzydxnjuyjjobwofitkplrpyef/Build/Intermediates/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Script-304B58A110DAC018002A0835.sh
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/cordova/build-debug.xcconfig,-workspace,HelloWorld.xcworkspace,-scheme,HelloWorld,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> SE,build,CONFIGURATION_BUILD_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/sharedpch



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13018) cordova build failed for both android and ios

2017-07-16 Thread oscar peng (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16089178#comment-16089178
 ] 

oscar peng commented on CB-13018:
-

Can any body help me? Thanks.

> cordova build failed for both android and ios
> -
>
> Key: CB-13018
> URL: https://issues.apache.org/jira/browse/CB-13018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-android@5.2.2, 7.0.1
> Environment: (1)MacOS: 10.12.5
> (2)node: v8.1.4
> (3)cordova: 7.0.1
> (4)*cordova platform ls*
>   android 6.2.3
>   ios 4.4.0
>Reporter: oscar peng
>Assignee: Joe Bowser
>  Labels: starter
>
> Following http://cordova.apache.org/docs/en/latest/guide/cli/index.html, 
> Create your first Cordova app.
> h1. cordova requirements
>  - Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
>   -  Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: not installed
> ios-deploy was not found. Please download, build and install version 1.9.0 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> CocoaPods: installed
> Error: Some of requirements check failed
> h1. sudo npm install -g ios-deploy --unsafe-perm=true
> h1. cordova requirements
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: installed 1.9.1
> CocoaPods: installed
> h1. cordova build (or cordova build android)
> ANDROID_HOME=/Users/open/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
> Error: spawn EACCES
> h1. cordova build ios
> ** BUILD FAILED **
> The following build commands failed:
>   PhaseScriptExecution Copy\ www\ directory 
> /Users/open/Library/Developer/Xcode/DerivedData/HelloWorld-fqxzydxnjuyjjobwofitkplrpyef/Build/Intermediates/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Script-304B58A110DAC018002A0835.sh
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/cordova/build-debug.xcconfig,-workspace,HelloWorld.xcworkspace,-scheme,HelloWorld,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> SE,build,CONFIGURATION_BUILD_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/sharedpch



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13018) cordova build failed for both android and ios

2017-07-14 Thread Kerri Shotts (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16088204#comment-16088204
 ] 

Kerri Shotts commented on CB-13018:
---

Surely there's more to those error logs than what's been added here? It might 
be nice to link to a gist of the entire log (sans sensitive info).

> cordova build failed for both android and ios
> -
>
> Key: CB-13018
> URL: https://issues.apache.org/jira/browse/CB-13018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-android@5.2.2, 7.0.1
> Environment: (1)MacOS: 10.12.5
> (2)node: v8.1.4
> (3)cordova: 7.0.1
> (4)*cordova platform ls*
>   android 6.2.3
>   ios 4.4.0
>Reporter: oscar peng
>Assignee: Joe Bowser
>  Labels: starter
>
> Following http://cordova.apache.org/docs/en/latest/guide/cli/index.html, 
> Create your first Cordova app.
> h1. cordova requirements
>  - Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
>   -  Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: not installed
> ios-deploy was not found. Please download, build and install version 1.9.0 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> CocoaPods: installed
> Error: Some of requirements check failed
> h1. sudo npm install -g ios-deploy --unsafe-perm=true
> h1. cordova requirements
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: installed 1.9.1
> CocoaPods: installed
> h1. cordova build (or cordova build android)
> ANDROID_HOME=/Users/open/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
> Error: spawn EACCES
> h1. cordova build ios
> ** BUILD FAILED **
> The following build commands failed:
>   PhaseScriptExecution Copy\ www\ directory 
> /Users/open/Library/Developer/Xcode/DerivedData/HelloWorld-fqxzydxnjuyjjobwofitkplrpyef/Build/Intermediates/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Script-304B58A110DAC018002A0835.sh
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/cordova/build-debug.xcconfig,-workspace,HelloWorld.xcworkspace,-scheme,HelloWorld,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> SE,build,CONFIGURATION_BUILD_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/sharedpch



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13018) cordova build failed for both android and ios

2017-07-13 Thread oscar peng (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16086641#comment-16086641
 ] 

oscar peng commented on CB-13018:
-

[~jcesarmobile] thank you. I install packages without sudo , except this one 
"sudo npm install -g ios-deploy --unsafe-perm=true". How ever , after I rm -rf 
projectfolder, recreate a helloworld project, the same situation. I find a lot 
of EACCES problems on stackoverflow, but seems to be 1~2 years ago. That means 
there is no EACCES error appears recently. I have no idea how to correct it.

> cordova build failed for both android and ios
> -
>
> Key: CB-13018
> URL: https://issues.apache.org/jira/browse/CB-13018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-android@5.2.2, 7.0.1
> Environment: (1)MacOS: 10.12.5
> (2)node: v8.1.4
> (3)cordova: 7.0.1
> (4)*cordova platform ls*
>   android 6.2.3
>   ios 4.4.0
>Reporter: oscar peng
>Assignee: Joe Bowser
>  Labels: starter
>
> Following http://cordova.apache.org/docs/en/latest/guide/cli/index.html, 
> Create your first Cordova app.
> h1. cordova requirements
>  - Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
>   -  Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: not installed
> ios-deploy was not found. Please download, build and install version 1.9.0 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> CocoaPods: installed
> Error: Some of requirements check failed
> h1. sudo npm install -g ios-deploy --unsafe-perm=true
> h1. cordova requirements
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: installed 1.9.1
> CocoaPods: installed
> h1. cordova build (or cordova build android)
> ANDROID_HOME=/Users/open/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
> Error: spawn EACCES
> h1. cordova build ios
> ** BUILD FAILED **
> The following build commands failed:
>   PhaseScriptExecution Copy\ www\ directory 
> /Users/open/Library/Developer/Xcode/DerivedData/HelloWorld-fqxzydxnjuyjjobwofitkplrpyef/Build/Intermediates/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Script-304B58A110DAC018002A0835.sh
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/cordova/build-debug.xcconfig,-workspace,HelloWorld.xcworkspace,-scheme,HelloWorld,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> SE,build,CONFIGURATION_BUILD_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/sharedpch



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13018) cordova build failed for both android and ios

2017-07-13 Thread jcesarmobile (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16085362#comment-16085362
 ] 

jcesarmobile commented on CB-13018:
---

The android error seems to be a permission problem because you are using sudo 
to install things.
On iOS is not clear, but could be the same problem.

Don't use sudo to install npm packages

> cordova build failed for both android and ios
> -
>
> Key: CB-13018
> URL: https://issues.apache.org/jira/browse/CB-13018
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android, cordova-ios
>Affects Versions: cordova-ios@4.4.0, cordova-android@5.2.2, 7.0.1
> Environment: (1)MacOS: 10.12.5
> (2)node: v8.1.4
> (3)cordova: 7.0.1
> (4)*cordova platform ls*
>   android 6.2.3
>   ios 4.4.0
>Reporter: oscar peng
>Assignee: Joe Bowser
>  Labels: starter
>
> Following http://cordova.apache.org/docs/en/latest/guide/cli/index.html, 
> Create your first Cordova app.
> h1. cordova requirements
>  - Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
>   -  Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: not installed
> ios-deploy was not found. Please download, build and install version 1.9.0 or 
> greater from https://github.com/phonegap/ios-deploy into your path, or do 
> 'npm install -g ios-deploy'
> CocoaPods: installed
> Error: Some of requirements check failed
> h1. sudo npm install -g ios-deploy --unsafe-perm=true
> h1. cordova requirements
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: installed 
> android-26,android-25,android-24,android-N,android-23,Google Inc.:Google 
> APIs:23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14
> Gradle: installed /Applications/Android Studio 3.0 
> Preview.app/Contents/gradle/gradle-4.1-milestone-1/bin/gradle
> Requirements check results for ios:
> Apple OS X: installed darwin
> Xcode: installed 8.3.3
> ios-deploy: installed 1.9.1
> CocoaPods: installed
> h1. cordova build (or cordova build android)
> ANDROID_HOME=/Users/open/Library/Android/sdk
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home
> Error: spawn EACCES
> h1. cordova build ios
> ** BUILD FAILED **
> The following build commands failed:
>   PhaseScriptExecution Copy\ www\ directory 
> /Users/open/Library/Developer/Xcode/DerivedData/HelloWorld-fqxzydxnjuyjjobwofitkplrpyef/Build/Intermediates/HelloWorld.build/Debug-iphonesimulator/HelloWorld.build/Script-304B58A110DAC018002A0835.sh
> (1 failure)
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/cordova/build-debug.xcconfig,-workspace,HelloWorld.xcworkspace,-scheme,HelloWorld,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> SE,build,CONFIGURATION_BUILD_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/open/NodeProjects/cordova-projects/hello/platforms/ios/build/sharedpch



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org