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

QQ登录

只需一步,快速开始

查看: 694|回复: 4

[处理中3] ios打包出错

[复制链接]

2

主题

4

帖子

28

积分

新手上路

Rank: 1

积分
28
QQ
发表于 2018-7-10 17:33:06 | 显示全部楼层 |阅读模式
You have been opted out of telemetry. To change this, run: cordova telemetry on.
      args.nofetch undefined
      android project rename compelete!!!!!!
      ios project rename compelete!!!!!![xmldom error]        element parse error: Error: invalid tagName:�PY��%��f���l�WԀJ���
      @#[line:9,col:8]
      
      [xmldom warning]        attribute "s��L��#�n&" missed value!! "s��L��#�n&" instead2!!
      @#[line:10,col:25]
      [xmldom error]        element parse error: Error: invalid attribute:s��L��#�n&
      @#[line:10,col:25]
      [xmldom error]        element parse error: Error: invalid tagName:
      @#[line:13,col:8]
      [xmldom warning]        attribute "��)" missed value!! "��)" instead2!!
      @#[line:13,col:83]
      [xmldom error]        element parse error: Error: invalid attribute:��)
      @#[line:13,col:83]
      [xmldom warning]        attribute "8�9P�Q�}�(`�PL��" missed value!! "8�9P�Q�}�(`�PL��" instead2!!
      @#[line:14,col:49]
      [xmldom error]        element parse error: Error: invalid attribute:8�9P�Q�}�(`�PL��
      @#[line:14,col:49]
      [xmldom error]        element parse error: Error: invalid tagName:1�of��B
      @#[line:15,col:125]
      [xmldom error]        element parse error: Error: invalid tagName:
      @#[line:16,col:145]
      [xmldom error]        element parse error: Error: invalid tagName:
      @#[line:16,col:165]
      [xmldom warning]        attribute ",�/" missed quot(")!!
      @#[line:18,col:2]
      [xmldom error]        element parse error: Error: invalid attribute:�G��aNm�`u
      @#[line:18,col:2]
      [xmldom error]        element parse error: Error: invalid tagName:
      @#[line:29,col:45]
      [xmldom warning]        attribute "U��G�4���REv���Amt��" missed value!! "U��G�4���REv���Amt��" instead2!!
      @#[line:29,col:105]
      [xmldom warning]        attribute value must after "="
      @#[line:29,col:105]
      [xmldom error]        element parse error: Error: invalid attribute:�F�|��l�
      @#[line:29,col:105]
      [xmldom error]        element parse error: Error: elements closed character '/' and '>' must be connected to
      @#[line:33,col:14]
      [xmldom warning]        attribute "�r" missed value!! "�r" instead2!!
      @#[line:35,col:94]
      [xmldom warning]        attribute value must after "="
      @#[line:35,col:94]
      [xmldom warning]        attribute space is required"������"!!
      @#[line:35,col:94]
      [xmldom warning]        attribute ";\��R̋��urݍ" missed value!! ";\��R̋��urݍ" instead2!!
      @#[line:35,col:94]
      [xmldom error]        element parse error: Error: invalid attribute:;\��R̋��urݍ
      @#[line:35,col:94]
   /var/folders/11/34dbhcmx56v5rwcdz1hp_m5w0000gp/T/d7ea36f4-7556-4489-92ce-7d82aa4d1696/genSource.xml:149: /var/folders/11/34dbhcmx56v5rwcdz1hp_m5w0000gp/T/d7ea36f4-7556-4489-92ce-7d82aa4d1696/genSource.xml:149: UpdateSource returned: 1
           at com.justep.tools.ant.task.app.UpdateSourceTask.execute(Unknown Source)
           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)
   Caused by: /var/folders/11/34dbhcmx56v5rwcdz1hp_m5w0000gp/T/d7ea36f4-7556-4489-92ce-7d82aa4d1696/genSource.xml:149: UpdateSource returned: 1
           at com.justep.tools.ant.task.app.UpdateSourceTask.a(Unknown Source)
           ... 13 more
      Error: The product name change (<name> tag) in config.xml is not supported dynamically.
      To change your product name, you have to remove, then add your ios platform again.
      Make sure you save your plugins beforehand using `cordova plugin save`.
              cordova plugin save
              cordova platform rm ios
              cordova platform add ios
      
   ****ERROR****: 子任务 "UpdateSource" 执行失败。
   ****ERROR****: 任务 "updateProject" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: /var/folders/11/34dbhcmx56v5rwcdz1hp_m5w0000gp/T/d7ea36f4-7556-4489-92ce-7d82aa4d1696/genSource.xml:149: UpdateSource returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "prepareSource" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
发表于 2018-7-10 17:41:05 | 显示全部楼层
请问你的wex5 版本是多少呢??
建议先打包下平台案例,比如仿途牛,包名换成你自己的试试!

建议 wex5 3.8版本, 解压在磁盘一级目录下(目录不要太长,不要有中文和空格)再试试看

先保证打包环境正常,再打包你的应用,你没有自定义corodva插件(自己加插件吧?)
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

2

主题

4

帖子

28

积分

新手上路

Rank: 1

积分
28
QQ
 楼主| 发表于 2018-7-11 08:32:00 | 显示全部楼层
liangyongfei 发表于 2018-7-10 17:41
请问你的wex5 版本是多少呢??
建议先打包下平台案例,比如仿途牛,包名换成你自己的试试!

我是macbook,用的是3.8最新,打包其他也是出现错误,自动添加插件,下面没有显示插件的
以下是淘宝错误
at com.justep.tools.ant.task.app.UpdateSourceTask.a(Unknown Source)
           ... 13 more
      Error: The product name change (<name> tag) in config.xml is not supported dynamically.
      To change your product name, you have to remove, then add your ios platform again.
      Make sure you save your plugins beforehand using `cordova plugin save`.
              cordova plugin save
              cordova platform rm ios
              cordova platform add ios
      
   ****ERROR****: 子任务 "UpdateSource" 执行失败。
   ****ERROR****: 任务 "updateProject" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: /var/folders/11/34dbhcmx56v5rwcdz1hp_m5w0000gp/T/40aad359-510f-42c3-9966-c70a4abb0426/genSource.xml:149: UpdateSource returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "prepareSource" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

2

主题

4

帖子

28

积分

新手上路

Rank: 1

积分
28
QQ
 楼主| 发表于 2018-7-11 08:32:06 | 显示全部楼层
liangyongfei 发表于 2018-7-10 17:41
请问你的wex5 版本是多少呢??
建议先打包下平台案例,比如仿途牛,包名换成你自己的试试!

我是macbook,用的是3.8最新,打包其他也是出现错误,自动添加插件,下面没有显示插件的
以下是淘宝错误
at com.justep.tools.ant.task.app.UpdateSourceTask.a(Unknown Source)
           ... 13 more
      Error: The product name change (<name> tag) in config.xml is not supported dynamically.
      To change your product name, you have to remove, then add your ios platform again.
      Make sure you save your plugins beforehand using `cordova plugin save`.
              cordova plugin save
              cordova platform rm ios
              cordova platform add ios
      
   ****ERROR****: 子任务 "UpdateSource" 执行失败。
   ****ERROR****: 任务 "updateProject" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: /var/folders/11/34dbhcmx56v5rwcdz1hp_m5w0000gp/T/40aad359-510f-42c3-9966-c70a4abb0426/genSource.xml:149: UpdateSource returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "prepareSource" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36044
发表于 2018-7-11 14:11:39 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-25 03:17 , Processed in 0.070492 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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