Launching lib/main.dart on iPhone 15in debug mode...
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`:(``)......
Error running pod install
Error launching application on iPhone 15.
解决方案:
cd ios/
# 使用如下指令安装依赖, arch -x86_64 代表用 x86_64 架构运行
arch -x86_64 pod install
3.SDK does not contain ‘libarclite’
升级到Xcode 15运行项目报错,报错信息如下:
SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'