Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ianpartridge committed Sep 21, 2016
1 parent 0d870b0 commit 2ab1fd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 28 deletions.
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
www.kitura.net
www.kitura.io
10 changes: 2 additions & 8 deletions en/starter/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,9 @@ Kitura can run on macOS and Linux.

## macOS

1. Install [Homebrew](http://brew.sh/) (if you don't already have it installed):
1. Download and install [Xcode 8](https://developer.apple.com/download/).

`$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`

2. Install the necessary dependencies:

`$ brew install curl`

3. Download and install [Xcode 8](https://developer.apple.com/download/).
2. There is no step 2.

> Note: if you have been using the Xcode 8 betas, you may also need to run `sudo xcode-select -r` to reset your selected developer directory.
Expand Down
19 changes: 0 additions & 19 deletions en/starter/xcode.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ Swift Package Manager can generate an Xcode project for you by reading your proj
4. *Change the build scheme to your executable*. Xcode defaults to the module of the same name, which won't run.
5. Run.

# Troubleshooting

Seeing error `ld: library not found for -lCHTTPParser for architecture x86_64` on build:

To solve this, go to your project's build settings and add `$SRCROOT/.build/debug` to the `Library Search Paths` for the `KituraNet` and `Kitura` targets, then Clean and Build.

# Develop iOS application and Kitura on the same workspace

1. Follow the above instructions for creating an Xcode project for your Kitura app. For example, `./MyApp-server.xcodeproj`
Expand All @@ -38,16 +32,3 @@ To solve this, go to your project's build settings and add `$SRCROOT/.build/debu
5. Be sure to choose to create new references to these projects and sources, but do not actually copy the files in the filesystem.
6. Select the scheme you wish to build the server and the client respectively.

# Toolchain settings
We want to use a specific version of toolchain for a Kitura app, however, for an iOS app we have to use Xcode's default toolchain.

To solve this situation:

For iOS:

- Set the toolchain setting to Xcode's default (menu: `Xcode` => `Toolchains`).

For Kitura app:

- Download the correct toolchain directly from [swift.org](https://swift.org/download/#snapshots) (the toolchain might be under `Older snapshots`), install it, then go to `Xcode` => `Toolchains` and select your desired toolchain.

0 comments on commit 2ab1fd4

Please sign in to comment.