|
用的虚拟机V3.5,然后又安装了一个v3.6
在工具内直接打包报错
You may not have the required environment or OS to build this project
退回V3.5打包,依然这个拨错
- 开始......
-
- 保存配置信息:
-
- 编译UI资源:
-
- 清除编译环境:
-
- 复制模版工程:
-
- 复制工程:
-
- 复制插件:
-
- 复制WWW资源:
-
- 更新工程信息:
-
- 增加插件:
- 使用到的插件: [phonegap-plugin-barcodescanner, cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, cordova-plugin-x-toast, cordova-plugin-inappbrowser, cordova-plugin-app-version, phonegap-plugin-barcodescanner]
- 开始安装插件......
- 开始准备插件参数......
- 插件 "phonegap-plugin-barcodescanner" 参数如下:
- 插件 "cordova-plugin-splashscreen" 参数如下:
- 插件 "cordova-plugin-app-preferences" 参数如下:
- 插件 "cordova-plugin-file" 参数如下:
- 插件 "cordova-plugin-file-transfer" 参数如下:
- 插件 "cordova-plugin-network-information" 参数如下:
- 插件 "cordova-plugin-zip" 参数如下:
- 插件 "cordova-plugin-inappbrowser" 参数如下:
- 插件 "cordova-plugin-x-toast" 参数如下:
- 插件 "com.justep.cordova.plugin.app.utils" 参数如下:
- 插件 "cordova-plugin-app-version" 参数如下:
- 插件参数准备完成
- Installing "phonegap-plugin-barcodescanner" for android
- Installing "phonegap-plugin-barcodescanner" for ios
- Installing "cordova-plugin-splashscreen" for android
- Installing "cordova-plugin-splashscreen" for ios
- Installing "cordova-plugin-app-preferences" for android
- Installing "cordova-plugin-app-preferences" for ios
- Installing "cordova-plugin-file" for android
- Installing "cordova-plugin-file" for ios
- Installing "cordova-plugin-file-transfer" for android
- Dependent plugin "cordova-plugin-file" already installed on android.
- Installing "cordova-plugin-file-transfer" for ios
- Dependent plugin "cordova-plugin-file" already installed on ios.
- Installing "cordova-plugin-network-information" for android
- Installing "cordova-plugin-network-information" for ios
- Installing "cordova-plugin-zip" for android
- Dependent plugin "cordova-plugin-file" already installed on android.
- Installing "cordova-plugin-zip" for ios
- Dependent plugin "cordova-plugin-file" already installed on ios.
- Installing "cordova-plugin-inappbrowser" for android
- Installing "cordova-plugin-inappbrowser" for ios
- Installing "cordova-plugin-x-toast" for android
- Installing "cordova-plugin-x-toast" for ios
- Installing "com.justep.cordova.plugin.app.utils" for android
- Dependent plugin "cordova-plugin-file" already installed on android.
- Dependent plugin "cordova-plugin-file-transfer" already installed on android.
- Dependent plugin "cordova-plugin-network-information" already installed on android.
- Dependent plugin "cordova-plugin-zip" already installed on android.
- Dependent plugin "cordova-plugin-inappbrowser" already installed on android.
- Dependent plugin "cordova-plugin-x-toast" already installed on android.
- Installing "com.justep.cordova.plugin.app.utils" for ios
- Dependent plugin "cordova-plugin-file" already installed on ios.
- Dependent plugin "cordova-plugin-file-transfer" already installed on ios.
- Dependent plugin "cordova-plugin-network-information" already installed on ios.
- Dependent plugin "cordova-plugin-zip" already installed on ios.
- Dependent plugin "cordova-plugin-inappbrowser" already installed on ios.
- Dependent plugin "cordova-plugin-x-toast" already installed on ios.
- Installing "cordova-plugin-app-version" for android
- Installing "cordova-plugin-app-version" for ios
- 插件安装完成
-
- 创建源代码工程:
-
- ios应用环境准备:
- 1 identity imported.
-
-
- 生成ios应用包:
- Running command: /Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/cordova/build --debug --device
- Building project : /Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/Credit.xcodeproj
- Configuration : Debug
- Platform : device
- Build settings from command line:
- ARCHS = armv7 arm64
- CONFIGURATION_BUILD_DIR = /Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/build/device
- SDKROOT = iphoneos9.3
- SHARED_PRECOMPS_DIR = /Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/build/sharedpch
- VALID_ARCHS = armv7 arm64
-
- Build settings from configuration file '/Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/cordova/build-debug.xcconfig':
- CODE_SIGN_IDENTITY = iPhone Developer
- ENABLE_BITCODE = NO
-
- === BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Debug ===
-
- Check dependencies
-
-
-
- ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/cordova/build: Command failed with exit code 2
- You may not have the required environment or OS to build this project
- ** BUILD FAILED **
-
-
- The following build commands failed:
- Check dependencies
- (1 failure)
- Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/cordova/build-debug.xcconfig,-project,Credit.xcodeproj,ARCHS=armv7 arm64,-target,Credit,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/build/sharedpch
- Error: /Volumes/X5/WeX5/model/Native/Credit/build/src/platforms/ios/cordova/build: Command failed with exit code 2
- ****ERROR****: 子任务 "exec" 执行失败。
- ****ERROR****: 任务 "buildIOS" 执行失败。
- ****ERROR****: 执行出错:
- ****ERROR****: 错误信息: exec returned: 1
- ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
复制代码 |
|