{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6758","repository_url":"https://api.github.com/repos/travis-ci/travis-ci","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6758/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6758/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6758/events","html_url":"https://github.com/travis-ci/travis-ci/issues/6758","id":184209927,"number":6758,"title":"Getting Error 65 without any reason (Xcode 8).","user":{"login":"Fengson","id":5645565,"avatar_url":"https://avatars.githubusercontent.com/u/5645565?v=3","gravatar_id":"","url":"https://api.github.com/users/Fengson","html_url":"https://github.com/Fengson","followers_url":"https://api.github.com/users/Fengson/followers","following_url":"https://api.github.com/users/Fengson/following{/other_user}","gists_url":"https://api.github.com/users/Fengson/gists{/gist_id}","starred_url":"https://api.github.com/users/Fengson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fengson/subscriptions","organizations_url":"https://api.github.com/users/Fengson/orgs","repos_url":"https://api.github.com/users/Fengson/repos","events_url":"https://api.github.com/users/Fengson/events{/privacy}","received_events_url":"https://api.github.com/users/Fengson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-20T11:59:39Z","updated_at":"2016-10-21T23:46:49Z","closed_at":"2016-10-21T23:46:49Z","body":"After updating to Xcode 8, Travis often fails my builds with an error 65. After I restart the job (sometimes as much as 5 times) the same build passes without any issues.\r\n\r\nI either only get:\r\n`The command \"./scripts/build.sh\" exited with 65.` (where build.sh is a script that runs `xcodebuild test` and `xcodebuild` to build the app after testing finishes.)\r\n\r\nor more verbose errors like:\r\n\r\n```\r\nGenerating 'XYZ.app.dSYM'\r\n❌  error: couldn't remove '/Users/travis/Library/Developer/Xcode/DerivedData/XYZ-aaltcjvmshpmlufpmzdsgbernspl/Build/Products/Debug-iphonesimulator/XYZ.app/SomeName.storyboardc' after command failed: Directory not empty\r\n```\r\nand at the end of log:\r\n```\r\nTesting failed:\r\n    The file “056-Jj-FAu-view-XmS-Ro-0cO.nib” couldn’t be opened because there is no such file.\r\n    error: couldn't remove '/Users/travis/Library/Developer/Xcode/DerivedData/XYZ-aaltcjvmshpmlufpmzdsgbernspl/Build/Products/Debug-iphonesimulator/XYZ.app/SomeName.storyboardc' after command failed: Directory not empty\r\n    error: lipo: can't move temporary file: /Users/travis/Library/Developer/Xcode/DerivedData/XYZ-aaltcjvmshpmlufpmzdsgbernspl/Build/Products/Debug-iphonesimulator/XYZ.app.dSYM/Contents/Resources/DWARF/XYZ to file: /Users/travis/Library/Developer/Xcode/DerivedData/XYZ-aaltcjvmshpmlufpmzdsgbernspl/Build/Products/Debug-iphonesimulator/XYZ.app.dSYM/Contents/Resources/DWARF/XYZ.lipo (No such file or directory)\r\n    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil emitted errors but did not return a nonzero exit code to indicate failure\r\n** TEST FAILED **\r\nThe following build commands failed:\r\n    LinkStoryboards\r\n    LinkStoryboards\r\n(2 failures)\r\nThe command \"./scripts/build.sh\" exited with 65.\r\n```\r\n\r\nMy main problem is that after restarting the job (sometimes couple of times) everything works as expected. I am using xcpretty. Never had this issues prior to Xcode 8."},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/255490736","html_url":"https://github.com/travis-ci/travis-ci/issues/6758#issuecomment-255490736","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/6758","id":255490736,"user":{"login":"BanzaiMan","id":25666,"avatar_url":"https://avatars.githubusercontent.com/u/25666?v=3","gravatar_id":"","url":"https://api.github.com/users/BanzaiMan","html_url":"https://github.com/BanzaiMan","followers_url":"https://api.github.com/users/BanzaiMan/followers","following_url":"https://api.github.com/users/BanzaiMan/following{/other_user}","gists_url":"https://api.github.com/users/BanzaiMan/gists{/gist_id}","starred_url":"https://api.github.com/users/BanzaiMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BanzaiMan/subscriptions","organizations_url":"https://api.github.com/users/BanzaiMan/orgs","repos_url":"https://api.github.com/users/BanzaiMan/repos","events_url":"https://api.github.com/users/BanzaiMan/events{/privacy}","received_events_url":"https://api.github.com/users/BanzaiMan/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T23:46:49Z","updated_at":"2016-10-21T23:46:49Z","body":"Closing as a duplicate of #6675."}}
{"actor":{"display_login":"BanzaiMan"}}