-
Notifications
You must be signed in to change notification settings - Fork 150
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
SwiftNIO dependency causes build to fail #828
Comments
Hi @andersonfds, thanks for reporting this, It indeed looks strange – I havne't seen this before. What's your minimum iOS version (in |
Minimum iOS prior to patrol was 12.1, I've changed to 13.0 as patrol requires 13.0 |
To reproduce the problem you just have to add this to your Podfile: target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' # This line seems to make it stop working
config.build_settings['SWIFT_VERSION'] = '5.4'
end |
Can you share the repository with me or create a minimal, reproducible example? It really helps me get up to speed with such bugs :) |
Okay, I created a minimal reproducible example. The problem is on the Podfile, specifically when you add the Here's the repo link: https://github.com/andersonfds/patrol_bug_example |
Thank you, I'll take a look at it soon. |
I'm also facing this issue. During my research for a solution I came across this here grpc/grpc-swift#1274 (the core: grpc/grpc-swift#1063 (comment)) and it seems like the bug is related to I'm looking forward for a solution, since currently I have to exclude patrol from my project as my iOS builds won't work anymore otherwise |
this is what helps me out. But I hope there will be a solution within the project of patrol rather than on application level:
|
@wheeOs I'm glad you found a workaround and shared it here. Thank you and sorry for the problems.
What plugins require that flag? |
@bartekpacia I think that wasn't addressed to me but I can say that this sdk requires that flag for example |
Hey the plugins I'm using that requires that flag are intellectual property of one of my company's partner so I can't really talk about 'em but as @wheeOs said, there are some plugins out there that also requires that flag. |
SwiftNIO is no longer our dependency as of #1681. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
Installed patrol and followed the install guide and after that I'm unable to build my application, seems that SwiftNIO is causing this error
Is there any fix or workaround?
Thanks.
The text was updated successfully, but these errors were encountered: