flutter_alipay icon indicating copy to clipboard operation
flutter_alipay copied to clipboard

Undefined symbols for architecture arm64

Open dingzuhua opened this issue 4 years ago • 10 comments

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)

dingzuhua avatar May 19 '20 09:05 dingzuhua

遇到同样的问题。。。。

mencomao avatar Jun 04 '20 09:06 mencomao

我也是这样的问题,有解决办法吗

leozhuo avatar Jun 07 '20 12:06 leozhuo

+1

qingweiSun avatar Jun 14 '20 10:06 qingweiSun

文件里面少一行代码 加上就好了

s.static_framework = true

weihaigang avatar Aug 20 '20 08:08 weihaigang

文件里面少一行代码 加上就好了

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说是冲突了。不知道怎么解决

cloudLiu avatar Sep 08 '20 03:09 cloudLiu

文件里面少一行代码加上就好了

s.static_framework = true

大佬,在哪个文件里加

984409591 avatar Oct 15 '20 03:10 984409591

六个月了,啥时候能说一下怎么解决这个啊

sdta25196 avatar Nov 18 '20 02:11 sdta25196

s.static_framework = true 加了之后能正常运行,是否可以加一下

liuhong1happy avatar Nov 19 '20 02:11 liuhong1happy

I also encountered the same problem. How can I solve it?

wanzha avatar Feb 03 '21 09:02 wanzha

在 flutter_alipay.podspec 文件里加上一句 s.static_framework = true, 然后进入ios目录下运行一下pod install, 重新运行就行了

zzc1024 avatar Aug 16 '21 09:08 zzc1024