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

QQ登录

只需一步,快速开始

查看: 533|回复: 2

[结贴] IOS打包错误

[复制链接]

21

主题

49

帖子

133

积分

初级会员

Rank: 2

积分
133
QQ
发表于 2018-3-7 18:19:15 | 显示全部楼层 |阅读模式
360截图20180307181754574.jpg
具体日志:
      Libtool /Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/build/device/libCordova.a normal armv7
          cd /Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/CordovaLib
          export IPHONEOS_DEPLOYMENT_TARGET=9.3
          export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Volumes/X5/WeX5_V3.7-mac/node:/var/folders/gj/xjngvx493vg4y4njyc8w_vr00000gn/T/33d2eeb0-9fa7-45e5-b254-ba95647059eb/java/jdk1.8-x64/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/build/device -filelist /Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList -o /Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/build/device/libCordova.a
      
      === BUILD TARGET  OF PROJECT  WITH CONFIGURATION Debug ===
      
      Check dependencies
      Code Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.ble.lamp” were found.
      
      ERROR building one of the platforms: Error: /Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/cordova/build: Command failed with exit code 2
      You may not have the required environment or OS to build this project
      ** BUILD FAILED **
      
      
      The following build commands failed:
              Check dependencies
      (1 failure)
      Error code 65 for command: xcodebuild with args: -xcconfig,/Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/cordova/build-debug.xcconfig,-project,蓝牙灯.xcodeproj,ARCHS=armv7 arm64,-target,蓝牙灯,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/build/sharedpch
      Error: /Volumes/X5/WeX5_V3.7-mac/model/Native/蓝牙灯/build/src/platforms/ios/cordova/build: Command failed with exit code 2
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildIOS" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   /var/folders/gj/xjngvx493vg4y4njyc8w_vr00000gn/T/33d2eeb0-9fa7-45e5-b254-ba95647059eb/pack.xml:121: 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)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html

发表于 2018-3-8 10:24:35 | 显示全部楼层
Code Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “com.ble.lamp” were found.

打包证书 的 bundalID 和 包名不匹配

http://docs.wex5.com/wex5-app-question-list-2075/
http://docs.wex5.com/wex5-app-question-list-4004/
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

21

主题

49

帖子

133

积分

初级会员

Rank: 2

积分
133
QQ
 楼主| 发表于 2018-3-8 13:13:34 | 显示全部楼层
问题已经得到解决,谢谢!
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-28 09:28 , Processed in 0.062709 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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