简体   繁体   English

如何乘坐 ld: warning: object file was built for newer iOS version (12.0) than being linked (11.0)

[英]How to get ride of ld: warning: object file was built for newer iOS version (12.0) than being linked (11.0)

Under delphi Alexandria, when I try to compile my ios app I receive this warning message from the linker:在 delphi Alexandria 下,当我尝试编译我的 ios 应用程序时,我收到来自 linker 的警告消息:

ld: warning: object file (.\Libraries\ios\facebook\FBSDKLoginKit.xcframework\ios-arm64/FBSDKLoginKit.framework/FBSDKLoginKit(AppEvents+Internal.o)) was built for newer iOS version (12.0) than being linked (11.0) ld: 警告: object 文件 (.\Libraries\ios\facebook\FBSDKLoginKit.xcframework\ios-arm64/FBSDKLoginKit.framework/FBSDKLoginKit(AppEvents+Internal.o)) 是为比链接 (11.0) 更新的 iOS 版本 (12.0) 构建的)

How to get ride of this error message or how to say to the linker the we target iOS 12 instead of iOS 11?如何摆脱此错误消息或如何对 linker 说我们的目标是 iOS 12 而不是 iOS 11?

I found, just add the -w to the linker option flag:)我发现,只需将 -w 添加到 linker 选项标志中即可:)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我为什么得到:对象文件是为较新的iOS版本而不是链接而构建的? - Why am I getting: Object file was built for newer iOS version than being linked? Xcode 7警告:对象文件是为较新的iOS版本而不是链接而构建的 - Xcode 7 warnings: object file was built for newer iOS version than being linked Grpc.Core.Xamarin 提供 object 文件是为更新的 iOS 模拟器版本(9.0)而不是链接(8.0)构建的 - Grpc.Core.Xamarin giving object file was built for newer iOS Simulator version (9.0) than being linked (8.0) Quickblox webRTC是为比链接到(7.1)更高的iOS版本(9.0)构建的。 - Quickblox webRTC was built for newer iOS versions (9.0) than being linked to (7.1) 错误:ld:警告:忽略文件libfile01.a,文件是为归档而构建的,而不是被链接的体系结构(armv7):libfile01.a - Error: ld: warning: ignoring file libfile01.a, file was built for archive which is not the architecture being linked (armv7): libfile01.a 如何修复 - safeAreaLayoutGuide' 仅适用于 iOS 11.0 或更高版本 - How to fix - safeAreaLayoutGuide' is only available on iOS 11.0 or newer ld:在/Users/.../Pods/...中,为 iOS 模拟器构建,但在为 iOS 构建的 object 文件中链接,文件 '/UsersFirebaseAnalysis/./ - ld: in /Users/…/Pods/…, building for iOS Simulator, but linking in object file built for iOS, file '/Users/../Pods/FirebaseAnalyti Xcode警告:忽略文件libxml2.2.dylib,它是为不受支持的文件格式构建的,而不是被链接的体系结构 - Xcode Warning: Ignoring file libxml2.2.dylib, built for unsupported file format which is not the architecture being linked Pod专为更新版本的 - Pod is built for newer version of 警告:iOS 11中不推荐使用touchID - Warning: touchID deprecated in iOS 11.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM