Reputation: 3581
I'm running into an issue with archiving my app for the app store. Here are the pertinent facts:
Undefined symbols for architecture armv7:
"_FlutterMethodNotImplemented", referenced from:
___47+[FLTPathProviderPlugin registerWithRegistrar:]_block_invoke in FLTPathProviderPlugin.o
"_OBJC_CLASS_$_FlutterError", referenced from:
objc-class-ref in FLTPathProviderPlugin.o
"_OBJC_CLASS_$_FlutterMethodChannel", referenced from:
objc-class-ref in FLTPathProviderPlugin.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Just to be clear, this compiles just fine for development - it is only when I switch to archiving it that the compilation fails. Your assistance is most appreciated!
Upvotes: 5
Views: 3313
Reputation: 106
I had this problem and spent all day trying to fix it.
This worked for me:
flutter create .
Upvotes: 9