ios 集成html5 sdk,在 ios xcode接入微信开放平台分享sdk编译出错

我新建立一个 项目 ,一样的 配置 ,编译就没有问题 ,用 layabox ide构建的项目,同样加入微信第三方,编译 Apple Mach-O Linker Error  clang: error: linker command failed with exit code 1 (use -v to see invocation)

下面是编译环境参数

Ld /Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Products/Debug-iphonesimulator/ykmj.app/ykmj normal x86_64

cd /Users/wxh/Desktop/layabox/ios/ykmj

export IPHONEOS_DEPLOYMENT_TARGET=7.0

export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.1.sdk -L/Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Products/Debug-iphonesimulator -L../LayaRuntime-iOS/libs -L/Users/wxh/Desktop/layabox/ios/ykmj/ykmj/WechtSDK1.8.2_NoPay -F/Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Products/Debug-iphonesimulator -filelist /Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Intermediates.noindex/ykmj.build/Debug-iphonesimulator/ykmj.build/Objects-normal/x86_64/ykmj.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=7.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Intermediates.noindex/ykmj.build/Debug-iphonesimulator/ykmj.build/Objects-normal/x86_64/ykmj_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -lconch -lJavaScriptCore -lbmalloc -Objc -ljpeg -all_load -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Intermediates.noindex/ykmj.build/Debug-iphonesimulator/ykmj.build/ykmj.app.xcent -framework CFNetwork -lc++.1 -lz.1 -lWeChatSDK -lsqlite3 -framework CoreTelephony -framework Security -lbz2.1.0 -framework AudioToolbox -framework CoreMotion -framework AdSupport -licucore -framework AVFoundation -weak_framework UIKit -framework GLKit -framework OpenGLES -framework OpenAL -framework SystemConfiguration -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Intermediates.noindex/ykmj.build/Debug-iphonesimulator/ykmj.build/Objects-normal/x86_64/ykmj_dependency_info.dat -o /Users/wxh/Library/Developer/Xcode/DerivedData/ykmj-hkcpwhnxmcoyygagguzfcmsdrryg/Build/Products/Debug-iphonesimulator/ykmj.app/ykmj

ld: 70 duplicate symbols for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Showing first 200 warnings only

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值