File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff 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
1111Xcode project as a package dependency.
1212A [ "Local Package"] ( https://developer.apple.com/documentation/xcode/organizing-your-code-with-local-packages )
1313needs 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+
2735Example of a "LocalHelper" ` Package.swift ` that imports Northwind
2836for Xcode use:
2937``` swift
You can’t perform that action at this time.
0 commit comments