Skip to content

Commit a4719bf

Browse files
author
Sean Henry
committed
Removes old instructions
1 parent 2c378cb commit a4719bf

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ An Xcode extension (plugin) to generate [spy](#what-is-a-spy), [stub](#what-is-a
1414
- Copy the app to the `Applications` folder.
1515
- Open the app
1616
- Select OK for '"Swift Mock Generator for Xcode" wants access to control "Xcode"'
17-
- Set the SDK Path. Xcode 11 example: `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk`. [Why do I need to do this?](#setting-the-sdk-path)
1817
- Go to `System Preferences -> Extensions -> Xcode Source Editor` and make sure `Mock Generator` is enabled.
1918
- Go to `System Preferences -> Security & Privacy -> Privacy -> Automation` and make sure `Swift Mock Generator` is enabled.
2019
- Open Xcode
@@ -222,18 +221,6 @@ Dummy objects are passed around but never actually used. Usually they are just u
222221

223222
Partial spies are spies which can also forward calls to the original implementation.
224223

225-
## Setting the sdk path
226-
227-
Since Xcode 11, SourceKit needs to know which sdk is being used. For the purposes of this plugin, it doesn't seem to matter which platform this sdk belongs to so this can just be the macOS sdk. To list the macOS SDKs bundled in Xcode:
228-
229-
```
230-
$ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
231-
```
232-
233-
You will need to copy the full path of one of these SDKs to the companion app.
234-
235-
If you have more that one Xcode installed you will also need to make sure the SDK is belongs to the right version of Xcode. For example, the SDKs in Xcode 10 do not work with SourceKit in Xcode 11.
236-
237224
## Disable or remove the plugin
238225

239226
To disable:

0 commit comments

Comments
 (0)