iOS demo无法编译
Closed this issue · 2 comments
Xcode 12.1 Release模式提示
PhaseScriptExecution Run\ Script /Users/aaa/Library/Developer/Xcode/DerivedData/Runner-akiikoxwioukyebydogbsvowwiws/Build/Intermediates.noindex/Runner.build/Release-iphonesimulator/Runner.build/Script-9740EEB61CF901F6004384FC.sh
...
...
...
Target aot_assembly_release failed: Exception: Unsupported iOS arch name "i386"
build failed.
Command /bin/sh failed with exit code 1
Debug模式 ,提示如下
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_ThreshViewController", referenced from:
objc-class-ref in SettingViewController.o
"OBJC_CLASS$_ThreshPlugin", referenced from:
objc-class-ref in GeneratedPluginRegistrant.o
"OBJC_CLASS$_SqflitePlugin", referenced from:
objc-class-ref in GeneratedPluginRegistrant.o
"OBJC_CLASS$_FLTPathProviderPlugin", referenced from:
objc-class-ref in GeneratedPluginRegistrant.o
"OBJC_CLASS$_ThreshAppDelegate", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
求助该如何解决
Sorry,the current version only supports flutter 1.9.1-hotfix.6.
Q1 2021, we plan to adapt the high version internally and will update it in time after completion.