|
楼主 |
发表于 2018-10-10 11:17:54
|
显示全部楼层
我替换了你给的那个文件,wex5自带的案例打包没问题,但是我项目打包还是报错,看不明白这个报错什么意思:
Ld /Users/flux/Library/Developer/Xcode/DerivedData/配送签收-cmeqkvihbfkhzfhbbevgthqzhlgb/Build/Intermediates.noindex/ArchiveIntermediates/配送签收/IntermediateBuildFilesPath/配送签收.build/Debug-iphoneos/配送签收.build/Objects-normal/arm64/配送签收 normal arm64
cd /Users/flux/wex5/WeX5_3.8-mac/model/Native/配送签收/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/flux/wex5/WeX5_3.8-mac/node:/var/folders/01/hbmxlllx57xbdq5kyw6cv7dw0000gp/T/b68d67c6-3e22-4b47-87bd-85cdfd1c958d/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.0.sdk -L/Users/flux/wex5/WeX5_3.8-mac/model/Native/配送签收/build/src/platforms/ios/build/device -L/Users/flux/wex5/WeX5_3.8-mac/model/Native/配送签收/build/src/platforms/ios/配送签收/Plugins/com.justep.cordova.plugin.baiduMapBase -F/Users/flux/wex5/WeX5_3.8-mac/model/Native/配送签收/build/src/platforms/ios/build/device -F配送签收/Plugins/com.justep.cordova.plugin.baiduMapBase -F配送签收/Plugins/com.justep.cordova.plugin.baiduMapSearch -filelist /Users/flux/Library/Developer/Xcode/DerivedData/配送签收-cmeqkvihbfkhzfhbbevgthqzhlgb/Build/Intermediates.noindex/ArchiveIntermediates/配送签收/IntermediateBuildFilesPath/配送签收.build/Debug-iphoneos/配送签收.build/Objects-normal/arm64/配送签收.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.3 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/flux/Library/Developer/Xcode/DerivedData/配送签收-cmeqkvihbfkhzfhbbevgthqzhlgb/Build/Intermediates.noindex/ArchiveIntermediates/配送签收/IntermediateBuildFilesPath/配送签收.build/Debug-iphoneos/配送签收.build/Objects-normal/arm64/配送签收_lto.o -Xlinker -no_deduplicate -Xlinker -final_output -Xlinker /Applications/配送签收.app/配送签收 -fobjc-arc -fobjc-link-runtime -ObjC /Users/flux/wex5/WeX5_3.8-mac/model/Native/配送签收/build/src/platforms/ios/build/device/libCordova.a -liconv -framework AVFoundation -framework CoreVideo -framework QuartzCore -framework CoreImage -framework AudioToolbox -framework ImageIO -framework CoreLocation -framework EventKit -framework EventKitUI -lcrypto -lssl -framework BaiduMapAPI_Base -framework BaiduMapAPI_Location -framework BaiduMapAPI_Map -framework BaiduMapAPI_Utils -framework MessageUI -framework CoreTelephony -framework Security -framework OpenGLES -framework SystemConfiguration -framework UIKit -framework Foundation -lsqlite3.0 -lstdc++.6.0.9 -framework CoreData -framework BaiduMapAPI_Search -lz -Xlinker -dependency_info -Xlinker /Users/flux/Library/Developer/Xcode/DerivedData/配送签收-cmeqkvihbfkhzfhbbevgthqzhlgb/Build/Intermediates.noindex/ArchiveIntermediates/配送签收/IntermediateBuildFilesPath/配送签收.build/Debug-iphoneos/配送签收.build/Objects-normal/arm64/配送签收_dependency_info.dat -o /Users/flux/Library/Developer/Xcode/DerivedData/配送签收-cmeqkvihbfkhzfhbbevgthqzhlgb/Build/Intermediates.noindex/ArchiveIntermediates/配送签收/IntermediateBuildFilesPath/配送签收.build/Debug-iphoneos/配送签收.build/Objects-normal/arm64/配送签收
ld: library not found for -lstdc++.6.0.9
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** ARCHIVE FAILED *
The following build commands failed:/var/folders/01/hbmxlllx57xbdq5kyw6cv7dw0000gp/T/b68d67c6-3e22-4b47-87bd-85cdfd1c958d/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)
Ld /Users/flux/Library/Developer/Xcode/DerivedData/配送签收-cmeqkvihbfkhzfhbbevgthqzhlgb/Build/Intermediates.noindex/ArchiveIntermediates/配送签收/IntermediateBuildFilesPath/配送签收.build/Debug-iphoneos/配送签收.build/Objects-normal/armv7/配送签收 normal armv7 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)
Ld /Users/flux/Library/Developer/Xcode/DerivedData/配送签收-cmeqkvihbfkhzfhbbevgthqzhlgb/Build/Intermediates.noindex/ArchiveIntermediates/配送签收/IntermediateBuildFilesPath/配送签收.build/Debug-iphoneos/配送签收.build/Objects-normal/arm64/配送签收 normal arm64
(2 failures)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/flux/wex5/WeX5_3.8-mac/model/Native/配送签收/build/src/platforms/ios/cordova/build-debug.xcconfig,-workspace,配送签收.xcworkspace,-scheme,配送签收,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,配送签收.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/flux/wex5/WeX5_3.8-mac/model/Native/配送签收/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/flux/wex5/WeX5_3.8-mac/model/Native/配送签收/build/src/platforms/ios/build/sharedpch,-UseModernBuildSystem=0
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildIOS" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
|
|