iOS 17.4报错: libopencore-amrnb.a[arm64]

iOS 17.4报错: libopencore-amrnb.a[arm64]

  • [iOS 17.4 模拟器运行报错](#iOS 17.4 模拟器运行报错)

iOS 17.4 模拟器运行报错

Building for 'iOS-simulator', but linking in object file (/XXX/lib/libopencore-amrnb.a[arm64]2) built for 'iOS'

解决方案

在Podfile里添加如下设置:config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"

复制代码
post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
  end
相关推荐
lancoff2 小时前
#3 Creating Shapes in SwiftUI
ios·swiftui
lancoff3 小时前
#1 How to use Xcode in SwiftUI project
ios·swiftui
lancoff3 小时前
#2 Adding Text in SwiftUI
ios·swiftui
良逍Ai出海3 小时前
Build in Public|为什么我开始做一款相册清理 App(听说有竞品年收益40W)
ios·uni-app·ai编程·coding
笑尘pyrotechnic1 天前
LLDB进阶:使用命令行进行检查
ios·objective-c·cocoa·lldb
z***y8621 天前
Swift在iOS中的Xcode
ios·xcode·swift
AirDroid_cn1 天前
iOS 18 后台应用偷跑流量,如何限制?
macos·ios·cocoa
明君879971 天前
Flutter 图纸标注功能的实现:踩坑与架构设计
android·ios
江东小bug王1 天前
深入理解 UINavigationController:生命周期、动画优化与性能调优
ios
Lexiaoyao201 天前
Apple StoreKit 2 开发指南
ios·apple