Skip to content

Commit 05d44b1

Browse files
authored
Update GettingStartedWithC++Interop.md
1 parent 68760fc commit 05d44b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/CppInteroperability/GettingStartedWithC++Interop.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ module CxxTest {
3232
Add the C++ module to the include path and enable C++ interop:
3333
- Navigate to your project directory
3434
- In `Project` navigate to `Build Settings` -> `Swift Compiler`
35-
- Under `Custom Flags` -> `Other Swift Flags` add`-enable-experimental-cxx-interop`
36-
- Under `Search Paths` -> `Import Paths` add your search path to the C++ module (i.e, `./ProjectName/CxxTest`). Repeat this step in `Other Swift Flags`
35+
- Under `Custom Flags` -> `Other Swift Flags` add `-Xfrontend -enable-experimental-cxx-interop`
36+
- Under `Search Paths` -> `Import Paths` add your search path to the C++ module (i.e, `./ProjectName/CxxTest`).
3737

3838
```
39-
//Add to Other Swift Flags and Import Paths respectively
40-
-enable-experimental-cxx-interop
39+
// Add to Other Swift Flags and Import Paths respectively
40+
-Xfrontend -enable-experimental-cxx-interop
4141
-I./ProjectName/CxxTest
4242
```
4343

0 commit comments

Comments
 (0)