生成ios应用包:
Running command: "/Users/wxhl/Desktop/WeX5_V3.7-mac/model/Native/ 回民党建/build/src/platforms/ios/cordova/build" --release --device
/var/folders/hx/tz9y6wp56jx_2fkm_r64t9z00000gn/T/b5478e67-6396-4f34-86d8-1a01fae691d4/pack.xml:121: exec returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
at com.justep.deploy.app.utils.Builder.main(Unknown Source)
ERROR building one of the platforms: Error: /Users/wxhl/Desktop/WeX5_V3.7-mac/model/Native/ 回民党建/build/src/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this projectxcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer")
does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that
you wish to use for command line developer tools (or see `man xcode-select`)
Cordova can only run in Xcode version 4.6 or greater.
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory
'/Library/Developer/CommandLineTools' is a command line tools instance