Replies: 2 comments 6 replies
-
How do you currently pass this parameter to your build command? I would expect it to be either via build settings in |
Beta Was this translation helpful? Give feedback.
2 replies
-
Reopening this as I found the exact issue. The build command setting the OTHER_SWIFT_FLAGS causes the Swift flags in the Package.swift to be ignored, so the custom flag required (C++ Interop) is ignored causing the compile to fail. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently I don't see anyway to set Xcode build flags in a .spi.yml configuration file. This means that packages that include C++ code, and would need the
SWIFT_OBJC_INTEROP_MODE = objcxx;
Xcode variable will not build from Xcode. An example package is PugiSwiftBeta Was this translation helpful? Give feedback.
All reactions