-
Notifications
You must be signed in to change notification settings - Fork 54
Install with Cocoapods
Jeffrey Wear edited this page Jun 26, 2014
·
11 revisions
By this point, you should have created an Integration Tests target. If not, please follow the directions here first.
Now, install Cocoapods, if you haven't already:
sudo gem install cocoapods # sudo is required if you're using the default ruby
- Go to your Integration Tests target and choose the Summary tab. Under "Linked Frameworks and Libraries", delete
libPods.a
.
-
Use the terminal to navigate to your project's directory.
-
Make a new file called
Podfile
with no extension:touch Podfile
. Close your Xcode project now.
- Configure it as follows:
platform :ios, '5.1'
target :'Integration Tests' do
pod 'Subliminal'
end
- From the terminal, run
pod install
.
This will also install Subliminal's supporting files, including a "Subliminal test" file template.
- From now on, use the
*.xcworkspace
file:open *.xcworkspace
.
The above process does not install Subliminal's API documentation into Xcode. If you would like to do so, execute
cd Pods/Subliminal && rake install
in the Terminal.
You can also find this documentation online here.
With Subliminal installed, the final step is to add the code to run Subliminal tests.