Skip to content
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

Undefined symbols for architecture arm64 #19

Open
dingzuhua opened this issue May 19, 2020 · 10 comments
Open

Undefined symbols for architecture arm64 #19

dingzuhua opened this issue May 19, 2020 · 10 comments

Comments

@dingzuhua
Copy link

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)

@mencomao
Copy link

mencomao commented Jun 4, 2020

遇到同样的问题。。。。

@leozhuo
Copy link

leozhuo commented Jun 7, 2020

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

@qingweiSun
Copy link

+1

@weihaigang
Copy link

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

s.static_framework = true

@cloudLiu
Copy link

cloudLiu commented Sep 8, 2020

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

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

@984409591
Copy link

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

s.static_framework = true

大佬,在哪个文件里加

@sdta25196
Copy link

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

@liuhong1happy
Copy link

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

@wanzha
Copy link

wanzha commented Feb 3, 2021

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

@zzc1024
Copy link

zzc1024 commented Aug 16, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests