We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c65c33 + 34da940 commit be714e3Copy full SHA for be714e3
docs/CppInteroperability/GettingStartedWithC++Interop.md
@@ -32,7 +32,7 @@ module CxxTest {
32
Add the C++ module to the include path and enable C++ interop:
33
- Navigate to your project directory
34
- In `Project` navigate to `Build Settings` -> `Swift Compiler`
35
-- Under `Custom Flags` -> `Other Swift Flags` add `-cxx-compatibility-mode=swift-5.9`
+- Under `Custom Flags` -> `Other Swift Flags` add `-cxx-interoperability-mode=swift-5.9`
36
- Under `Search Paths` -> `Import Paths` add your search path to the C++ module (i.e, `./ProjectName/CxxTest`).
37
38
- This should now allow your to import your C++ Module into any `.swift` file.
0 commit comments