百度地图的导入


Ld /Users/zhangfan/Library/Developer/Xcode/DerivedData/map-bqgmxzzxstxpvvdqdkznajnpquhn/Build/Products/Debug-iphonesimulator/map.app/map normal x86_64
    cd /Users/zhangfan/1-workbase/5-网络/map
    export IPHONEOS_DEPLOYMENT_TARGET=9.0
    export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/zhangfan/Library/Developer/Xcode/DerivedData/map-bqgmxzzxstxpvvdqdkznajnpquhn/Build/Products/Debug-iphonesimulator -F/Users/zhangfan/Library/Developer/Xcode/DerivedData/map-bqgmxzzxstxpvvdqdkznajnpquhn/Build/Products/Debug-iphonesimulator -filelist /Users/zhangfan/Library/Developer/Xcode/DerivedData/map-bqgmxzzxstxpvvdqdkznajnpquhn/Build/Intermediates/map.build/Debug-iphonesimulator/map.build/Objects-normal/x86_64/map.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.0 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -stdlib=libc++ -framework Security -framework CoreGraphics -framework SystemConfiguration -framework BaiduMapAPI -framework OpenGLES -framework QuartzCore -framework CoreLocation -Xlinker -dependency_info -Xlinker /Users/zhangfan/Library/Developer/Xcode/DerivedData/map-bqgmxzzxstxpvvdqdkznajnpquhn/Build/Intermediates/map.build/Debug-iphonesimulator/map.build/Objects-normal/x86_64/map_dependency_info.dat -o /Users/zhangfan/Library/Developer/Xcode/DerivedData/map-bqgmxzzxstxpvvdqdkznajnpquhn/Build/Products/Debug-iphonesimulator/map.app/map

ld: framework not found BaiduMapAPI
clang: error: linker command failed with exit code 1 (use -v to see invocation)


按照百度的开发指南进行导入,还是出现这种错误,就是因为这些资源导入的方式不正确,导致工程找不到对应的资源。解决办法是把framework拉进工程文件夹中,再进行重新导入,问题就解决了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值