{"action":"opened","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/8081","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/8081/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/8081/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/8081/events","html_url":"https://github.com/fastlane/fastlane/issues/8081","id":204801570,"number":8081,"title":"How to build app file for simulator?","user":{"login":"Redysz","id":25427869,"avatar_url":"https://avatars.githubusercontent.com/u/25427869?v=3","gravatar_id":"","url":"https://api.github.com/users/Redysz","html_url":"https://github.com/Redysz","followers_url":"https://api.github.com/users/Redysz/followers","following_url":"https://api.github.com/users/Redysz/following{/other_user}","gists_url":"https://api.github.com/users/Redysz/gists{/gist_id}","starred_url":"https://api.github.com/users/Redysz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redysz/subscriptions","organizations_url":"https://api.github.com/users/Redysz/orgs","repos_url":"https://api.github.com/users/Redysz/repos","events_url":"https://api.github.com/users/Redysz/events{/privacy}","received_events_url":"https://api.github.com/users/Redysz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-02T07:30:50Z","updated_at":"2017-02-02T07:30:50Z","closed_at":null,"body":"I need to create with fastlane .app file which I could next drag and drop to simulator on another computer. I tried do it with gym or with xcodebuild parameters but I don't know how to do it.\r\n\r\nFor now I do it in this way:\r\n*In XCode I build application for simulator\r\n*Next I am searching app file in DerivedData (~/Library/Developer/XCode/DerivedData/Build/Products/Debug-iphonesimulator/)\r\n*I copy this file somewhere else\r\n\r\nBut I need do it with fastlane.\r\n\r\nWhat I tried:\r\n```\r\nlane :myJob do\r\n    xcodebuild(\r\n        archive: true,\r\n        archive_path: \\\"./build-dir/project.xcarchive\\\",\r\n        scheme: \\\"project_test\\\",\r\n        destination: \\\"platform=iOS Simulator,name=iPhone 7\\\",\r\n        workspace: \\\"project.xcworkspace\\\"\r\n    )\r\nend\r\n```\r\n\r\nbut this version is not working (archive does \"Generic iOS Device\" version)\r\n\r\nI tried also this:\r\n```\r\nlane :myJob do\r\n    gym(\r\n        scheme: \\\"project\\\",\r\n        output_name: \\\"$TARGET_FILE_NAME\\\",\r\n        configuration: \\\"Release\\\",\r\n        export_method: \\\"development\\\",\r\n        export_options: {\r\n            manifest: {\r\n                    ...\r\n            }\r\n        },\r\n        destination: \\\"platform=iOS Simulator,name=iPhone 7\\\",\r\n    )\r\nend\r\n\r\n```"}}
{"actor":{"display_login":"Redysz"}}