Slide 40
Slide 40 text
1 EXPORT_METHOD = 'ad-hoc'
2 WORKSPACE = '/path/to/ios-app/app.xcodeproj'
3 CONFIGURATION = 'Release'
4 SCHEME = 'target_scheme'
5 CODESIGNING_IDENTITY = 'iPhone Distribution:
6 HOGE (xxxxxxxxx)'
7
8 def build
9 values = {
10 export_method: EXPORT_METHOD,
11 workspace: WORKSPACE,
12 configuration: CONFIGURATION,
13 scheme: SCHEME,
14 codesigning_identity:
15 CODESIGNING_IDENTITY
16 }
17 v = FastlaneCore::Configuration.create(Gym::
18 Options.available_options, values)
19
20 File.expand_path(Gym::Manager.new.work(v))
21 end