Closed mauliknshah closed 3 years ago
Do you have Macports installed? That tends to mess with include paths. And have you tried deleting your derived data and trying again?
Also, I tried to create a new project from scratch with just Nio-ssl and Nio dependencies, which produced the same error. I have raised the issue with the Nio team, which you can find it here: Bug: Missing '#include
Ok, I'll close this issue as it looks deeper than anything we can help with here and unrelated to Vapor
/Users/Maulik/Library/Developer/Xcode/DerivedData/TestFluentPostgres-gjwkxowtrhpkuzdpxewtalgpeaqq/SourcePackages/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_span.h:139:7: Missing '#include'; 'abort' must be declared before it is used
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Only one error as stated in the first line.
Environment
Fluent-Postgres-Driver Version: 2.1.0 - (Exact or Next Major) Swift-Nio-SSL version: 2.10.0 (Not added independently) XCode Version: 11.7 or higher(Same error with XCode 12.3 Beta) macOS Version: 11.0.1 (Big Sur)
Additional context
I know it's an NIO error, but I haven't added any NIO dependencies independently.