gpt4 book ai didi

ios - ld : library not found for -lMapView

转载 作者:行者123 更新时间:2023-11-29 13:46:48 25 4
gpt4 key购买 nike

我在这里发现了很多关于此类错误的帖子,但没有真正帮助我的答案,当我尝试构建我的项目时,我遇到了这个构建错误:

 ld: library not found for -lMapView
collect2: ld returned 1 exit status
Command

完整的错误报告如下:

Check dependencies

Ld build/Debug-iphonesimulator/TopStation.app/TopStation normal i386
cd "/Volumes/NO NAME/iPhone_V30.2_11aout2011/TopStation"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk "-L/Volumes/NO NAME/iPhone_V30.2_11aout2011/TopStation/build/Debug-iphonesimulator" "-L/Volumes/NO NAME/iPhone_V30.2_11aout2011/TopStation" "-F/Volumes/NO NAME/iPhone_V30.2_11aout2011/TopStation/build/Debug-iphonesimulator" -filelist "/Volumes/NO NAME/iPhone_V30.2_11aout2011/TopStation/build/TopStation.build/Debug-iphonesimulator/TopStation.build/Objects-normal/i386/TopStation.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreLocation -framework MapKit -framework CFNetwork -framework SystemConfiguration -framework MobileCoreServices -lz.1.2.3 -framework QuartzCore -lMapView -lsqlite3 -o "/Volumes/NO NAME/iPhone_V30.2_11aout2011/TopStation/build/Debug-iphonesimulator/TopStation.app/TopStation"

ld: library not found for -lMapView
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

提前感谢您的帮助:)

最佳答案

尝试将您的库路径添加到事件目标的build设置中的库搜索路径。点击此链接:XCode Compiler Error: ld: library not found for -loauth

关于ios - ld : library not found for -lMapView,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7036841/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com