flutter_boost icon indicating copy to clipboard operation
flutter_boost copied to clipboard

ios集成时 使用pod报警导致工程编译失败

Open hongliang211 opened this issue 7 years ago • 1 comments

下面是pod的信息: [!] A license was specified in podspec flutter_boost but the file does not exist - /Users/liheng/Desktop/车联网项目/ios_jicheng/my_flutter/.ios/Flutter/.symlinks/flutter_boost/LICENSE

[!] Unable to read the license file ../LICENSE for the spec flutter_boost (0.0.1)

[!] Unable to read the license file ../LICENSE for the spec flutter_boost (0.0.1)

下面是工程编译的报错信息: 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)

hongliang211 avatar Mar 20 '19 07:03 hongliang211

将libc++加入链接即可

nightwolf-chen avatar Mar 20 '19 07:03 nightwolf-chen