{"action":"created","issue":{"url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/issues/68","repository_url":"https://api.github.com/repos/multi-os-engine/multi-os-engine","labels_url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/issues/68/comments","events_url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/issues/68/events","html_url":"https://github.com/multi-os-engine/multi-os-engine/issues/68","id":193347711,"number":68,"title":"Gradle daemon stuck when started by xcodebuild archive","user":{"login":"kisg","id":406832,"avatar_url":"https://avatars.githubusercontent.com/u/406832?v=3","gravatar_id":"","url":"https://api.github.com/users/kisg","html_url":"https://github.com/kisg","followers_url":"https://api.github.com/users/kisg/followers","following_url":"https://api.github.com/users/kisg/following{/other_user}","gists_url":"https://api.github.com/users/kisg/gists{/gist_id}","starred_url":"https://api.github.com/users/kisg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kisg/subscriptions","organizations_url":"https://api.github.com/users/kisg/orgs","repos_url":"https://api.github.com/users/kisg/repos","events_url":"https://api.github.com/users/kisg/events{/privacy}","received_events_url":"https://api.github.com/users/kisg/received_events","type":"User","site_admin":false},"labels":[{"id":422629945,"url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/labels/bug","name":"bug","color":"e99695","default":true},{"id":431534781,"url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/labels/component/gradle-plugin","name":"component/gradle-plugin","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/milestones/4","html_url":"https://github.com/multi-os-engine/multi-os-engine/milestones/1.3.0","labels_url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/milestones/4/labels","id":1969377,"number":4,"title":"1.3.0","description":"","creator":{"login":"kisg","id":406832,"avatar_url":"https://avatars.githubusercontent.com/u/406832?v=3","gravatar_id":"","url":"https://api.github.com/users/kisg","html_url":"https://github.com/kisg","followers_url":"https://api.github.com/users/kisg/followers","following_url":"https://api.github.com/users/kisg/following{/other_user}","gists_url":"https://api.github.com/users/kisg/gists{/gist_id}","starred_url":"https://api.github.com/users/kisg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kisg/subscriptions","organizations_url":"https://api.github.com/users/kisg/orgs","repos_url":"https://api.github.com/users/kisg/repos","events_url":"https://api.github.com/users/kisg/events{/privacy}","received_events_url":"https://api.github.com/users/kisg/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":0,"state":"open","created_at":"2016-08-29T11:28:47Z","updated_at":"2016-12-04T12:17:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-12-04T12:16:52Z","updated_at":"2016-12-04T21:08:31Z","closed_at":null,"body":"If the xcodebuild archive task is used to build a MOE project, the Gradle daemon gets stuck. Tested with MOE 1.2.5, Gradle 2.14.1 and 3.2.1\r\n\r\nWorkaround: the --no-daemon argument needs to be specified in the MOE custom build script inside the Xcode project"},"comment":{"url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/issues/comments/264731307","html_url":"https://github.com/multi-os-engine/multi-os-engine/issues/68#issuecomment-264731307","issue_url":"https://api.github.com/repos/multi-os-engine/multi-os-engine/issues/68","id":264731307,"user":{"login":"kisg","id":406832,"avatar_url":"https://avatars.githubusercontent.com/u/406832?v=3","gravatar_id":"","url":"https://api.github.com/users/kisg","html_url":"https://github.com/kisg","followers_url":"https://api.github.com/users/kisg/followers","following_url":"https://api.github.com/users/kisg/following{/other_user}","gists_url":"https://api.github.com/users/kisg/gists{/gist_id}","starred_url":"https://api.github.com/users/kisg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kisg/subscriptions","organizations_url":"https://api.github.com/users/kisg/orgs","repos_url":"https://api.github.com/users/kisg/repos","events_url":"https://api.github.com/users/kisg/events{/privacy}","received_events_url":"https://api.github.com/users/kisg/received_events","type":"User","site_admin":false},"created_at":"2016-12-04T21:08:31Z","updated_at":"2016-12-04T21:08:31Z","body":"Forum thread: https://discuss.multi-os-engine.org/t/exporting-a-distribution-ipa-with-xcode-8/406\r\n\r\nIn some cases the --no-daemon workaround is not working.\r\n\r\nAnother workaround: \r\n```\r\ncd ios # In MOE iOS module\r\n../gradlew moeIpaBuild # do the Java build from Gradle\r\n\r\nexport MOE_GRADLE_EXTERNAL_BUILD=true # Do not call Gradle from xcodebuild\r\n\r\n# Call xcodebuild\r\nxcodebuild archive -project xcode/ios-moe.xcodeproj \\\r\n                                   -scheme ios-moe \\\r\n                                   -configuration Release \\\r\n                                   -archivePath ./build/project.xcarchive \\\r\n                                   DEVELOPMENT_TEAM=TEAMNAMEHERE\r\nxcodebuild -exportArchive \\\r\n                   -archivePath ./build/project.xcarchive \\\r\n                   -exportOptionsPlist ./exportOptions.plist \\\r\n                   -exportPath ./build\r\n```\r\n"}}
{"actor":{"display_login":"kisg"}}