简体   繁体   English

找不到目标“x86_64-apple-ios-simulator”的模块“FBSDKCoreKit”; 找到:arm64,arm64-apple-ios-simulator

[英]Could not find module 'FBSDKCoreKit' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator

I have installed Facebook SDK using Swift Package Manager.我已经使用 Swift Package Manager 安装了 Facebook SDK。 While building the app it shows the following error message:在构建应用程序时,它显示以下错误消息:

Could not find module 'FBSDKCoreKit' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator

While i played with the settings i have found this error is due to the addition of arm64 under Excluded Architecture.当我使用这些设置时,我发现此错误是由于在排除架构下添加了arm64 I had added this because I had installed Postman with POD and it was throwing the error message:我添加了这个是因为我已经安装了带有 POD 的 Postman 并且它抛出了错误消息:

No such module 'Tabman'.

To make Tabman work i need to add arm64 under Excluded Architecture and to make Facebook SDK work i need to remove.为了让 Tabman 工作,我需要在 Excluded Architecture 下添加 arm64,为了让 Facebook SDK 工作,我需要删除。 In short i cannot make both work.简而言之,我不能让两者都工作。 Please suggest appropriate solution.请提出适当的解决方案。 Thanks in advance.提前致谢。

Note: I am using M1 Mac Book Pro with Xcode Version 12.4.注意:我使用的是带有 Xcode 12.4 版的 M1 Mac Book Pro。

I did tried to open xcode using Rosetta but it was not working.我确实尝试使用 Rosetta 打开 xcode,但它不起作用。 I tried multiple times and finally worked.我尝试了多次,终于成功了。 Yes right click on xcode and click info and choose Open using Rosetta worked!!!是的,右键单击 xcode 并单击信息并选择使用 Rosetta 打开工作!!!

暂无
暂无

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

相关问题 找不到目标“x86_64-apple-ios-simulator”的模块“XXXX”; 在 Swift 项目中找到:arm64、arm64-apple-ios-simulator? - Could not find module 'XXXX' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator in Swift Project? Xcode 12 问题 - 找不到目标“arm64-apple-ios-simulator”的模块“FrameworkName”; 找到:x86_64-apple-ios-simulator,x86_64 - Xcode 12 issue - Could not find module 'FrameworkName' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64 找不到目标“arm64-apple-ios-simulator”的模块“Alamofire”; 找到:x86_64-apple-ios-simulator,x86_64 - could not find module 'Alamofire' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64 找不到目标“x86_64-apple-ios-simulator”的模块“MyCustomFramework”; 找到:arm64、armv7-apple-ios、arm64-apple-ios、arm、armv7 - Could not find module 'MyCustomFramework' for target 'x86_64-apple-ios-simulator'; found: arm64, armv7-apple-ios, arm64-apple-ios, arm, armv7 找不到目标“x86_64-apple-ios-simulator”的模块“Kingfisher” - Could not find module 'Kingfisher' for target 'x86_64-apple-ios-simulator' 找不到目标“x86_64-apple-ios-simulator”的模块 - Could not find module for target 'x86_64-apple-ios-simulator' 找不到目标“x86_64-apple-ios-simulator”的模块“Alamofire” - could not find module 'Alamofire' for target 'x86_64-apple-ios-simulator' 目标 'arm64-apple-ios' 的 iOS 'Heimdall' 出现错误; 找到:x86_64“ - Getting Error in iOS 'Heimdall' for target 'arm64-apple-ios'; found: x86_64 " 无法使用 Apple Silicon 上的 iOS 模拟器 lipo arm64.a 文件的 iOS 设备 - Cannot lipo arm64 .a files of iOS device with iOS simulator on Apple Silicon “'Razorpay' 是为不兼容的目标 arm64-apple-ios10.0 创建的”,同时为 flutter iOS 模拟器构建 - "'Razorpay' was created for incompatible target arm64-apple-ios10.0" while building for flutter iOS simulator
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM