Open yuanxintaxon opened 2 days ago
Could you give more details about what you are trying to build, and which steps you do? I will try to reproduce your issue
Hey, I'm trying to run a new project with the Flutter Gemma plugin, but it displays the error above when I run flutter build ios
.
I am using the following version
Flutter 3.24.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision dec2ee5c1f (8 days ago) • 2024-11-13 11:13:06 -0800 Engine • revision a18df97ca5 Tools • Dart 3.5.4
To reproduce the error: 1) create a new flutter project 2) install the flutter_gemma plugin 3) replaced the 'use_frameworks!' with 'use_frameworks! :linkage => :static' in the Podfile 4) set minimum ios platform version to 13.0 5) flutter clean; flutter build ios
Just did the same steps as you, and everything is fine
Can you share your MacOS and XCode versions, maybe I have a different environment
Here's my xcode and macbook version
Please try to update XCode, maybe it can help. My XCode is 15.6 and MacOS is 14.6.1.
And please send me a full trace of flutter build ios
command
build_log.txt
here's the full verbose log with flutter build ios -v
Try to update cocoapods to the last version, it should help
Error (Xcode): Undefined symbols: Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)