Reputation: 11
When i run my test project with slather i got this log anyone has ideas to fix it?
2015-12-14 14:39:29.483 xctest[7880:987585] The bundle “Famima_StampTests.xctest” couldn’t be loaded. Try reinstalling the bundle. 2015-12-14 14:39:29.484 xctest[7880:987585] (dlopen(/Users/wx/Library/Developer/Xcode/DerivedData/Famima_Stamp-akiykixzlljhyegfebcgflamfzgb/Build/Intermediates/CodeCoverage/Famima_Stamp/Products/Debug-iphonesimulator/Famima_StampTests.xctest/Famima_StampTests, 265): Symbol not found: _OBJC_CLASS_$_AgreementViewController
Referenced from: /Users/wx/Library/Developer/Xcode/DerivedData/Famima_Stamp-akiykixzlljhyegfebcgflamfzgb/Build/Intermediates/CodeCoverage/Famima_Stamp/Products/Debug-iphonesimulator/Famima_StampTests.xctest/Famima_StampTests Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/xctest in /Users/wx/Library/Developer/Xcode/DerivedData/Famima_Stamp-akiykixzlljhyegfebcgflamfzgb/Build/Intermediates/CodeCoverage/Famima_Stamp/Products/Debug-iphonesimulator/Famima_StampTests.xctest/Famima_StampTests) Program ended with exit code: 83
Upvotes: 1
Views: 1923
Reputation: 5776
I solved this problem, just like I solve most of those XCode Problems:
DerivedData
(Xcode>Preferences>Locations>DerivedData→
to jump there in finder)Product>Clean
Product>Clean Build Folder
Try again. In case it still doesn't work, use another simulator / device for a few runs. Sooner or later it will work again on the original one again.
Upvotes: -2