gpt4 book ai didi

ios - Apple Mach-O 链接器错误与解析

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:09:21 24 4
gpt4 key购买 nike

我需要一些帮助。我添加了 Parse SDK,它在测试期间运行良好。当我尝试构建它时,它给了我四个“Apple Mach-O Linker”错误:

ld: warning: ignoring file /Users/Amirhosein/Downloads/ParsePlatform-PushTutorial-63133fb/iOS/Parse.framework/Parse, missing required architecture arm64 in file /Users/Amirhosein/Downloads/ParsePlatform-PushTutorial-63133fb/iOS/Parse.framework/Parse (3 slices) Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_PFPush", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_PFInstallation", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_Parse", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

听起来好像您的库不是为 64 位 iOS 构建的,但您正在尝试为您的应用使用该设置。尝试从build设置的架构条目中删除 arm64。

关于ios - Apple Mach-O 链接器错误与解析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20165867/

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