ios – weChat SDK构建错误

ios – weChat SDK构建错误,第1张

概述我正在尝试让weChat SDK与我的应用程序一起使用.我按照下面的链接下载arm64文件,但没有运气.我仍然得到以下3个错误: WeChat SDK on arm64 Undefined symbols for architecture arm64: "operator new[](unsigned long)", referenced from: +[WeChatApiUtil 我正在尝试让weChat SDK与我的应用程序一起使用.我按照下面的链接下载arm64文件,但没有运气.我仍然得到以下3个错误:

WeChat SDK on arm64

Undefined symbols for architecture arm64:  "operator new[](unsigned long)",referenced from:      +[WeChatAPIUtil EncodeBase64:] in libWechatsdk.a(WeChatAPIUtil.o)      +[WeChatAPIUtil NsDataEncodeBase64:] in libWechatsdk.a(WeChatAPIUtil.o)      +[WeChatAPIUtil DecodeWithBase64:] in libWechatsdk.a(WeChatAPIUtil.o)      +[WeChatAPIUtil DecodeBase64:] in libWechatsdk.a(WeChatAPIUtil.o)  "operator delete[](voID*)",referenced from:      +[WeChatAPIUtil EncodeBase64:] in libWechatsdk.a(WeChatAPIUtil.o)      +[WeChatAPIUtil NsDataEncodeBase64:] in libWechatsdk.a(WeChatAPIUtil.o)      +[WeChatAPIUtil DecodeWithBase64:] in libWechatsdk.a(WeChatAPIUtil.o)      +[WeChatAPIUtil DecodeBase64:] in libWechatsdk.a(WeChatAPIUtil.o)ld: symbol(s) not found for architecture arm64clang: error: linker command Failed with exit code 1 (use -v to see invocation)

请帮忙…

解决方法 制作此编译器的关键如下:您必须将libc .dylib库添加到您的项目中.在任何其他链接中都没有提到这一点!我花了30个小时寻找这个答案.我希望你能在不到1的时间内找到这篇文章. 总结

以上是内存溢出为你收集整理的ios – weChat SDK构建错误全部内容,希望文章能够帮你解决ios – weChat SDK构建错误所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1006177.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-22
下一篇2022-05-22

发表评论

登录后才能评论

评论列表(0条)

    保存