lundi 5 octobre 2015

Unit tests crashing in Xcode 7

enter image description hereWhen unit tests are run in Xcode 7 (both GM and 7.0.1), the tests pass; but immediately after that, it crashes. The debug log shows the following error: libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

The logs also show a lot of these errors:


Test Suite 'MyTests' passed at 2015-10-05 09:20:54.028. Executed 1 test, with 0 failures (0 unexpected) in 0.001 (0.002) seconds

Test Suite 'Selected tests' passed at 2015-10-05 09:20:54.028. Executed 1 test, with 0 failures (0 unexpected) in 0.001 (0.003) seconds

profiling: /Users/ldupont/Library/Developer/Xcode/DerivedData/PlayerIOS-dpnbmmngypdkcsbguaesyimldsvi/Build/Intermediates/PlayerIOS.build/Debug-iphonesimulator/PlayerIOS.build/Objects-normal/x86_64/SCPlayerTabularCollectionView.gcda: cannot open: No such file or directory

profiling: /Users/ldupont/Documents/Fuego/Player_ios/PlayerIOS/ObjectiveC.gcda: cannot open: No such file or directory

profiling: /Users/testuser/Library/Developer/Xcode/DerivedData/PlayerIOS-dpnbmmngypdkcsbguaesyimldsvi/Build/Intermediates/PlayerIOS.build/Debug-iphonesimulator/PlayerIOS.build/Objects-normal/x86_64/SCPlayerTabularCollectionView.gcda: cannot open: No such file or directory

profiling: /Users/testuser/Library/Developer/Xcode/DerivedData/PlayerIOS-dpnbmmngypdkcsbguaesyimldsvi/Build/Intermediates/PlayerIOS.build/Debug-iphonesimulator/PlayerIOS.build/Objects-normal/x86_64/SCPlayerTabularCollectionView.gcda: cannot open: No such file or directory

profiling: /Users/testuser/Library/Developer/Xcode/DerivedData/PlayerIOS-dpnbmmngypdkcsbguaesyimldsvi/Build/Intermediates/PlayerIOS.build/Debug-iphonesimulator/PlayerIOS.build/Objects-normal/x86_64/SCPlayerTabularCollectionView.gcda: cannot open: No such file or directory

profiling: /Users/testuser/Library/Developer/Xcode/DerivedData/PlayerIOS-dpnbmmngypdkcsbguaesyimldsvi/Build/Intermediates/PlayerIOS.build/Debug-iphonesimulator/


My project settings are as follows: Main target and test target: Enable Code Coverage Support: YES Generate Legacy Test Coverage Files: NO Instrument Program Flow: NO

I tried setting all the above to NO as well, but that didn't help.

Aucun commentaire:

Enregistrer un commentaire