简体   繁体   中英

How to set the `-ferror-limit` when using Fastlane

I have an iOS project that uses a few CocoaPods that throw a lot of warnings when compiled.

In my Podfile I have the inhibit_all_warnings! that prevent the warnings from showing up on Xcode build.

When I use Fastlane it throws the fatal error: too many errors emitted, stopping now [-ferror-limit=] error.

This answer tells me that adding the -ferror-limit=0 argument make it ignore the warnings and continue compiling.

I tried adding xcargs: '-ferror-limit=0' to the ipa action call in Fastfile, but it didn't work.

How can I make the Fastlane's ipa action to ignore the warnings and continue compiling?

由于fastlane从shenzhen改为gym因此这个参数似乎不再需要了。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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