Skip to content

Commit b382659

Browse files
authored
Update README.md
1 parent fefe268 commit b382659

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Swift package documentation:
77
[NorthwindSQLite.swift](https://lighter-swift.github.io/NorthwindSQLite.swift/documentation/northwind/).
88

99
**Note**:
10-
Due to an Xcode 14 bug the Northwind module cannot yet be directly added to an
10+
Due to an Xcode 14/15 bug the Northwind module cannot yet be directly added to an
1111
Xcode project as a package dependency.
1212
A ["Local Package"](https://developer.apple.com/documentation/xcode/organizing-your-code-with-local-packages)
1313
needs to be setup.
@@ -24,6 +24,14 @@ It works fine in regular SPM contexts.
2424

2525
### Package.swift
2626

27+
Steps to workaround Xcode 15beta issues:
28+
- in your Xcode project, select the project in the sidebar
29+
- in the Xcode menu, use the "File" / "New Package …" menu
30+
- select the "Library" template
31+
- in the next dialog use "Add to project" (it defaults to none), and add it to the Xcode projec
32+
- make sure to link the helper package to the target (e.g. via "Frameworks, Libs and Embedded Content")
33+
This is generally a good way to maintain dependencies in Xcode.
34+
2735
Example of a "LocalHelper" `Package.swift` that imports Northwind
2836
for Xcode use:
2937
```swift

0 commit comments

Comments
 (0)