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

QQ登录

只需一步,快速开始

查看: 1535|回复: 1

[结贴] ios服务器打包出错,求解决

[复制链接]

14

主题

28

帖子

80

积分

初级会员

Rank: 2

积分
80
QQ
发表于 2015-2-12 12:41:17 | 显示全部楼层 |阅读模式
Build started.
Task "property" started.
Task "property" finished.
Task "path" started.
Task "path" finished.
Task "typedef" started.
Task "typedef" finished.
Task "svnSetting" started.
Task "svnSetting" finished.
Task "typedef" started.
Task "typedef" finished.
Target "clean" started.
Task "delete" started.
Deleting directory /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build
Task "delete" finished.
Task "delete" started.
Deleting directory /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/plugins
Task "delete" finished.
Task "delete" started.
Deleting directory /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/dist
Task "delete" finished.
Target "clean" finished.
Target "createApp" started.
Task "copy" started.
Copying 607 files to /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build
Copied 168 empty directories to 16 empty directories under /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build
Task "copy" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "copy" started.
Copying 1633 files to /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/plugins
Copied 665 empty directories to 8 empty directories under /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/plugins
Task "copy" finished.
Target "createApp" finished.
Target "mergeResources" started.
Task "unzip" started.
Expanding: /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/upload/x5.zip into /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build
Task "unzip" finished.
Task "unzip" started.
Expanding: /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/upload/x5.zip into /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0
Task "unzip" finished.
Task "property" started.
Task "property" finished.
Target "mergeResources" finished.
Target "prepareBuild" started.
Task "mkdir" started.
Task "mkdir" finished.
Task "mkdir" started.
Created dir: /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/dist
Task "mkdir" finished.
Task "prepareBuild" started.
Task "prepareBuild" finished.
Target "prepareBuild" finished.
Target "prepareAndroidBuild" started.
Task "propertyfile" started.
Updating property file: /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build/platforms/android/ant.properties
Task "propertyfile" finished.
Task "copy" started.
Copying 1 file to /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build/platforms/android
Task "copy" finished.
Target "prepareAndroidBuild" finished.
Target "prepareIOSBuild" started.
Task "exec" started.
1 identity imported.
Task "exec" finished.
Task "copy" started.
Copying 1 file to /Users/x5/Library/MobileDevice/Provisioning Profiles
Task "copy" finished.
Target "prepareIOSBuild" finished.
Target "addPlugins" started.
Task "property" started.
Task "property" finished.
Task "exec" started.
Installing "org.apache.cordova.splashscreen" for android
Installing "org.apache.cordova.splashscreen" for ios
Task "exec" finished.
Target "addPlugins" finished.
Target "buildAndroid" started.
Task "property" started.
Task "property" finished.
Task "exec" started.
Running command: /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build/platforms/android/cordova/build --release
Buildfile: /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build/platforms/android/build.xml
Buildfile: /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build/platforms/android/build.xml

-check-env:

-set-mode-check:

-set-release-mode:
[checkenv] Android SDK Tools Revision 23.0.5
[checkenv] Installed at /Volumes/X5/bin/adt-bundle/sdk

-setup:
     [echo] Project Name: X5

-release-obfuscation-check:
     [echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
[checkenv] Android SDK Tools Revision 23.0.5
[checkenv] Installed at /Volumes/X5/bin/adt-bundle/sdk

-setup:
     [echo] Project Name: X5
  [gettype] Project Type: Application

-build-setup:
  [gettype] Project Type: Application

-pre-clean:

clean:
[getlibpath] Library dependencies:
[getlibpath]
[getlibpath] ------------------
[getlibpath] Ordered libraries:
[getbuildtools] Using latest Build Tools: 20.0.0
     [echo] Resolving Build Target for X5...
[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19

BUILD FAILED
/Volumes/X5/bin/adt-bundle/sdk/tools/ant/build.xml:542: Application package 'ivimoo' must have a minimum of 2 segments.

Total time: 3 seconds

/Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
Error code 1 for command: ant with args: release,-f,/Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build/platforms/android/build.xml
Error: /Volumes/X5/workspace/build/C67E4A74D3800001F46E1DF01790C0D0/build/platforms/android/cordova/build: Command failed with exit code 8
    at ChildProcess.whenDone (/Volumes/X5/bin/node-v0.10.33-darwin-x64/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildAndroid" finished with error.
****ERROR****: Build finished with error.
****ERROR**** 错误信息: exec returned: 1
****ERROR**** 调用栈:
        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.GeneratedMethodAccessor65.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)

这是打包服务器日志,还有一个问题,我的两个证书是重命名成ios.distribution.mobileprovision和ios.distribution.p12,会对打包产生影响吗

10

主题

897

帖子

1909

积分

版主

Rank: 7Rank: 7Rank: 7

积分
1909
QQ
发表于 2015-2-12 12:56:16 | 显示全部楼层
Application package 'ivimoo' must have a minimum of 2 segments.
包名必须是至少2块 ivimoo.x5之类的 不能只有一块
qq上找我时候,不要问我在不,直接发问题,我看到后会去论坛回复你的帖子。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-22 00:02 , Processed in 0.084168 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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