You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jekyll/_cci2/testing-ios.md
+36-35Lines changed: 36 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ example of a minimal config in the
76
76
77
77
It is recommended to add a `Gemfile` to your repository to make sure that the same version of Fastlane is used both locally and on CircleCI and that all dependencies are installed. Below is a sample of a simple `Gemfile`:
78
78
79
-
```
79
+
```ruby
80
80
# Gemfile
81
81
source "https://rubygems.org"
82
82
gem 'fastlane'
@@ -89,7 +89,7 @@ After you have created a `Gemfile` locally, you will need to run `bundle install
89
89
90
90
When using Fastlane in your CircleCI project, we recommend adding the following to beginning of your `Fastfile`:
91
91
92
-
```
92
+
```ruby
93
93
# fastlane/Fastfile
94
94
95
95
...
@@ -114,7 +114,7 @@ new code signing certificates or provisioning profiles.
114
114
115
115
A basic Fastlane configuration that can be used on CircleCI is as follows:
116
116
117
-
```
117
+
```ruby
118
118
# fastlane/Fastfile
119
119
default_platform :ios
120
120
@@ -207,6 +207,7 @@ If you want to run steps with a version of Ruby that is listed as "available to
207
207
The [`chruby`](https://github.com/postmodern/chruby) program is installed on the image and can be used to select a version of Ruby. The auto-switching feature is not enabled by default. To select a version of Ruby to use, add the `chruby` function to `~/.bash_profile`:
You can then ensure you are using those, by prefixing commands with `bundle exec`:
268
266
269
-
```
270
-
steps:
271
-
- run: bundle exec pod install
267
+
```yaml
268
+
# ...
269
+
steps:
270
+
- run: bundle exec pod install
272
271
```
273
272
274
273
## Using Homebrew
275
274
276
275
[Homebrew](http://brew.sh/) is pre-installed on CircleCI, so you can simply use `brew install` to add nearly any dependency you require to complete your build. For example:
277
276
278
-
```
279
-
steps:
280
-
- run:
281
-
name: Install cowsay
282
-
command: brew install cowsay
283
-
- run:
284
-
name: cowsay hi
285
-
command: cowsay Hi!
277
+
```yaml
278
+
# ...
279
+
steps:
280
+
- run:
281
+
name: Install cowsay
282
+
command: brew install cowsay
283
+
- run:
284
+
name: cowsay hi
285
+
command: cowsay Hi!
286
286
```
287
287
288
288
It is also possible to use the `sudo` command if necessary to perform customizations outside of Homebrew.
@@ -306,10 +306,11 @@ To pre-start the simulator, add the following to your
0 commit comments