|
IOS打包的证书,密码等参数设置都没有问题。
上周还可以打包,这周就报这个错误了。
看日志说是没有对应的编译环境?但并没有更新系统或xcode。
macOS Sierra 版本10.12.6
XCode Version 7.3.1 (7D1014)
请问有哪位大大知道怎么解决吗?
下面的日志 项目名称 的 package已做处理。
错误日志如下(完整日志太长,发不了):
CompileC build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/CDVTimer.o Classes/CDVTimer.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/WeX5_V3.5-mac/node:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=6.0 -g -Wno-sign-conversion -iquote /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-generated-files.hmap -I/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-own-target-headers.hmap -I/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-all-target-headers.hmap -iquote /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Cordova-project-headers.hmap -I/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/build/device/include -I/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/DerivedSources/arm64 -I/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/DerivedSources -F/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/build/device -include /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/build/sharedpch/CordovaLib_Prefix-bpymooxvkfeacbecqxynurppyrzn/CordovaLib_Prefix.pch -MMD -MT dependencies -MF /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/CDVTimer.d --serialize-diagnostics /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/CDVTimer.dia -c /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/Classes/CDVTimer.m -o /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/CDVTimer.o
Libtool build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a normal armv7
cd /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/WeX5_V3.5-mac/node:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/build/device -filelist /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList -o /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a
Libtool build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/libCordova.a normal arm64
cd /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/WeX5_V3.5-mac/node:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only arm64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/build/device -filelist /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/Cordova.LinkFileList -o /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/libCordova.a
CreateUniversalBinary /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/build/device/libCordova.a normal armv7\ arm64
cd /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/WeX5_V3.5-mac/node:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/armv7/libCordova.a /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Release-iphoneos/CordovaLib.build/Objects-normal/arm64/libCordova.a -o /Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/build/device/libCordova.a
=== BUILD TARGET OF PROJECT WITH CONFIGURATION Release ===
Check dependencies
Code Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.xxx.mescd” were found.
warning: no rule to process file '/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/我的项目/Plugins/phonegap-plugin-barcodescanner/ZXDataMatrixEncoder.h' of type sourcecode.c.h for architecture armv7
warning: no rule to process file '/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/我的项目/Plugins/phonegap-plugin-barcodescanner/ZXDataMatrixEncoder.h' of type sourcecode.c.h for architecture arm64
ERROR building one of the platforms: Error: /Applications/WeX5_V3.5-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 project
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/cordova/build-release.xcconfig,-project,我的项目.xcodeproj,ARCHS=armv7 arm64,-target,我的项目,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Applications/WeX5_V3.5-mac/model/Native/我的项目/build/src/platforms/ios/build/sharedpch
Error: /Applications/WeX5_V3.5-mac/model/Native/我的项目/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 |
|