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

QQ登录

只需一步,快速开始

查看: 2359|回复: 2

[处理中3] mac系统打包错误

[复制链接]

14

主题

55

帖子

205

积分

中级会员

Rank: 3Rank: 3

积分
205
QQ
发表于 2017-9-12 00:10:38 | 显示全部楼层 |阅读模式

  1.             
  2.       /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/CordovaLib/Classes/Public/CDVURLProtocol.m:186:60: warning: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
  3.               ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
  4.                                                                  ^
  5.       In file included from /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/CordovaLib/Classes/Public/CDVURLProtocol.m:20:
  6.       In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:15:
  7.       /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:80:12: note: 'ALAssetsLibrary' has been explicitly marked deprecated here
  8.       @interface ALAssetsLibrary : NSObject {
  9.                  ^
  10.       /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/CordovaLib/Classes/Public/CDVURLProtocol.m:187:24: warning: 'assetForURL:resultBlock:failureBlock:' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
  11.               [assetsLibrary assetForURL:url resultBlock:resultBlock failureBlock:failureBlock];
  12.                              ^
  13.       In file included from /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/CordovaLib/Classes/Public/CDVURLProtocol.m:20:
  14.       In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:15:
  15.       /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:95:1: note: 'assetForURL:resultBlock:failureBlock:' has been explicitly marked deprecated here
  16.       - (void)assetForURL:(NSURL *)assetURL resultBlock:(ALAssetsLibraryAssetForURLResultBlock)resultBlock failureBlock:(ALAssetsLibraryAccessFailureBlock)failureBlock NS_DEPRECATED_IOS(4_0, 9_0, "Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead");
  17.       ^
  18.       12 warnings generated.
  19.       
  20.       Libtool /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/build/device/libCordova.a normal armv7
  21.           cd /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/CordovaLib
  22.           export IPHONEOS_DEPLOYMENT_TARGET=9.3
  23.           export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/hoengsingwan/Desktop/WeX5_V3.7-mac/node:/var/folders/z8/hkcn0fcj4c94xck_jzfz379h0000gp/T/fdd7dd6d-735a-4de3-ac52-e94f2ca4cccd/java/jdk1.8-x64/Contents/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
  24.           /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/iPhoneOS10.3.sdk -L/Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/build/device -filelist /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList -o /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/build/device/libCordova.a
  25.       
  26.       === BUILD TARGET juzitest OF PROJECT juzitest WITH CONFIGURATION Debug ===
  27.       
  28.       Check dependencies
  29.       Signing for "juzitest" requires a development team. Select a development team in the project editor.
  30.       Code signing is required for product type 'Application' in SDK 'iOS 10.3'
  31.       
  32.       ERROR building one of the platforms: Error: /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/cordova/build: Command failed with exit code 2
  33.       You may not have the required environment or OS to build this project
  34.       ** BUILD FAILED **
  35.       
  36.       
  37.       The following build commands failed:
  38.               Check dependencies
  39.       (1 failure)
  40.       Error code 65 for command: xcodebuild with args: -xcconfig,/Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/cordova/build-debug.xcconfig,-project,juzitest.xcodeproj,ARCHS=armv7 arm64,-target,juzitest,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/build/sharedpch
  41.       Error: /Users/hoengsingwan/Desktop/WeX5_V3.7-mac/model/Native/juzitest/build/src/platforms/ios/cordova/build: Command failed with exit code 2
  42.    ****ERROR****: 子任务 "exec" 执行失败。
  43.    ****ERROR****: 任务 "buildIOS" 执行失败。
  44.    ****ERROR****: 执行出错:
  45.    ****ERROR****: 错误信息: exec returned: 1
  46.    ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
  47.    /var/folders/z8/hkcn0fcj4c94xck_jzfz379h0000gp/T/fdd7dd6d-735a-4de3-ac52-e94f2ca4cccd/pack.xml:121: exec returned: 1
  48.            at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
  49.            at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
  50.            at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
  51.            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
  52.            at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  53.            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  54.            at java.lang.reflect.Method.invoke(Method.java:497)
  55.            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  56.            at org.apache.tools.ant.Task.perform(Task.java:348)
  57.            at org.apache.tools.ant.Target.execute(Target.java:435)
  58.            at org.apache.tools.ant.Target.performTasks(Target.java:456)
  59.            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
  60.            at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
  61.            at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
  62.            at com.justep.deploy.app.utils.Builder.main(Unknown Source)
  63. ****ERROR****: 子任务 "java" 执行失败。
  64. ****ERROR****: 任务 "pack" 执行失败。
  65. ****ERROR****: 执行出错:
  66. ****ERROR****: 错误信息: Java returned: 253
  67. ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
复制代码

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36064
发表于 2017-9-12 10:44:10 | 显示全部楼层
签名不正确
mac.png
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

1

主题

4

帖子

10

积分

新手上路

Rank: 1

积分
10
QQ
发表于 2017-10-10 17:57:45 | 显示全部楼层

怎么解决这个签名不正确,是发布证书还是什么
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-22 06:35 , Processed in 0.069632 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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