Natoto / flutterOnExistApp

现有iOS工程中引入flutter, 支持插件扩展(见multiflutter分支) 解决官方内存泄漏问题,master分支最新的engine修复版
62 stars 13 forks source link

替换flutter.framework后,不支持armv7 build ios了 #4

Open god-long opened 5 years ago

god-long commented 5 years ago

替换flutter.framework后,flutter build ios --debug,报错

Running Xcode build... ├─Assembling Flutter resources... 1.2s └─Compiling, linking and signing... 0.4s Xcode build done. 3.3s Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED

Xcode's output: ↳ ld: warning: Could not find auto-linked framework 'Flutter' Undefined symbols for architecture armv7: "_OBJCMETACLASS$_FlutterAppDelegate", referenced from: _OBJCMETACLASS$_AppDelegate in AppDelegate.o "_OBJCCLASS$_FlutterAppDelegate", referenced from: _OBJCCLASS$_AppDelegate in AppDelegate.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

It appears that your application still contains the default signing identifier. Try replacing 'com.example' with your signing id in Xcode: open ios/Runner.xcworkspace Encountered error while building for device.

Natoto commented 5 years ago

只支持arm64的