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

635 duplicate symbols for architecture arm64 #2

Open
jiangbophd opened this issue Mar 27, 2019 · 14 comments
Open

635 duplicate symbols for architecture arm64 #2

jiangbophd opened this issue Mar 27, 2019 · 14 comments

Comments

@jiangbophd
Copy link

duplicate symbol _ALISECX_LOGGER_PATH in:
/Users/tyler/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/libAlipayModule.a(AlipaySDK)
duplicate symbol _ALISECX_LOGGER_PREFIX_NAME in:
/Users/tyler/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/libAlipayModule.a(AlipaySDK)

@liusanhong
Copy link

me too .
xcode to 10.2 appeared

@liusanhong
Copy link

duplicate symbol _ALISECX_LOGGER_PATH in:
/Users/tyler/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/libAlipayModule.a(AlipaySDK)
duplicate symbol _ALISECX_LOGGER_PREFIX_NAME in:
/Users/tyler/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/libAlipayModule.a(AlipaySDK)

你解决了么

@liuqiiiiiii
Copy link

liuqiiiiiii commented Mar 28, 2019

编译时汇报如下错误:
duplicate symbol _x509parse_verify in:/Users/a11/Library/Developer/Xcode/DerivedData/NeeHow-gmfoimjbaqvpzwamvupkfkykkgmw/Build/Products/Debug-iphoneos/libAlipayModule.a(AlipaySDK)

ld: 635 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

这两天自从升级了 xcode 和 mac 系统就一直卡在这里。哎,非常难受,手贱升级真是自寻死路,同时提醒作者,这个库也该升级了。
react-native:0.5.1
xcode:10.2

image

@liuqiiiiiii
Copy link

liuqiiiiiii commented Mar 29, 2019

me too .
xcode to 10.2 appeared

在这里 https://developer.apple.com/download/more/ 把 xcode 的低版本下载下来,然后用低版本的 xcode 运行项目,问题就不会出现了。
同时别卸载当前的 10.2 版本,因为会引起 terminal 的 git 错误。
之后你如果遇到这个问题:error: The Xcode build system has crashed 就看这里:https://stackoverflow.com/questions/50870787/xcode-9-4-unexpected-service-error-the-xcode-build-system-has-crashed

@liusanhong
Copy link

me too .
xcode to 10.2 appeared

在这里 https://developer.apple.com/download/more/ 把 xcode 的低版本下载下来,然后用低版本的 xcode 运行项目,问题就不会出现了。
同时别卸载当前的 10.2 版本,因为会引起 terminal 的 git 错误。
之后你如果遇到这个问题:error: The Xcode build system has crashed 就看这里:https://stackoverflow.com/questions/50870787/xcode-9-4-unexpected-service-error-the-xcode-build-system-has-crashed

🐂。。。不是长久之道呀

@hanwenbo
Copy link

只有重新安装xcode吗

@liusanhong
Copy link

replace to react-native-alipay

@bocaiJs
Copy link

bocaiJs commented Apr 6, 2019

@liusanhong 老哥 你 react-native-alipay用的了嘛 我调用pay方法就没有反应

@bocaiJs
Copy link

bocaiJs commented Apr 6, 2019

@liuqiiiiiii 老哥 你下载的是那个版本啊 我下载了9.4的版本还是报这个错

@liusanhong
Copy link

@liusanhong 老哥 你 react-native-alipay用的了嘛 我调用pay方法就没有反应
可以的

@liuqiiiiiii
Copy link

liuqiiiiiii commented Apr 10, 2019

@liuqiiiiiii 老哥 你下载的是那个版本啊 我下载了9.4的版本还是报这个错

我下载的是 10.1 版本的 xcode,你试一下
实在不行就别用这个库了,作者没有回应,估计跑路了。

@yz1311
Copy link

yz1311 commented Jun 20, 2019

switch the build system to 'Lagacy Build System'

@tianliuj
Copy link

按照你说的,我已经解决了,谢谢@yz1311

@XiongYanY
Copy link

现在需要升级 支付宝最新SDK 怎么办?

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

8 participants