Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add caveat about bitcode to readme #548

Merged
merged 1 commit into from
Feb 1, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ The ObjectiveGit API makes extensive use of the Cocoa NSError pattern. The publi

### Xcode

ObjectiveGit requires Xcode 7 or greater to build the framework and run unit tests. Projects that must use an older version of Xcode can use
ObjectiveGit requires Xcode 7 or greater to build the framework and run unit tests. Projects that must use an older version of Xcode can use
[Carthage](#carthage) to install pre-built binaries
or download them [manually](#manually).

### Other Tools

To start building the framework, you must install the required dependencies,
[xctool](https://github.com/facebook/xctool) and
[cmake](https://github.com/Kitware/CMake). We recommend using
[Homebrew](http://brew.sh) to install these tools.
To start building the framework, you must install the required dependencies,
[xctool](https://github.com/facebook/xctool) and
[cmake](https://github.com/Kitware/CMake). We recommend using
[Homebrew](http://brew.sh) to install these tools.

Once you have the dependencies you should clone this repository and then run [`script/bootstrap`](script/bootstrap). This will automatically pull down and install any other
dependencies.
Expand All @@ -52,6 +52,12 @@ There are three ways of including ObjectiveGit in a project:
1. [Manual](#manual)
1. [Subproject](#subproject)

## Bitcode

:warning: iOS apps need to set the `ENABLE_BITCODE` build setting to `NO`.

![Xcode project bitcode setting disabled](https://cloud.githubusercontent.com/assets/41798/10668574/d8dd3080-78d4-11e5-8aa5-e10084b7ce34.png)


## Carthage

Expand All @@ -71,7 +77,7 @@ There are three ways of including ObjectiveGit in a project:
1. **iOS targets**
* On your application targets' "General" settings tab, in the "Linked Frameworks and Libraries" section, drag and drop the `ObjectiveGit.framework` from the [`Carthage/Build/iOS`](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#carthagebuild) folder on disk.
![Linked Frameworks](http://i.imgur.com/y4caRw0.png)

* On your application targets' "Build Phases" settings tab, click the “+” icon and choose “New Run Script Phase”. Create a Run Script with the following contents:

```
Expand Down