JLChen
2021-08-02 38f4fb064df09f344fc3237409c76a9fba2a8a9e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
variables:
  archive_scheme: linphone
  archive_path: linphone.xcarchive
  export_path: linphone-adhoc-ipa
  export_options_plist: linphone-adhoc.plist
 
job-ios:
 
  stage: build
  tags: [ "macosx-xcode12" ]
 
  script:
    - pod install --repo-update
    - pwd
    - xcodebuild archive -scheme $archive_scheme -archivePath ./$archive_path -configuration Release -workspace ./linphone.xcworkspace -UseModernBuildSystem=NO
    - xcodebuild -exportArchive -archivePath  ./$archive_path -exportPath ./$export_path -exportOptionsPlist ./$export_options_plist -allowProvisioningUpdates -UseModernBuildSystem=NO
 
 
  artifacts:
    paths:
      - $archive_path
      - $export_path
    when: always
    expire_in: 1 week