I have set up Travis CI on GitHub. I use it to check my commits for an iOS app. The problem is that I very often and accidentally receive error message 65. I still have to find a solution.
When I restart the task 2-3 times after its failure, it passes in 90% of cases.
I also had a problem with magazines that are too verbose for Travis (> 4MB), but I added xcpretty to fix this.
Errors I took from the log:
... Generating 'XYZ.app.dSYM' ❌ 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 ...
And then at the end of Travis magazine:
Testing failed: The file "056-Jj-FAu-view-XmS-Ro-0cO.nib" couldn't be opened because there is no such file. 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 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) 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 ** TEST FAILED ** The following build commands failed: LinkStoryboards LinkStoryboards (2 failures) The command "./scripts/build.sh" exited with 65.
I use Xcode 8 both Xcode and Travis settings.
source share