You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CppInteroperability/GettingStartedWithC++Interop.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -32,12 +32,12 @@ module CxxTest {
32
32
Add the C++ module to the include path and enable C++ interop:
33
33
- Navigate to your project directory
34
34
- 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`).
37
37
38
38
```
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
0 commit comments