Skip to content

Commit 2ee569a

Browse files
committed
Updates SPM instructions (*)
* Includes requirement of adding the FLEXLAYOUT_SWIFT_PACKAGE definition
1 parent fd9cd8b commit 2ee569a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,8 @@ To integrate FlexLayout into another Swift Package, add it as a dependency:
11161116

11171117
#### In an Xcode target
11181118

1119-
To integrate FlexLayout into an Xcode target, use the `File -> Swift Packages -> Add Package Dependency` menu item.
1119+
1. To integrate FlexLayout into an Xcode target, use the `File -> Swift Packages -> Add Package Dependency` menu item.
1120+
2. Add "FLEXLAYOUT_SWIFT_PACKAGE=1" to the Xcode target's `GCC_PREPROCESSOR_DEFINITIONS` build setting.
11201121

11211122

11221123
<br/>

0 commit comments

Comments
 (0)