flutter_alipay
flutter_alipay copied to clipboard
Undefined symbols for architecture arm64
Undefined symbols for architecture arm64: "OBJC_CLASS$_AlipaySDK", referenced from: objc-class-ref in FlutterAlipayPlugin.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
遇到同样的问题。。。。
我也是这样的问题,有解决办法吗
+1
文件里面少一行代码 加上就好了
s.static_framework = true
文件里面少一行代码 加上就好了
s.static_framework = true
我试了报另外一个错误:[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (~l/main_m_hotel/ios/Pods/AlipaySDK-iOS/AlipaySDK.framework) 有个插件是swift的,我加了use framework! 问了ios说是冲突了。不知道怎么解决
文件里面少一行代码加上就好了
s.static_framework = true
大佬,在哪个文件里加
六个月了,啥时候能说一下怎么解决这个啊
s.static_framework = true 加了之后能正常运行,是否可以加一下
I also encountered the same problem. How can I solve it?
在 flutter_alipay.podspec 文件里加上一句 s.static_framework = true, 然后进入ios目录下运行一下pod install, 重新运行就行了