存档时仅链接器错误(Linker error only while archiving)

编程入门 行业动态 更新时间:2024-10-28 14:28:24
存档时仅链接器错误(Linker error only while archiving)

当我使用iOS Device构建项目时,没有错误。 我甚至可以在模拟器上以调试模式运行项目。 但是当我尝试使用存档创建ipa时,会出现此错误。 我刚刚在配置文件中添加了另一个设备,下载了新配置文件并将其添加到管理器中。 而现在它不会让我创建一个ipa。 我再次尝试下载证书,重新启动Xcode。 但它没有用。

编辑当我删除调用QuotedPrintable :: decode()方法的行时,它工作正常。 如何在构建设置中设置quotedPrintable.h的路径?

When I build my project with iOS Device, there is no error. I can even run the project on simulator wit debug mode. But when I try to create an ipa using archive, this error comes up. I just added another device in the profile, downloaded the new profile and added it in organizer. And now it doesn't let me create an ipa. I tried downloading certificate again, restarting Xcode. But it did not work.

EDIT When I remove the line which calls QuotedPrintable::decode() method, it works fine. How do I set path to quotedPrintable.h in the build settings?

最满意答案

我在* Library Search Paths *中给出了多条路径,这些路径混淆了xcode。 删除不需要的和错误的解决了这个问题。 :)

I had given multiple paths in *Library Search Paths * that confused xcode. Removing the unwanted, and wrong ones solved the problem. :)

更多推荐

本文发布于:2023-08-07 04:54:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1461164.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   链接   Linker   error   archiving

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!