fastlane-old / gym

Building your iOS apps has never been easier
https://fastlane.tools
645 stars 54 forks source link

gym not respecting export_options when use_legacy_build_api is true #231

Closed cbowns closed 8 years ago

cbowns commented 8 years ago

I've got a lane for exporting a build for Test Flight upload that goes as follows:

  lane :test_flight do
    match(type: "appstore")

    # use the UDID of the newly created provisioning profile
    ENV["PROFILE_UDID"] = lane_context[SharedValues::SIGH_UDID]

    # build the app.
    gym(
      scheme: "Inspire",
      use_legacy_build_api: true
      )
  end

gym seems like it receives my implicit "appstore" request:

[15:41:37]: -----------------
[15:41:37]: --- Step: gym ---
[15:41:37]: -----------------
[15:41:37]: Using legacy build system - waiting for radar to be fixed: https://openradar.appspot.com/radar?id=4952000420642816
[15:41:37]: xcrun xcodebuild -list -workspace 'Inspire.xcworkspace'

+----------------------+----------------------+
|            Summary for gym 1.6.1            |
+----------------------+----------------------+
| scheme               | Inspire              |
| use_legacy_build_api | true                 |
| export_method        | app-store            |
| sdk                  | iphoneos             |
| workspace            | Inspire.xcworkspace  |
| clean                | true                 |
| output_directory     | ./fastlane/builds    |
| output_name          | Inspire_Utility      |
| destination          | generic/platform=iOS |
| silent               | false                |
| buildlog_path        | ~/Library/Logs/gym   |
+----------------------+----------------------+

(Note: export_method above is app-store, as desired.)

However, when I open the .ipa it produces:

[15:45:55]: Successfully exported and compressed dSYM file
[15:45:55]: Successfully exported and signed the ipa file:
[15:45:55]: /Users/cbowns/Development/crlf/carrot-sense/utility-iOS/fastlane/builds/Inspire_Utility.ipa

# cd ~/Desktop
# cp /Users/cbowns/Development/crlf/carrot-sense/utility-iOS/fastlane/builds/Inspire_Utility.ipa ~/Desktop
# unzip ~/Desktop/Inspire_Utility.ipa

# codesign -d -vv Payload/Inspire.app                                                       
Executable=/Users/cbowns/Desktop/Payload/Inspire.app/Inspire
Identifier=com.carrotsense.Inspire.utility
Format=bundle with Mach-O universal (armv7 arm64)
CodeDirectory v=20200 size=18095 flags=0x0(none) hashes=895+5 location=embedded
Signature size=4364
Authority=iPhone Developer: Carrot-Sense Developer (LAG42SBR79)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Mar 2, 2016, 3:45:43 PM
Info.plist entries=31
TeamIdentifier=L3WD573F5U
Sealed Resources version=2 rules=12 files=58
Internal requirements count=1 size=204

The build is still development-signed: Authority=iPhone Developer: Carrot-Sense Developer (LAG42SBR79)

