|
【iOS发布模式打包报错】
2018-07-23 16:01:32.810 xcodebuild[11063:177237] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/h4/83nnrtgd6xbc8zjl1ghkgnq80000gn/T/涉农项目展示_2018-07-23_16-01-32.809.xcdistributionlogs'.
/var/folders/h4/83nnrtgd6xbc8zjl1ghkgnq80000gn/T/3076382e-a5e3-43f1-86c4-202c6f849064/pack.xml:122: 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)
2018-07-23 16:01:33.294 xcodebuild[11063:177237] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7f8d8e983fa0>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=IDEProfileQualificationErrorDomain Code=3 \"Provisioning profile \"GXCZ Distribution\" is not an \"iOS App Development\" profile.\" UserInfo={IDEProfileQualificationError_Profile=<DTDKProvisioningProfile 0x7f8d8e85e550: UUID: 7ee33644-300b-41c4-a258-7b8855f8a357, name: GXCZ Distribution, team: YXXJ33M868 (Chaogui Su), platform: iOS>, NSLocalizedDescription=Provisioning profile \"GXCZ Distribution\" is not an \"iOS App Development\" profile.}"
)}
error: exportArchive: Provisioning profile "GXCZ Distribution" is not an "iOS App Development" profile.
Error Domain=IDEProfileQualificationErrorDomain Code=3 "Provisioning profile "GXCZ Distribution" is not an "iOS App Development" profile." UserInfo={IDEProfileQualificationError_Profile=<DTDKProvisioningProfile 0x7f8d8e85e550: UUID: 7ee33644-300b-41c4-a258-7b8855f8a357, name: GXCZ Distribution, team: YXXJ33M868 (Chaogui Su), platform: iOS>, NSLocalizedDescription=Provisioning profile "GXCZ Distribution" is not an "iOS App Development" profile.}
Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,涉农项目展示.xcarchive,-exportOptionsPlist,/Users/lolita/Desktop/WeX5_3.8_prepub-mac/model/Native/涉农项目展示/build/src/platforms/ios/exportOptions.plist,-exportPath,/Users/lolita/Desktop/WeX5_3.8_prepub-mac/model/Native/涉农项目展示/build/src/platforms/ios/build/device
** EXPORT FAILED **
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildIOS" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
我比较想知道为什么我选的发布模式,报错信息告诉我,我的发布证书不是开发证书
error: exportArchive: Provisioning profile "GXCZ Distribution" is not an "iOS App Development" profile. |
|