{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/4717","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/4717/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/4717/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/4717/events","html_url":"https://github.com/fastlane/fastlane/issues/4717","id":155554210,"number":4717,"title":"custom_args support not working any more in Snapfile","user":{"login":"funkenstrahlen","id":144173,"avatar_url":"https://avatars.githubusercontent.com/u/144173?v=3","gravatar_id":"","url":"https://api.github.com/users/funkenstrahlen","html_url":"https://github.com/funkenstrahlen","followers_url":"https://api.github.com/users/funkenstrahlen/followers","following_url":"https://api.github.com/users/funkenstrahlen/following{/other_user}","gists_url":"https://api.github.com/users/funkenstrahlen/gists{/gist_id}","starred_url":"https://api.github.com/users/funkenstrahlen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkenstrahlen/subscriptions","organizations_url":"https://api.github.com/users/funkenstrahlen/orgs","repos_url":"https://api.github.com/users/funkenstrahlen/repos","events_url":"https://api.github.com/users/funkenstrahlen/events{/privacy}","received_events_url":"https://api.github.com/users/funkenstrahlen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/feature","name":"feature","color":"009800"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/help%20wanted","name":"help wanted","color":"eb6420"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/snapshot","name":"snapshot","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-18T17:06:10Z","updated_at":"2016-05-20T18:48:49Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nI use `custom_args \"GCC_PREPROCESSOR_DEFINITIONS='SCREENSHOTS'\"` in my `Snapfile` to build a version perfectly to generate screenshots.\r\n\r\nThis does not work any more now. I tried using `custom_build_args` however it does not work too.\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n➜  xenim-ios-app git:(release/1.2) ✗ fastlane screenshots\r\n[18:56:57]: -------------------------------------------------\r\n[18:56:57]: --- Step: Verifying required fastlane version ---\r\n[18:56:57]: -------------------------------------------------\r\n[18:56:57]: fastlane version valid\r\n[18:56:57]: ------------------------------\r\n[18:56:57]: --- Step: default_platform ---\r\n[18:56:57]: ------------------------------\r\n[18:56:57]: Driving the lane 'ios screenshots' 🚀\r\n[18:56:57]: -----------------------------\r\n[18:56:57]: --- Step: update_fastlane ---\r\n[18:56:57]: -----------------------------\r\n[18:56:57]: Looking for updates for cert, credentials_manager, deliver, fastlane, fastlane_core, frameit, gym, match, pem, pilot, produce, scan, screengrab, sigh, snapshot, spaceship, supply...\r\n[18:57:03]: Nothing to update ✅\r\n[18:57:03]: ----------------------\r\n[18:57:03]: --- Step: snapshot ---\r\n[18:57:03]: ----------------------\r\n[18:57:04]: Variable Dump:\r\n[18:57:04]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios screenshots\"}\r\n[18:57:04]: Could not find option 'custom_build_args' in the list of available options: workspace, project, devices, languages, launch_arguments, output_directory, ios_version, skip_open_summary, clear_previous_screenshots, reinstall_app, erase_simulator, localize_simulator, app_identifier, add_photos, add_videos, buildlog_path, clean, configuration, xcpretty_args, sdk, scheme, number_of_retries, stop_after_first_error, derived_data_path\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    | default_platform                    | 0           |\r\n| 3    | update_fastlane                     | 6           |\r\n| 4    | snapshot                            | 0           |\r\n+------+-------------------------------------+-------------+\r\n\r\n[18:57:04]: fastlane finished with errors\r\n\r\n[!] Could not find option 'custom_build_args' in the list of available options: workspace, project, devices, languages, launch_arguments, output_directory, ios_version, skip_open_summary, clear_previous_screenshots, reinstall_app, erase_simulator, localize_simulator, app_identifier, add_photos, add_videos, buildlog_path, clean, configuration, xcpretty_args, sdk, scheme, number_of_retries, stop_after_first_error, derived_data_path\r\n```\r\n\r\n### Configuration Files\r\n\r\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\r\n\r\nFastfile:\r\n```ruby\r\n  desc \"Generate screenshots for all supported devices\"\r\n  lane :screenshots do \r\n    snapshot(configuration: \"Debug\")\r\n\r\n    # currently frameit not required\r\n    # frameit\r\n  end\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`): `fastlane 1.89.0`\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)? No.\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? rbenv\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/220688401","html_url":"https://github.com/fastlane/fastlane/issues/4717#issuecomment-220688401","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/4717","id":220688401,"user":{"login":"TKBurner","id":1987108,"avatar_url":"https://avatars.githubusercontent.com/u/1987108?v=3","gravatar_id":"","url":"https://api.github.com/users/TKBurner","html_url":"https://github.com/TKBurner","followers_url":"https://api.github.com/users/TKBurner/followers","following_url":"https://api.github.com/users/TKBurner/following{/other_user}","gists_url":"https://api.github.com/users/TKBurner/gists{/gist_id}","starred_url":"https://api.github.com/users/TKBurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TKBurner/subscriptions","organizations_url":"https://api.github.com/users/TKBurner/orgs","repos_url":"https://api.github.com/users/TKBurner/repos","events_url":"https://api.github.com/users/TKBurner/events{/privacy}","received_events_url":"https://api.github.com/users/TKBurner/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T18:48:49Z","updated_at":"2016-05-20T18:48:49Z","body":"Hi @funkenstrahlen Thanks for asking this was retired in favor of launch arguments and xcpretty arguments. I'll leave this ticket open because I'm curious to know if anyone else is trying to do this 👍 "}}
{"actor":{"display_login":"TKBurner"}}