Skip to content

Commit

Permalink
Merge pull request #1265 from meidlinga/patch-1
Browse files Browse the repository at this point in the history
Fix quotes in README
  • Loading branch information
Justin Martin authored Jul 22, 2022
2 parents 60c0b1b + 4458d3a commit ffa7959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ You need your tests to run hosted in your application. **Xcode does this for you

First add your application by selecting "Build Phases", expanding the "Target Dependencies" section, clicking on the "+" button, and in the new sheet that appears selecting your application target and clicking "Add".

Next, configure your bundle loader. In "Build Settings", expand "Linking" and edit "Bundle Loader" to be "$(TEST_HOST)". Expand the "Testing" section and edit "Test Host" to be "$(BUILT_PRODUCTS_DIR)/MyApplication.app/MyApplication" where "MyApplication" is the name of your app. Also make sure that "Wrapper Extension" is set to "xctest".
Next, configure your bundle loader. In "Build Settings", expand "Linking" and edit "Bundle Loader" to be `$(TEST_HOST)`. Expand the "Testing" section and edit "Test Host" to be `$(BUILT_PRODUCTS_DIR)/MyApplication.app/MyApplication` where `MyApplication` is the name of your app. Also make sure that "Wrapper Extension" is set to `xctest`.

The last step is to configure your unit tests to run when you trigger a test (⌘U). Click on your scheme name and select "Edit Scheme…". Click on "Test" in the sidebar followed by the "+" in the bottom left corner. Select your testing target and click "OK".

Expand Down

0 comments on commit ffa7959

Please sign in to comment.