{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/1834","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/1834/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/1834/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/1834/events","html_url":"https://github.com/fastlane/fastlane/issues/1834","id":139074784,"number":1834,"title":"Getting expand_path crash while running gym","user":{"login":"fastlane-bot-helper","id":17710331,"avatar_url":"https://avatars.githubusercontent.com/u/17710331?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlane-bot-helper","html_url":"https://github.com/fastlane-bot-helper","followers_url":"https://api.github.com/users/fastlane-bot-helper/followers","following_url":"https://api.github.com/users/fastlane-bot-helper/following{/other_user}","gists_url":"https://api.github.com/users/fastlane-bot-helper/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlane-bot-helper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlane-bot-helper/subscriptions","organizations_url":"https://api.github.com/users/fastlane-bot-helper/orgs","repos_url":"https://api.github.com/users/fastlane-bot-helper/repos","events_url":"https://api.github.com/users/fastlane-bot-helper/events{/privacy}","received_events_url":"https://api.github.com/users/fastlane-bot-helper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/gym","name":"gym","color":"d4c5f9"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/waiting-for-reply","name":"waiting-for-reply","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-21T12:29:13Z","updated_at":"2016-06-09T17:11:06Z","closed_at":null,"body":"<table>\n      <tr>\n        <td>\n          <img src='https://avatars0.githubusercontent.com/u/14924551?v=3&s=70' width='35'>\n        </td>\n        <td>\n          Original issue by @sborkin - Imported from <a href='https://github.com/fastlane/gym/issues/166'>fastlane/gym#166</a>\n        </td>\n      </tr>\n    </table>\n\nHello,\r\n\r\nI trying to build my app using fastlane and circleci and getting a crash on expand_path inside the gym module.\r\n\r\nHere's my fastline file:\r\n\r\n```\r\nfastlane_version \"1.48.0\"\r\n\r\nplatform :ios do\r\n    lane :circleci do\r\n\r\n    create_keychain(\r\n        name: \"###\",\r\n        default_keychain: true,\r\n        unlock: true,\r\n        timeout: 3600,\r\n        lock_when_sleeps: true,\r\n        password: \"####\"\r\n    )\r\n\r\n    import_certificate(\r\n        certificate_path: \"fastlane/certificates/ios_distribution.cer\",\r\n        keychain_name: \"###\"\r\n    )\r\n\r\n    import_certificate(\r\n        certificate_path: \"fastlane/certificates/distribution.p12\",\r\n        certificate_password: \"####\",\r\n        keychain_name: \"##\"\r\n    )\r\n\r\n    sigh(\r\n        app_identifier: \"com.applicaster.tvml\",\r\n        username: \"s.borkin@applicaster.com\",\r\n        cert_id: \"###\",\r\n    )\r\n\r\n    ENV[\"PROFILE_UDID\"] = lane_context[SharedValues::SIGH_UDID]\r\n    gym(\r\n        use_legacy_build_api: true,\r\n        clean: true,\r\n        scheme: \"ApplicasterTVML\",\r\n        codesigning_identity: \"iPhone Distribution: Applicaster Ltd\",\r\n        destination: \"generic/platform=tvOS\",\r\n        output_directory: \"build/\",\r\n        output_name: \"ApplicasterTVML.ipa\"\r\n    )\r\n\r\n    ENV['FASTLANE_PASSWORD']='####'\r\n    pilot(\r\n        username: \"###\",\r\n        ipa: \"build/ApplicasterTVML.ipa\"\r\n    )\r\n\r\n    end\r\nend\r\n```\r\n\r\nThe output:\r\n\r\n```\r\n04:11:40: --- Step: Verifying required fastlane version ---\r\n\r\n04:11:40: fastlane version valid\r\n04:11:40: Driving the lane 'ios circleci' 🚀\r\n\r\n04:11:40: --- Step: create_keychain ---\r\n\r\n04:11:40: [SHELL COMMAND]: security list-keychains -d user\r\n\r\n04:11:40: --- Step: import_certificate ---\r\n\r\n04:11:40: --- Step: import_certificate ---\r\n\r\n04:11:40: --- Step: sigh ---\r\n\r\n+-------------------------------------+--------------------------+\r\n| Summary for sigh 1.2.1 |\r\n+-------------------------------------+--------------------------+\r\n| adhoc | false |\r\n| skip_install | false |\r\n| development | false |\r\n| force | false |\r\n| app_identifier | ### |\r\n| username | ### |\r\n| ignore_profiles_with_different_name | false |\r\n| cert_id | ### |\r\n| skip_fetch_profiles | false |\r\n| skip_certificate_verification | false |\r\n+-------------------------------------+--------------------------+\r\n\r\n04:11:40: Starting login with user '###'\r\n[04:11:42]: Successfully logged in\r\n[04:11:42]: Fetching profiles...\r\n[04:11:48]: Found 1 matching profile(s)\r\n[04:11:48]: Downloading provisioning profile...\r\n04:11:49: Successfully downloaded provisioning profile...\r\n04:11:49: Installing provisioning profile...\r\n/Users/distiller/TVML-DemoApp-tvOS/AppStore_com.applicaster.tvml.mobileprovision\r\n04:11:49: Setting Provisioning Profile type to 'app-store'\r\n\r\n04:11:49: --- Step: gym ---\r\n\r\n04:11:49: Using legacy build system - waiting for radar to be fixed: https://openradar.appspot.com/radar?id=4952000420642816\r\n04:11:49: Installing provisioning profile...\r\n04:11:49: xcrun xcodebuild -list -project './ApplicasterTVML.xcodeproj'\r\n\r\n+---------------------------+----------------------------------------------------------------------------------+\r\n| Summary for gym 1.2.0 |\r\n+---------------------------+----------------------------------------------------------------------------------+\r\n| project | ./ApplicasterTVML.xcodeproj |\r\n| scheme | ApplicasterTVML |\r\n| clean | true |\r\n| output_directory | build/ |\r\n| output_name | ApplicasterTVML |\r\n| silent | false |\r\n| codesigning_identity | ### |\r\n| include_symbols | true |\r\n| include_bitcode | false |\r\n| use_legacy_build_api | true |\r\n| export_method | app-store |\r\n| buildlog_path | ~/Library/Logs/gym |\r\n| provisioning_profile_path | /Users/distiller/TVML-DemoApp-tvOS/AppStore_com.applicaster.tvml.mobileprovision |\r\n| destination | generic/platform=tvOS |\r\n+---------------------------+----------------------------------------------------------------------------------+\r\n\r\n[04:11:51]: xcrun xcodebuild -showBuildSettings -scheme 'ApplicasterTVML' -project './ApplicasterTVML.xcodeproj'\r\n[04:11:52]: $ set -o pipefail && xcodebuild -scheme 'ApplicasterTVML' -project './ApplicasterTVML.xcodeproj' -destination 'generic/platform=tvOS' -archivePath '/Users/distiller/Library/Developer/Xcode/Archives/2015-12-21/ApplicasterTVML 2015-12-21 04.11.51.xcarchive' clean archive CODE_SIGN_IDENTITY='####' | tee '/Users/distiller/Library/Logs/gym/ApplicasterTVML-ApplicasterTVML.log' | xcpretty\r\n[04:11:54]: > ▸ Cleaning ApplicasterTVML/ApplicasterTVML [Debug]\r\n[04:11:54]: > ▸ Check Dependencies\r\n[04:11:54]: > ▸ Clean Succeeded\r\n[04:11:54]: > ▸ Building ApplicasterTVML/ApplicasterTVML [Release]\r\n[04:11:54]: > ▸ Check Dependencies\r\n[04:11:54]: > ▸ Compiling AppDelegate.swift\r\n[04:11:57]: > ▸ Linking ApplicasterTVML\r\n[04:12:00]: > ▸ Processing Info.plist\r\n[04:12:00]: > ▸ Generating 'ApplicasterTVML.app.dSYM'\r\n[04:12:00]: > ▸ Touching ApplicasterTVML.app\r\n[04:12:04]: > ▸ Signing /Users/distiller/Library/Developer/Xcode/DerivedData/ApplicasterTVML-cdfikdgufuqgycdtamkrshhbqzvf/Build/Intermediates/ArchiveIntermediates/ApplicasterTVML/InstallationBuildProductsLocation/Applications/ApplicasterTVML.app\r\n[04:12:04]: > ▸ Touching ApplicasterTVML.app.dSYM\r\n[04:12:05]: > ▸ Archive Succeeded\r\n[04:12:05]: Successfully stored the archive. You can find it in the Xcode Organizer.\r\n[04:12:05]: Variable Dump:\r\n[04:12:05]: {:PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios circleci\", :ORIGINAL_DEFAULT_KEYCHAIN=>\"\\\"/Users/distiller/Library/Keychains/login.keychain\\\"\", :SIGH_PROFILE_PATH=>\"/Users/distiller/TVML-DemoApp-tvOS/AppStore_com.applicaster.tvml.mobileprovision\", :SIGH_PROFILE_PATHS=>[\"/Users/distiller/TVML-DemoApp-tvOS/AppStore_com.applicaster.tvml.mobileprovision\"], :SIGH_UDID=>\"###\", :SIGH_PROFILE_TYPE=>\"app-store\"}\r\n[04:12:05]: no implicit conversion of nil into String\r\n\r\n+------+-------------------------------------+-------------+\r\n| fastlane summary |\r\n+------+-------------------------------------+-------------+\r\n| Step | Action | Time (in s) |\r\n+------+-------------------------------------+-------------+\r\n| 1 | Verifying required fastlane version | 0 |\r\n| 2 | create_keychain | 0 |\r\n| 3 | import_certificate | 0 |\r\n| 4 | import_certificate | 0 |\r\n| 5 | sigh | 9 |\r\n| 6 | gym | 15 |\r\n+------+-------------------------------------+-------------+\r\n\r\n[04:12:05]: fastlane finished with errors\r\n\r\n😨 An error occured. Please enable crash reports using fastlane enable_crash_reporting.\r\n👍 This makes resolving issues much easier and helps improve fastlane.\r\n🔒 The reports will be stored securely on getsentry.com.\r\n✨ Once crash reporting is enabled, you get a clean output when something goes wrong.\r\n\r\n🙊 More information about privacy: https://github.com/KrauseFx/fastlane/releases/tag/1.33.3\r\n\r\n/Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/actions/gym.rb:22:in expand_path': no implicit conversion of nil into String (TypeError) from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/actions/gym.rb:22:inrun'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/runner.rb:142:in block (2 levels) in execute_action' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/actions/actions_helper.rb:37:inexecute_action'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/runner.rb:128:in block in execute_action' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/runner.rb:127:inchdir'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/runner.rb:127:in execute_action' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/fast_file.rb:149:inmethod_missing'\r\nfrom Fastfile:35:in block (2 levels) in parsing_binding' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/lane.rb:36:incall'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/lane.rb:36:in call' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/runner.rb:51:inblock in execute'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/runner.rb:46:in chdir' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/runner.rb:46:inexecute'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/lane_manager.rb:46:in cruise_lane' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/lib/fastlane/command_line_handler.rb:30:inhandle'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/bin/fastlane:37:in block (2 levels) in run' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:incall'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in call' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:inrun'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in run_active_command' from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:inrun!'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in run!' from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/bin/fastlane:155:inrun'\r\nfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.48.0/bin/fastlane:161:in <top (required)>' from /usr/bin/fastlane:23:inload'\r\n\r\nbundle exec fastlane ios circleci returned exit code 1\r\n\r\nfrom /usr/bin/fastlane:23:in `\r\n\r\n' Action failed: bundle exec fastlane ios circleci\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/224962557","html_url":"https://github.com/fastlane/fastlane/issues/1834#issuecomment-224962557","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/1834","id":224962557,"user":{"login":"fastlane-bot","id":17056452,"avatar_url":"https://avatars.githubusercontent.com/u/17056452?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlane-bot","html_url":"https://github.com/fastlane-bot","followers_url":"https://api.github.com/users/fastlane-bot/followers","following_url":"https://api.github.com/users/fastlane-bot/following{/other_user}","gists_url":"https://api.github.com/users/fastlane-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlane-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlane-bot/subscriptions","organizations_url":"https://api.github.com/users/fastlane-bot/orgs","repos_url":"https://api.github.com/users/fastlane-bot/repos","events_url":"https://api.github.com/users/fastlane-bot/events{/privacy}","received_events_url":"https://api.github.com/users/fastlane-bot/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T17:11:06Z","updated_at":"2016-06-09T17:11:06Z","body":"There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.\n\nPlease make sure to update to the latest `fastlane` version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:"}}
{"actor":{"display_login":"fastlane-bot"}}