|
1,开发证书、发布证书都配置好了,密码也检查过;
2,iOS Provisioning Profiles的App ID: ddzjames (cn.ddz.v001)
和应用包名(cn.ddz.v001)一致;
但是打包还是出错,出错信息如下(内容里*是做了处理):
。。。。。。。。。。。。。
cd /Users/x5/Documents/x5/model/Native/.workspace/C7163***35F0000168CC519A1951116E/build/platforms/ios
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/x5/Documents/x5/node:/Users/x5/Documents/x5/model/Native/.workspace/java/jdk1.8-x6*/Contents/Home/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "iPhone Distribution: Yanhui Liu (DMTZA*C85H)"
Provisioning Profile: "ddzmp"
(a885f62e-fd9f-*313-923a-5b2712c1255*)
/usr/bin/codesign --force --sign 6A2FBFD2386F6D*6AD7870*BEF2D0E826BC8E6AC --entitlements /Users/x5/Documents/x5/model/Native/.workspace/C7163***35F0000168CC519A1951116E/build/platforms/ios/build/对对租.build/Release-iphoneos/对对租.build/对对租.app.xcent --timestamp=none /Users/x5/Documents/x5/model/Native/.workspace/C7163***35F0000168CC519A1951116E/build/platforms/ios/build/device/对对租.app
/Users/x5/Documents/x5/model/Native/.workspace/C7163***35F0000168CC519A1951116E/build/platforms/ios/build/device/对对租.app: User canceled the operation.
Command /usr/bin/codesign failed with exit code 1
** BUILD FAILED **
The following build commands failed:
CodeSign build/device/对对租.app
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/x5/Documents/x5/model/Native/.workspace/C7163***35F0000168CC519A1951116E/build/platforms/ios/cordova/build-release.xcconfig,-project,对对租.xcodeproj,ARCHS=armv7 arm6*,-target,对对租,-configuration,Release,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm6*,CONFIGURATION_BUILD_DIR=/Users/x5/Documents/x5/model/Native/.workspace/C7163***35F0000168CC519A1951116E/build/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/x5/Documents/x5/model/Native/.workspace/C7163***35F0000168CC519A1951116E/build/platforms/ios/build/sharedpch
ERROR building one of the platforms: Error: /Users/x5/Documents/x5/model/Native/.workspace/C7163***35F0000168CC519A1951116E/build/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: /Users/x5/Documents/x5/model/Native/.workspace/C7163***35F0000168CC519A1951116E/build/platforms/ios/cordova/build: Command failed with exit code 2
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildIOS" finished with error.
****ERROR****: Build finished with error.
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html |
|