gpt4 book ai didi

ios - iPhone 应用程序有关于 IPHONEOS_DEPLOYMENT_TARGET 6.1 的编译错误和链接器错误,但它似乎已经设置为那个

转载 作者:行者123 更新时间:2023-11-29 02:56:04 26 4
gpt4 key购买 nike

我刚拿到最新版本的代码,但遇到了这个编译错误:

Ld /Users/alexgenadinik/Library/Developer/Xcode/DerivedData/OnlineMarketing-adupuelybnhjiuehwdqsligdkure/Build/Products/Debug-iphonesimulator/OnlineMarketing.app/OnlineMarketing normal i386
cd /Users/alexgenadinik/Desktop/Onlinemarketing
setenv IPHONEOS_DEPLOYMENT_TARGET 6.1
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/alexgenadinik/Library/Developer/Xcode/DerivedData/OnlineMarketing-adupuelybnhjiuehwdqsligdkure/Build/Products/Debug-iphonesimulator -F/Users/alexgenadinik/Library/Developer/Xcode/DerivedData/OnlineMarketing-adupuelybnhjiuehwdqsligdkure/Build/Products/Debug-iphonesimulator -filelist /Users/alexgenadinik/Library/Developer/Xcode/DerivedData/OnlineMarketing-adupuelybnhjiuehwdqsligdkure/Build/Intermediates/OnlineMarketing.build/Debug-iphonesimulator/OnlineMarketing.build/Objects-normal/i386/OnlineMarketing.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework UIKit -framework Foundation -framework CoreGraphics -lPods-OnlineMarketing -Xlinker -dependency_info -Xlinker /Users/alexgenadinik/Library/Developer/Xcode/DerivedData/OnlineMarketing-adupuelybnhjiuehwdqsligdkure/Build/Intermediates/OnlineMarketing.build/Debug-iphonesimulator/OnlineMarketing.build/Objects-normal/i386/OnlineMarketing_dependency_info.dat -o /Users/alexgenadinik/Library/Developer/Xcode/DerivedData/OnlineMarketing-adupuelybnhjiuehwdqsligdkure/Build/Products/Debug-iphonesimulator/OnlineMarketing.app/OnlineMarketing

但在我的build设置中,这是设置的:

enter image description here

有人知道如何解决这个问题以及为什么会这样吗?

错误截图如下:

enter image description here

最佳答案

该错误意味着缺少依赖项。您尝试在某个地方使用编译器不知道在哪里找到的(看起来像自定义的)库。修复损坏的链接(尝试链接到的库),然后您就可以开始了。但由于它是一个定制的库,所以我可以提供的帮助不多。我唯一的建议是,如果库位于项目中并且需要在编译时重建,那么它应该列在“构建阶段”的“目标依赖项”部分以及“链接二进制文件与库”部分中。

关于ios - iPhone 应用程序有关于 IPHONEOS_DEPLOYMENT_TARGET 6.1 的编译错误和链接器错误,但它似乎已经设置为那个,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23912694/

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