Open jordanhbuiltbyhq opened 1 year ago
I am having the same error:
Error (Xcode): File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
confirming that this still happens on flutter 3.10.0 macos 13
Any solution for this, because I facing the same error(nowadays very frequently) since I upgraded to Flutter 3.10
One fix I have found is to add the following line to the podfile
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'] = '13.0'
end
end
end
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
Still happening with flutter 3.10 flutter doctor: ✓] Flutter (Channel stable, 3.10.0, on macOS 13.3.1 22E772610a darwin-arm64, locale en-GB) [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) [✓] Xcode - develop for iOS and macOS (Xcode 14.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.1) [✓] VS Code (version 1.78.0) [✓] Connected device (3 available) [✓] Network resources
yeah,i met the same problem when i use the carthage library to build
We switched to Kronos, it's working great :)
TrueTime is a dependency of our SDK we distribute via CocoaPods. When we build an XCFramework using
xcodebuild
from the 14.3 command line tools and runpod lib lint
it fails with the following error:Flutter had this same error (issue) and fixed it (pull request) by updating transitive dependencies to a minimum version of at least iOS 9. It seems TrueTime needs to do the same. Explained in that PR, it happens because: