请选择 进入手机版 | 继续访问电脑版
MSIPO技术圈 首页 IT技术 查看内容

Xcode 更新后 Version 14.3.1报错

2023-07-13

File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a

Xode版本和pod版本不一致导致,改成一致就可以了

放在podfile文件里,最后一个pod,和最后一个end中间

 
Showing Recent Errors Only
post_install do |installer|
    installer.generated_projects.each do |project|
          project.targets.each do |target|
              target.build_configurations.each do |config|
                  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
               end
          end
   end
end
 
 

M1芯片报错:building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

打开路径:一级目录 -> PROJECT -> 项目名 -> Build Settings -> Excluded Architectures 里面在DebugRelease模式下,分别添加:Any iOS Simulator SDK -> arm64

Pod添加arm64:打开路径:左侧Pods一级目录 -> PROJECT -> Pods -> Build Settings -> Excluded Architectures 里面在DebugRelease模式下,分别添加:Any iOS Simulator SDK -> arm64

 

 

相关阅读

热门文章

    手机版|MSIPO技术圈 皖ICP备19022944号-2

    Copyright © 2024, msipo.com

    返回顶部