gpt4 book ai didi

ios - AWS iOS SDK -> 缺少必需的架构 x86_64

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

我正在尝试使用亚马逊AWS for iOS SDK,但我在Xcode 6.1.1中不断收到几个Apple Mach-O链接器错误,当我尝试使用iOS模拟器iPhone 5s时发生此错误,但它工作正常在4s模拟器上。任何帮助将不胜感激。

我使用的 AWS 框架是 AWSiOSSDK v 1.7.0

ld: warning: ignoring file /Users/xxx/Downloads/xxxios_app/FacebookSDK.framework/FacebookSDK, missing required architecture x86_64 in file /Users/xxx/Downloads/xxx_ios_app/FacebookSDK.framework/FacebookSDK (3 slices) ld: warning: ignoring file /Users/xxx/Downloads/xxx_ios_app/AWSiOSSDK.framework/AWSiOSSDK, missing required architecture x86_64 in file /Users/xxx/Downloads/xxx_ios_app/AWSiOSSDK.framework/AWSiOSSDK (3 slices) Undefined symbols for architecture x86_64: "_OBJC_CLASS$AmazonEndpoints", referenced from: objc-class-ref in LoginViewController.o objc-class-ref in PhotoViewController.o "_OBJC_CLASS$AmazonErrorHandler", referenced from: objc-class-ref in LoginViewController.o objc-class-ref in PhotoViewController.o "_OBJC_CLASS$AmazonLogger", referenced from: objc-class-ref in LoginViewController.o objc-class-ref in PhotoViewController.o "_OBJC_CLASS$AmazonS3Client", referenced from: objc-class-ref in LoginViewController.o objc-class-ref in PhotoViewController.o "_OBJC_CLASS$FBNativeDialogs", referenced from: objc-class-ref in LoginViewController.o "_OBJC_CLASS$_FBRequestConnection", referenced from: objc-class-ref in LoginViewController.o objc-class-ref in PhotoViewController.o

最佳答案

https://stackoverflow.com/a/3949338/2245240

当您向项目添加框架并无意中将框架复制到项目目录时,就会发生这种情况。

修复方法是检查您的项目目录(您在磁盘上存储项目的位置)是否有任何 iphone SDK *.Framework 文件并将其删除。

项目将在之后构建良好。

关于ios - AWS iOS SDK -> 缺少必需的架构 x86_64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28657918/

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