-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS native 引入flutter_boost后,单独运行 flutter 工程到 iOS 设备报错。 #21
Comments
请将libc++加入到链接选项 |
已解决,谢谢 |
Closed
请教一下,这一步具体怎么做,我把libflutter_boots.a添加到Linked Frameworks and Libraries中,flutter build还是报错 |
Closed
This was referenced Apr 24, 2019
Closed
Closed
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`Error output from Xcode build:
↳
2019-03-13 16:57:58.628 xcodebuild[45539:202925] [MT] PluginLoading: Required plug-in compatibility UUID D7881182-AD00-4C36-A94D-F45FC9B0CF85 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
** BUILD FAILED **
Xcode's output:
↳
/Users/xzr/flutter/.pub-cache/hosted/pub.flutter-io.cn/xservice_kit-0.0.26/ios/Classes/Service/FlutterServiceTemplate.m:124:36: warning: undeclared selector 'handlers' [-Wundeclared-selector]
if ([self respondsToSelector: @selector(handlers)]) {
^
/Users/xzr/flutter/.pub-cache/hosted/pub.flutter-io.cn/xservice_kit-0.0.26/ios/Classes/Service/FlutterServiceTemplate.m:125:52: warning: undeclared selector 'handlers' [-Wundeclared-selector]
NSArray *handlers = [self performSelector:@selector(handlers)];
^
/Users/xzr/flutter/.pub-cache/hosted/pub.flutter-io.cn/xservice_kit-0.0.26/ios/Classes/Service/FlutterServiceTemplate.m:135:10: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
[_msgDispatcher dispatch:msg result:result];
^
self->
3 warnings generated.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
Undefined symbols for architecture arm64:
"___cxa_guard_acquire", referenced from:
getLimit() in libflutter_boost.a(FLBMemoryInspector.o)
"___cxa_guard_release", referenced from:
getLimit() in libflutter_boost.a(FLBMemoryInspector.o)
"___cxa_guard_abort", referenced from:
getLimit() in libflutter_boost.a(FLBMemoryInspector.o)
"___gxx_personality_v0", referenced from:
-[FLBMemoryInspector deviceMemory] in libflutter_boost.a(FLBMemoryInspector.o)
-[FLBMemoryInspector currentCondition] in libflutter_boost.a(FLBMemoryInspector.o)
isHighterThanIos9() in libflutter_boost.a(FLBMemoryInspector.o)
getLimit() in libflutter_boost.a(FLBMemoryInspector.o)
_memoryWarningLimit() in libflutter_boost.a(FLBMemoryInspector.o)
+[Service_NavigationService load] in libflutter_boost.a(Service_NavigationService.o)
+[Service_NavigationService onNativePageResult:uniqueId:key:resultData:params:] in libflutter_boost.a(Service_NavigationService.o)
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)`
The text was updated successfully, but these errors were encountered: