在更新到Xcode15之后,我不再能够在模拟器上运行我的代码.目前我收到错误消息
building for 'iOS-simulator', but linking in object file (/{project path}/libs/IceLink/libFMIceLinkOpus.a[x86_64][15](bands.o)) built for 'iOS'
个
当我的Mac升级到硅胶芯片时,我确实遇到了类似的问题,我不得不将它插入到我的Podfile中
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# Needed for building for simulator on M1 Macs
config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
end
end
end
在网上,arm64
架构也出现了类似的错误,其中包括更新构建设置中排除的建筑.我想我也会对x86_64
做同样的事情
这样做之后,当我try 在模拟器上运行代码时,我收到了另一个错误
Command PhaseScriptExecution failed with a nonzero exit code
个
这条路走对了吗,或者我应该看另一条路?我不确定在排除的体系 struct 中增加x86_64
是不是把我带进了一个兔子洞,而我应该走另一条路.