Skip to content

Commit

Permalink
Remove bits of troubleshooting guide that are no longer necessary wit…
Browse files Browse the repository at this point in the history
…h bundled CLI
  • Loading branch information
designatednerd committed Sep 16, 2019
1 parent 16c8602 commit 958e14e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions docs/source/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,6 @@ At this point, you can try building your target in Xcode. This will verify that

### Troubleshooting

If you've installed `apollo` globally with NPM and the script still seems to be having trouble finding it, add the following to the beginning of your Run Script Build Phase:

```bash
source ~/.bash_profile
```

If you get this error:

> Cannot find GraphQL schema file [...]
Expand All @@ -242,12 +236,6 @@ If you get this error:
If you don't have any `.graphql` files in your build tree, and you need to create at least `.graphql` file with a valid query.

If you get this error:

> Ensure that there is only one instance of "graphql" in the node_modules directory. If different versions of "graphql" are the dependencies of other relied on modules, use "resolutions" to ensure only one version is installed.
Delete the `node_modules` folder in your source root and rebuild.

## Adding the generated API file to your target

Drag the generated `API.swift` file to your target.
Expand Down

0 comments on commit 958e14e

Please sign in to comment.