Skip to content

Commit 6aae3f5

Browse files
docs: Emphasize target setting in Xcode tutorial (#58)
### Motivation In our Xcode tutorial we outline the steps to enable Swift OpenAPI Generator on a separate framework. When you come to add the package dependencies on the runtime and transport libraries the default target Xcode offers to add them to is not this new framework. Failing to add them to the framework target causes linker issues. This is implied in our guide but it's pretty subtle and a user tripped up over this. ### Modifications - Emphasize which target the libraries need to be added to in the Xcode tutorial. ### Result Hopefully clearer step in the tutorial. ### Test Plan Ran through the steps manually and confirmed this generates a building app. ### Resolves Resolves #57. Signed-off-by: Si Beaumont <beaumont@apple.com>
1 parent 37255b7 commit 6aae3f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/swift-openapi-generator/Documentation.docc/Tutorials/ClientXcode.tutorial

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
@Step {
102102
Repeat the same steps two more times, with the packages `https://github.com/apple/swift-openapi-runtime` and `https://github.com/apple/swift-openapi-urlsession`.
103103

104-
This time do check the library products to be added to the GeneratedClient target.
104+
This time, do check the library products to be added to the **GeneratedClient target**. Note, this might not be the default target Xcode offers to add the libraries to.
105105
}
106106
@Step {
107107
To finish configuring the build plugin in your target, navigate to the Build Phases tab of the GeneratedClient in the Project Editor, and expand the Run Build Tool Plug-ins section.

0 commit comments

Comments
 (0)