简体   繁体   English

归档iOS构建离子的问题

[英]Issue with archiving ios build ionic

I have an issue when trying to archive my ionic application. 尝试存档离子应用程序时遇到问题。

ld: library not found for -lGoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am using cocopods. 我正在用cocopods。 When I get this issue to build it for my iphone I am doing: 当我遇到这个问题要为我的iPhone构建它时,我正在做:

 > Product > Scheme > GoogleToolboxForMac

Then I build it. 然后我建立它。 And finally I am going back to my app and build it. 最后,我要回到我的应用程序并进行构建。

However when I am doing this before archiving the issue keep continue... 但是,当我在存档问题之前执行此操作时,请继续继续...

Do you have an idea? 你有想法吗?

Solution found. 找到解决方案。 Go to your ios project in command line then type : 在命令行中转到您的ios项目,然后输入:

pod install

Then retry and it is ok 然后重试就可以了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM