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

QQ登录

只需一步,快速开始

查看: 2050|回复: 0

[未处理] 3.8版苹果打包出错,望高手指点

[复制链接]

40

主题

173

帖子

453

积分

中级会员

Rank: 3Rank: 3

积分
453
QQ
发表于 2019-10-31 11:55:15 | 显示全部楼层 |阅读模式
   Ld /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/XXX normal arm64
          cd /Users/x5/Desktop/WeX53.8/model/Native/XXX/build/src/platforms/ios
          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:/Users/x5/Desktop/WeX53.8/node:/var/folders/xw/6trf1ktd04531k29b21r_h500000gn/T/f014cb12-fd95-47dc-88dc-f200f58ba03b/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/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/x5/Desktop/WeX53.8/model/Native/XXX/build/src/platforms/ios/build/device -L/Users/x5/Desktop/WeX53.8/model/Native/XXX/build/src/platforms/ios/XXX/Plugins/com.justep.cordova.plugin.barcodescanner -F/Users/x5/Desktop/WeX53.8/model/Native/XXX/build/src/platforms/ios/build/device -filelist /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/XXX.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.3 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/XXX_lto.o -Xlinker -final_output -Xlinker /Applications/XXX.app/XXX -fobjc-arc -fobjc-link-runtime -ObjC /Users/x5/Desktop/WeX53.8/model/Native/XXX/build/src/platforms/ios/build/device/libCordova.a -weak_framework SystemConfiguration -framework CoreTelephony -lz -framework QuartzCore -liconv -framework AVFoundation -framework CoreVideo -framework CoreImage -framework AudioToolbox -framework ImageIO -luchardet -Xlinker -dependency_info -Xlinker /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/XXX_dependency_info.dat -o /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/XXX
      duplicate symbol _OBJC_CLASS_$_CDVBarcodeScanner in:
          /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/CDVBarcodeScanner-81A95E98EA04A292.o
          /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/CDVBarcodeScanner-66EE5FC914D5743B.o
      duplicate symbol _OBJC_METACLASS_$_CDVBarcodeScanner in:
          /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/CDVBarcodeScanner-81A95E98EA04A292.o
          /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/CDVBarcodeScanner-66EE5FC914D5743B.o
      ld: 2 duplicate symbols for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      
      ** ARCHIVE FAILED **
      
      
      The following build commands failed:
              Ld /Users/x5/Library/Developer/Xcode/DerivedData/XXX-frkcywnbwixfliemkzsgoxrqhpwf/Build/Intermediates.noindex/ArchiveIntermediates/XXX/IntermediateBuildFilesPath/XXX.build/Release-iphoneos/XXX.build/Objects-normal/arm64/XXX normal arm64
      (1 failure)
      Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/x5/Desktop/WeX53.8/model/Native/XXX/build/src/platforms/ios/cordova/build-release.xcconfig,-workspace,XXX.xcworkspace,-scheme,XXX,-configuration,Release,-destination,generic/platform=iOS,-archivePath,XXX.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/x5/Desktop/WeX53.8/model/Native/XXX/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/x5/Desktop/WeX53.8/model/Native/XXX/build/src/platforms/ios/build/sharedpch,-UseModernBuildSystem=0
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildIOS" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   /var/folders/xw/6trf1ktd04531k29b21r_h500000gn/T/f014cb12-fd95-47dc-88dc-f200f58ba03b/pack.xml:122: 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(BuildHelper.java:190)
           at com.justep.deploy.app.utils.Builder.main(Builder.java:118)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html

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

本版积分规则

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

GMT+8, 2024-11-24 08:18 , Processed in 0.081739 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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