(For ease of viewing, from ProvisioningQL:

screen shot 2016-03-02 at 3 55 48 pm

I manually exported another app copy from the archive in Xcode, and Xcode gave me the desired distribution-signed build:

# codesign -d -vv Payload/Inspire.app                                                              
Executable=/Users/cbowns/Desktop/Inspire 2016-03-02 15-29-49/Payload/Inspire.app/Inspire
Identifier=com.carrotsense.Inspire.utility
Format=bundle with Mach-O universal (armv7 arm64)
CodeDirectory v=20200 size=18095 flags=0x0(none) hashes=895+5 location=embedded
Signature size=4362
Authority=iPhone Distribution: Carrot Sense, Inc (L3WD573F5U)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Mar 2, 2016, 3:29:42 PM
Info.plist entries=31
TeamIdentifier=L3WD573F5U
Sealed Resources version=2 rules=12 files=58
Internal requirements count=1 size=200

Screenshot:

screen shot 2016-03-02 at 3 55 56 pm

The punchline: gym clearly knew I wanted an app-store build, but failed to actually create one. How can I find out why? And how can I get it to actually do an app-store build?

cbowns commented 8 years ago

This also reproduces if I run gym directly:

# bundle exec gym --export_method app-store --use_legacy_build_api true

[15:59:56]: Using legacy build system - waiting for radar to be fixed: https://openradar.appspot.com/radar?id=4952000420642816
[15:59:56]: xcrun xcodebuild -list -workspace 'Inspire.xcworkspace'

+----------------------+----------------------+
|            Summary for gym 1.6.1            |
+----------------------+----------------------+
| export_method        | app-store            |
| use_legacy_build_api | true                 |
| sdk                  | iphoneos             |
| workspace            | Inspire.xcworkspace  |
| scheme               | Inspire              |
| clean                | true                 |
| output_directory     | ./fastlane/builds    |
| output_name          | Inspire_Utility      |
| destination          | generic/platform=iOS |
| silent               | false                |
| buildlog_path        | ~/Library/Logs/gym   |
+----------------------+----------------------+

…
<builds>
[16:03:16]: Successfully exported and compressed dSYM file
[16:03:16]: Successfully exported and signed the ipa file:
[16:03:16]: /Users/cbowns/Development/crlf/carrot-sense/utility-iOS/fastlane/builds/Inspire_Utility.ipa

Copy the archive and decompress it:

# cd ~/Desktop
# mkdir `date "+%Y-%m-%d_%H:%M:%S"`
# cd 2016-03-02_16:04:03
# cp /Users/cbowns/Development/crlf/carrot-sense/utility-iOS/fastlane/builds/Inspire_Utility.ipa .
# unzip Inspire_Utility.ipa
# codesign -d -vv Payload/Inspire.app                                                                                        
Executable=/Users/cbowns/Desktop/2016-03-02_16:04:03/Payload/Inspire.app/Inspire
Identifier=com.carrotsense.Inspire.utility
Format=bundle with Mach-O universal (armv7 arm64)
CodeDirectory v=20200 size=18095 flags=0x0(none) hashes=895+5 location=embedded
Signature size=4364
Authority=iPhone Developer: Carrot-Sense Developer (LAG42SBR79)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Mar 2, 2016, 4:03:04 PM
Info.plist entries=31
TeamIdentifier=L3WD573F5U
Sealed Resources version=2 rules=12 files=58
Internal requirements count=1 size=204
vpolouchkine commented 8 years ago

What happens if you run xcodebuild instead?

cbowns commented 8 years ago

In an Archive action in Xcode, it signs it for Development:

CodeSign /Users/cbowns/Library/Developer/Xcode/DerivedData/Inspire-dvkqfdywoyjnajfmgzabhtixangy/Build/Intermediates/ArchiveIntermediates/Inspire/InstallationBuildProductsLocation/Applications/Inspire.app
    cd /Users/cbowns/Development/crlf/carrot-sense/utility-iOS
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity:     "iPhone Developer: Carrot-Sense Developer (LAG42SBR79)"
Provisioning Profile: "match Development com.carrotsense.Inspire.utility"
                      (908cbb18-c613-4d29-9924-abb1199cac71)

    /usr/bin/codesign --force --sign 59FAB080115BB25FA37485B11DD9ACC9268188EF --entitlements /Users/cbowns/Library/Developer/Xcode/DerivedData/Inspire-dvkqfdywoyjnajfmgzabhtixangy/Build/Intermediates/ArchiveIntermediates/Inspire/IntermediateBuildFilesPath/Inspire.build/Release-iphoneos/Inspire.build/Inspire.app.xcent --timestamp=none /Users/cbowns/Library/Developer/Xcode/DerivedData/Inspire-dvkqfdywoyjnajfmgzabhtixangy/Build/Intermediates/ArchiveIntermediates/Inspire/InstallationBuildProductsLocation/Applications/Inspire.app
cbowns commented 8 years ago

As does a plain ol' xcodebuild CLI invocation:

CodeSign build/Release-iphoneos/Inspire.app
    cd /Users/cbowns/Development/crlf/carrot-sense/utility-iOS
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/cbowns/.gem/ruby/2.2.1/bin:/Users/cbowns/.rubies/ruby-2.2.1/lib/ruby/gems/2.2.0/bin:/Users/cbowns/.rubies/ruby-2.2.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/X11/bin:/usr/libexec:/Applications/Postgres.app/Contents/Versions/9.4/bin:/Users/cbowns/bin:."

Signing Identity:     "iPhone Developer: Carrot-Sense Developer (LAG42SBR79)"
Provisioning Profile: "match Development com.carrotsense.Inspire.utility"
                      (908cbb18-c613-4d29-9924-abb1199cac71)

    /usr/bin/codesign --force --sign 59FAB080115BB25FA37485B11DD9ACC9268188EF --entitlements /Users/cbowns/Development/crlf/carrot-sense/utility-iOS/build/Inspire.build/Release-iphoneos/Inspire.build/Inspire.app.xcent --timestamp=none /Users/cbowns/Development/crlf/carrot-sense/utility-iOS/build/Release-iphoneos/Inspire.app
cbowns commented 8 years ago

I just made a brand-new Xcode project called SimpleApp, and it exhibits this bug as well. The distribution build from gym doesn't work anymore: gym always outputs a development-signed build, even if I pass --export_method appstore at the command-line:

Last login: Thu Mar  3 12:16:12 on ttys021

cbowns at Atlas in ~/Development/fastlane-bugs/SimpleApp on master at d8d06ac ~? ☆
% ± be gym --export_method app-store --use_legacy_build_api true                                                                                                                      2016-03-03 [12:18:03]
[12:18:05]: Using legacy build system - waiting for radar to be fixed: https://openradar.appspot.com/radar?id=4952000420642816
[12:18:05]: xcrun xcodebuild -list -project './SimpleApp.xcodeproj'

+----------------------+-----------------------+
|            Summary for gym 1.6.1             |
+----------------------+-----------------------+
| export_method        | app-store             |
| use_legacy_build_api | true                  |
| sdk                  | iphoneos              |
| clean                | true                  |
| output_directory     | ./fastlane/builds     |
| output_name          | SimpleApp             |
| project              | ./SimpleApp.xcodeproj |
| scheme               | SimpleApp             |
| destination          | generic/platform=iOS  |
| silent               | false                 |
| buildlog_path        | ~/Library/Logs/gym    |
+----------------------+-----------------------+

[12:18:13]: $ set -o pipefail && xcodebuild -scheme 'SimpleApp' -project './SimpleApp.xcodeproj' -sdk 'iphoneos' -destination 'generic/platform=iOS' -archivePath '/Users/cbowns/Library/Developer/Xcode/Archives/2016-03-03/SimpleApp 2016-03-03 12.18.13.xcarchive' clean archive | tee /Users/cbowns/Library/Logs/gym/SimpleApp-SimpleApp.log | xcpretty
[12:18:15]: ▸ Cleaning SimpleApp/SimpleApp [Debug]
[12:18:15]: ▸ Check Dependencies
[12:18:16]: ▸ Clean Succeeded
[12:18:16]: ▸ Building SimpleApp/SimpleApp [Release]
[12:18:16]: ▸ Check Dependencies
[12:18:16]: ▸ Compiling ViewController.swift
[12:18:17]: ▸ Compiling AppDelegate.swift
[12:18:17]: ▸ Compiling ViewController.swift
[12:18:18]: ▸ Compiling AppDelegate.swift
[12:18:18]: ▸ Compiling SimpleApp_vers.c
[12:18:18]: ▸ Compiling SimpleApp_vers.c
[12:18:18]: ▸ Linking SimpleApp
[12:18:18]: ▸ Linking SimpleApp
[12:18:18]: ▸ Compiling Main.storyboard
[12:18:18]: ▸ Compiling LaunchScreen.storyboard
[12:18:19]: ▸ Processing Info.plist
[12:18:19]: ▸ Generating 'SimpleApp.app.dSYM'
[12:18:19]: ▸ Touching SimpleApp.app
[12:18:23]: ▸ Signing /Users/cbowns/Library/Developer/Xcode/DerivedData/SimpleApp-djzsjsjfqlmtzaanwuhlhrflaqvq/Build/Intermediates/ArchiveIntermediates/SimpleApp/InstallationBuildProductsLocation/Applications/SimpleApp.app
[12:18:24]: ▸ Touching SimpleApp.app.dSYM
[12:18:24]: ▸ Archive Succeeded
[12:18:25]: Successfully stored the archive. You can find it in the Xcode Organizer.
[12:18:25]: $ /usr/bin/xcrun /tmp/PackageApplication4Gym -v /Users/cbowns/Library/Developer/Xcode/Archives/2016-03-03/SimpleApp\ 2016-03-03\ 12.18.13.xcarchive/Products/Applications/SimpleApp.app -o '/Users/cbowns/Library/Developer/Xcode/Archives/2016-03-03/SimpleApp.ipa' exportFormat ipa 
[12:18:28]: $ zip --recurse-paths '/Users/cbowns/Library/Developer/Xcode/Archives/2016-03-03/SimpleApp.ipa' SwiftSupport > /dev/null
[12:18:31]: Compressing 1 dSYM(s)
[12:18:31]: $ cd '/Users/cbowns/Library/Developer/Xcode/Archives/2016-03-03/SimpleApp 2016-03-03 12.18.13.xcarchive/dSYMs' && zip -r '/Users/cbowns/Development/fastlane-bugs/SimpleApp/fastlane/builds/SimpleApp.app.dSYM.zip' *.dSYM
[12:18:31]: ▸ updating: SimpleApp.app.dSYM/ (stored 0%)
[12:18:31]: ▸ updating: SimpleApp.app.dSYM/Contents/ (stored 0%)
[12:18:31]: ▸ updating: SimpleApp.app.dSYM/Contents/Info.plist (deflated 52%)
[12:18:31]: ▸ updating: SimpleApp.app.dSYM/Contents/Resources/ (stored 0%)
[12:18:31]: ▸ updating: SimpleApp.app.dSYM/Contents/Resources/DWARF/ (stored 0%)
[12:18:31]: ▸ updating: SimpleApp.app.dSYM/Contents/Resources/DWARF/SimpleApp (deflated 71%)

[12:18:31]: Successfully exported and compressed dSYM file
[12:18:31]: Successfully exported and signed the ipa file:
[12:18:31]: /Users/cbowns/Development/fastlane-bugs/SimpleApp/fastlane/builds/SimpleApp.ipa

cbowns at Atlas in ~/Development/fastlane-bugs/SimpleApp on master at d8d06ac ~? ☆
% ± cd fastlane/builds                                                                                                                                                                2016-03-03 [12:19:36]

cbowns at Atlas in ~/Development/fastlane-bugs/SimpleApp/fastlane/builds on master at d8d06ac ~? ☆
% ± unzip -q SimpleApp.ipa                                                                                                                                                            2016-03-03 [12:20:09]

cbowns at Atlas in ~/Development/fastlane-bugs/SimpleApp/fastlane/builds on master at d8d06ac ~? ☆
% ± codesign -d -vv Payload/SimpleApp.app                                                                                                                                             2016-03-03 [12:20:20]
Executable=/Users/cbowns/Development/fastlane-bugs/SimpleApp/fastlane/builds/Payload/SimpleApp.app/SimpleApp
Identifier=co.crlf.SimpleApp
Format=bundle with Mach-O universal (armv7 arm64)
CodeDirectory v=20200 size=701 flags=0x0(none) hashes=26+5 location=embedded
Signature size=4371
Authority=iPhone Developer: Carrotsense Internal-Developer (JLV65C8S3F)
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Mar 3, 2016, 12:18:24 PM
Info.plist entries=26
TeamIdentifier=47C5PSVHX8
Sealed Resources version=2 rules=12 files=17
Internal requirements count=1 size=200

cbowns at Atlas in ~/Development/fastlane-bugs/SimpleApp/fastlane/builds on master at d8d06ac ~? ☆
% ±                                                                                                                                                                                   2016-03-03, 12:20:20
cbowns commented 8 years ago

My Gemfile.lock:

% ± cat Gemfile.lock                                                                                                                                                                  2016-03-03 [12:21:37]
GEM
  remote: https://rubygems.org/
  specs:
    activesupport (4.2.5.2)
      i18n (~> 0.7)
      json (~> 1.7, >= 1.7.7)
      minitest (~> 5.1)
      thread_safe (~> 0.3, >= 0.3.4)
      tzinfo (~> 1.1)
    addressable (2.3.8)
    babosa (1.0.2)
    cert (1.3.0)
      fastlane_core (>= 0.29.1, < 1.0.0)
      spaceship (>= 0.19.0, < 1.0.0)
    claide (1.0.0.beta.1)
    cocoapods (1.0.0.beta.4)
      activesupport (>= 4.0.2)
      claide (>= 1.0.0.beta.1, < 2.0)
      cocoapods-core (= 1.0.0.beta.4)
      cocoapods-deintegrate (>= 1.0.0.beta.1, < 2.0)
      cocoapods-downloader (>= 1.0.0.beta.1, < 2.0)
      cocoapods-plugins (>= 1.0.0.beta.1, < 2.0)
      cocoapods-search (>= 1.0.0.beta.1, < 2.0)
      cocoapods-stats (>= 1.0.0.beta.3, < 2.0)
      cocoapods-trunk (>= 1.0.0.beta.2, < 2.0)
      cocoapods-try (>= 1.0.0.beta.2, < 2.0)
      colored (~> 1.2)
      escape (~> 0.0.4)
      fourflusher (~> 0.3.0)
      molinillo (~> 0.4.3)
      nap (~> 1.0)
      xcodeproj (>= 1.0.0.beta.3, < 2.0)
    cocoapods-core (1.0.0.beta.4)
      activesupport (>= 4.0.2)
      fuzzy_match (~> 2.0.4)
      nap (~> 1.0)
    cocoapods-deintegrate (1.0.0.beta.1)
    cocoapods-downloader (1.0.0.beta.1)
    cocoapods-plugins (1.0.0.beta.1)
      nap
    cocoapods-search (1.0.0.beta.1)
    cocoapods-stats (1.0.0.beta.3)
    cocoapods-trunk (1.0.0.beta.2)
      nap (>= 0.8, < 2.0)
      netrc (= 0.7.8)
    cocoapods-try (1.0.0.beta.2)
    coderay (1.1.1)
    colored (1.2)
    commander (4.3.5)
      highline (~> 1.7.2)
    credentials_manager (0.15.0)
      colored
      commander (>= 4.3.5)
      highline (>= 1.7.1)
      security
    deliver (1.10.3)
      credentials_manager (>= 0.12.0, < 1.0.0)
      fastimage (~> 1.6)
      fastlane_core (>= 0.37.0, < 1.0.0)
      plist (~> 3.1.0)
      spaceship (>= 0.19.0, <= 1.0.0)
    domain_name (0.5.20160216)
      unf (>= 0.0.5, < 1.0.0)
    dotenv (2.1.0)
    escape (0.0.4)
    excon (0.45.4)
    faraday (0.9.2)
      multipart-post (>= 1.2, < 3)
    faraday-cookie_jar (0.0.6)
      faraday (>= 0.7.4)
      http-cookie (~> 1.0.0)
    faraday_middleware (0.10.0)
      faraday (>= 0.7.4, < 0.10)
    fastimage (1.6.8)
      addressable (~> 2.3, >= 2.3.5)
    fastlane (1.64.0)
      addressable (~> 2.3.8)
      cert (>= 1.3.0, < 2.0.0)
      credentials_manager (>= 0.15.0, < 1.0.0)
      deliver (>= 1.10.1, < 2.0.0)
      fastlane_core (>= 0.36.8, < 1.0.0)
      frameit (>= 2.4.1, < 3.0.0)
      gym (>= 1.6.1, < 2.0.0)
      krausefx-shenzhen (>= 0.14.7)
      match (>= 0.3.0, < 1.0.0)
      pem (>= 1.2.0, < 2.0.0)
      pilot (>= 1.3.0, < 2.0.0)
      plist (~> 3.1.0)
      produce (>= 1.1.0, < 2.0.0)
      scan (>= 0.5.0, < 1.0.0)
      screengrab (>= 0.2.1, < 1.0.0)
      sigh (>= 1.3.1, < 2.0.0)
      slack-notifier (~> 1.3)
      snapshot (>= 1.7.0, < 2.0.0)
      spaceship (>= 0.19.4, < 1.0.0)
      supply (>= 0.4.0, < 1.0.0)
      terminal-notifier (~> 1.6.2)
      terminal-table (~> 1.4.5)
      xcodeproj (>= 0.20, < 2.0.0)
      xcpretty (>= 0.2.1)
    fastlane_core (0.37.0)
      babosa
      colored
      commander (= 4.3.5)
      credentials_manager (>= 0.11.0, < 1.0.0)
      excon (~> 0.45.0)
      highline (>= 1.7.2)
      json
      multi_json
      plist (~> 3.1)
      rubyzip (~> 1.1.6)
      sentry-raven (~> 0.15)
      terminal-table (~> 1.4.5)
    fourflusher (0.3.0)
    frameit (2.5.1)
      deliver (> 0.3)
      fastimage (~> 1.6.3)
      fastlane_core (>= 0.36.1, < 1.0.0)
      mini_magick (~> 4.0.2)
    fuzzy_match (2.0.4)
    google-api-client (0.9.3)
      addressable (~> 2.3)
      googleauth (~> 0.5)
      httpclient (~> 2.7)
      hurley (~> 0.1)
      memoist (~> 0.11)
      mime-types (>= 1.6)
      representable (~> 2.3.0)
      retriable (~> 2.0)
      thor (~> 0.19)
    googleauth (0.5.1)
      faraday (~> 0.9)
      jwt (~> 1.4)
      logging (~> 2.0)
      memoist (~> 0.12)
      multi_json (~> 1.11)
      os (~> 0.9)
      signet (~> 0.7)
    gym (1.6.1)
      fastlane_core (>= 0.36.1, < 1.0.0)
      plist
      rubyzip (>= 1.1.7)
      terminal-table
      xcpretty (>= 0.2.1)
    highline (1.7.8)
    http-cookie (1.0.2)
      domain_name (~> 0.5)
    httpclient (2.7.1)
    hurley (0.2)
    i18n (0.7.0)
    json (1.8.3)
    jwt (1.5.3)
    krausefx-shenzhen (0.14.7)
      commander (~> 4.3)
      dotenv (>= 0.7)
      faraday (~> 0.9)
      faraday_middleware (~> 0.9)
      highline (>= 1.7.2)
      json (~> 1.8)
      net-sftp (~> 2.1.2)
      plist (~> 3.1.0)
      rubyzip (~> 1.1)
      security (~> 0.1.3)
      terminal-table (~> 1.4.5)
    little-plugger (1.1.4)
    logging (2.0.0)
      little-plugger (~> 1.1)
      multi_json (~> 1.10)
    match (0.3.0)
      cert (>= 1.2.8, < 2.0.0)
      credentials_manager (>= 0.13.0, < 1.0.0)
      fastlane_core (>= 0.36.1, < 1.0.0)
      security
      sigh (>= 1.2.2, < 2.0.0)
      spaceship (>= 0.18.1, < 1.0.0)
    memoist (0.14.0)
    method_source (0.8.2)
    mime-types (3.0)
      mime-types-data (~> 3.2015)
    mime-types-data (3.2016.0221)
    mini_magick (4.0.4)
    minitest (5.8.4)
    molinillo (0.4.4)
    multi_json (1.11.2)
    multi_xml (0.5.5)
    multipart-post (2.0.0)
    nap (1.1.0)
    net-sftp (2.1.2)
      net-ssh (>= 2.6.5)
    net-ssh (3.0.2)
    netrc (0.7.8)
    os (0.9.6)
    pem (1.2.0)
      fastlane_core (>= 0.36.1, < 1.0.0)
      spaceship (>= 0.19.3, < 1.0.0)
    pilot (1.4.1)
      credentials_manager (>= 0.3.0)
      fastlane_core (>= 0.36.5, < 1.0.0)
      spaceship (>= 0.20.0, < 1.0.0)
      terminal-table (~> 1.4.5)
    plist (3.1.0)
    produce (1.1.1)
      fastlane_core (>= 0.30.0, < 1.0.0)
      spaceship (>= 0.16.0)
    pry (0.10.3)
      coderay (~> 1.1.0)
      method_source (~> 0.8.1)
      slop (~> 3.4)
    representable (2.3.0)
      uber (~> 0.0.7)
    retriable (2.1.0)
    rouge (1.10.1)
    rubyzip (1.1.7)
    scan (0.5.2)
      fastlane_core (>= 0.36.1, < 1.0.0)
      slack-notifier (~> 1.3)
      terminal-table
      xcpretty (>= 0.2.1)
      xcpretty-travis-formatter (>= 0.0.3)
    screengrab (0.3.0)
      fastlane_core (>= 0.36.8, < 1.0.0)
    security (0.1.3)
    sentry-raven (0.15.6)
      faraday (>= 0.7.6)
    sigh (1.3.1)
      fastlane_core (>= 0.36.1, < 1.0.0)
      plist (~> 3.1)
      spaceship (>= 0.12.3)
    signet (0.7.2)
      addressable (~> 2.3)
      faraday (~> 0.9)
      jwt (~> 1.5)
      multi_json (~> 1.10)
    slack-notifier (1.5.1)
    slop (3.6.0)
    snapshot (1.10.0)
      fastimage (~> 1.6.3)
      fastlane_core (>= 0.36.1, < 1.0.0)
      plist (~> 3.1.0)
      xcpretty (>= 0.2.1)
    spaceship (0.21.1)
      colored
      credentials_manager (>= 0.9.0)
      faraday (~> 0.9)
      faraday-cookie_jar (~> 0.0.6)
      faraday_middleware (~> 0.9)
      fastimage (~> 1.6)
      multi_xml (~> 0.5)
      plist (~> 3.1)
      pry
    supply (0.5.2)
      credentials_manager (>= 0.15.0)
      fastlane_core (>= 0.35.0)
      google-api-client (~> 0.9.1)
    terminal-notifier (1.6.3)
    terminal-table (1.4.5)
    thor (0.19.1)
    thread_safe (0.3.5)
    tzinfo (1.2.2)
      thread_safe (~> 0.1)
    uber (0.0.15)
    unf (0.1.4)
      unf_ext
    unf_ext (0.0.7.2)
    xcodeproj (1.0.0.beta.3)
      activesupport (>= 3)
      claide (>= 1.0.0.beta.1, < 2.0)
      colored (~> 1.2)
    xcpretty (0.2.2)
      rouge (~> 1.8)
    xcpretty-travis-formatter (0.0.4)
      xcpretty (~> 0.2, >= 0.0.7)

PLATFORMS
  ruby

DEPENDENCIES
  cocoapods (>= 1.0.0.beta)
  fastlane

BUNDLED WITH
   1.11.2

cbowns at Atlas in ~/Development/fastlane-bugs/SimpleApp on master at d8d06ac ~? ☆
% ±                                                                                                                                                                                   2016-03-03, 12:21:37
cbowns commented 8 years ago

This also happens for gym --export_method app-store --use_legacy_build_api true. (I wasn't sure what the difference is between export_method and export_options

cbowns commented 8 years ago

AH! AH HA! It's the --use_legacy_build_api flag: gym --export_method app-store produces an App Store-signed build.

mpirri commented 8 years ago

@cbowns True - export options are not supported by the legacy build api. Is there a particular reason you are using the legacy_build_api? I.e., are you running into this issue: https://openradar.appspot.com/radar?id=4952000420642816

cbowns commented 8 years ago

Exporting for a specific distribution, e.g. App Store or Ad-Hoc, totally worked like, a few releases ago.

I just tried the export without legacy_build_api and it failed to export.

fastlane-bot-helper commented 8 years ago

This issue was migrated to https://github.com/fastlane/fastlane/issues/1815. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo :rocket: