起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1024|回复: 3

[结贴] app打包ios开发模式正常但是发布模式就抱错

[复制链接]

30

主题

125

帖子

305

积分

中级会员

Rank: 3Rank: 3

积分
305
QQ
发表于 2016-5-5 16:56:45 | 显示全部楼层 |阅读模式
。。。。。。。。。。。。。。。。。
2016-05-05 16:50:51
2016-05-05 16:50:51 === BUILD TARGET X5 OF PROJECT X5 WITH CONFIGURATION Release ===
2016-05-05 16:50:51
2016-05-05 16:50:51 Check dependencies
2016-05-05 16:50:51 Code Sign error: No matching provisioning profiles found: No provisioning profiles matching an applicable signing identity were found.
2016-05-05 16:50:51
2016-05-05 16:50:51 ** BUILD FAILED **
2016-05-05 16:50:51
2016-05-05 16:50:51
2016-05-05 16:50:51 The following build commands failed:
2016-05-05 16:50:51         Check dependencies
2016-05-05 16:50:51 (1 failure)
2016-05-05 16:50:51 Error: /Users/tangjing/Downloads/WeX5_V3.2.1-mac/model/Native/.workspace/C6FE77ED309000014CD81F001E3012D9/build/platforms/ios/cordova/build: Command failed with exit code 65
2016-05-05 16:50:51     at ChildProcess.whenDone (/Users/tangjing/Downloads/WeX5_V3.2.1-mac/tools/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
2016-05-05 16:50:51     at ChildProcess.emit (events.js:98:17)
2016-05-05 16:50:51     at maybeClose (child_process.js:756:16)
2016-05-05 16:50:51     at Process.ChildProcess._handle.onexit (child_process.js:823:5)
2016-05-05 16:50:51 Task "exec" finished with error.
/Users/tangjing/Downloads/WeX5_V3.2.1-mac/model/Native/.workspace/C6FE77ED309000014CD81F001E3012D9/build/build.xml:137: 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.GeneratedMethodAccessor44.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        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.servlet.Pack.a(Unknown Source)
        at com.justep.deploy.app.servlet.Pack.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
2016-05-05 16:50:51 Target "buildIOS" finished with error.
/Users/tangjing/Downloads/WeX5_V3.2.1-mac/model/Native/.workspace/C6FE77ED309000014CD81F001E3012D9/build/build.xml:137: 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.GeneratedMethodAccessor44.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        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.servlet.Pack.a(Unknown Source)
        at com.justep.deploy.app.servlet.Pack.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)
2016-05-05 16:50:51 Build finished with error.
/Users/tangjing/Downloads/WeX5_V3.2.1-mac/model/Native/.workspace/C6FE77ED309000014CD81F001E3012D9/build/build.xml:137: 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.GeneratedMethodAccessor44.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        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.servlet.Pack.a(Unknown Source)
        at com.justep.deploy.app.servlet.Pack.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:745)

30

主题

125

帖子

305

积分

中级会员

Rank: 3Rank: 3

积分
305
QQ
 楼主| 发表于 2016-5-5 17:01:29 | 显示全部楼层
...................
插件安装完成

创建源代码工程:

使用代理服务生成应用包:
   压缩应用源代码......
   上传应用源代码到服务端......
   服务端正在执行......
****ERROR****: 子任务 "pack" 执行失败。
****ERROR****: 任务 "packUseAppBuilderServer" 执行失败。
****ERROR****: 执行出错:
****ERROR**** 错误信息: 执行HTTP请求失败,错误信息:生成app包失败!
错误原因:
错误栈:
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.GeneratedMethodAccessor44.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:606)        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.servlet.Pack.a(Unknown Source)        at com.justep.deploy.app.servlet.Pack.doPost(Unknown Source)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)        at java.lang.Thread.run(Thread.java:745)
****ERROR**** 调用栈:
        at com.justep.tools.ant.task.HttpTask.processResponse(Unknown Source)
        at com.justep.tools.ant.task.HttpTask.execute(Unknown Source)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        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 Pack.execTask(Pack.java:46)
        at Pack.access$000(Pack.java:25)
        at Pack$1.run(Pack.java:95)
        at java.lang.Thread.run(Thread.java:745)


回复 支持 反对

使用道具 举报

30

主题

125

帖子

305

积分

中级会员

Rank: 3Rank: 3

积分
305
QQ
 楼主| 发表于 2016-5-5 17:13:45 | 显示全部楼层
图片是我打包步骤,但是失败了,不知什么原因,请指教!
step1.png
step2.png
step3.png
step4.png
step5.png
step6.png
step7.png
step8.png
step9.png
回复 支持 反对

使用道具 举报

30

主题

125

帖子

305

积分

中级会员

Rank: 3Rank: 3

积分
305
QQ
 楼主| 发表于 2016-5-5 19:09:33 | 显示全部楼层
证书的问题,我将重新生成IOS证书,就好了!重点生成IOS证书时候identifiers中的app ids,name 设置随便 ID 用的*通配符,其他跟网上写的一样。可以结单了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-12-5 03:32 , Processed in 0.061786 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表