Perform the following steps and after each step check if it has solved your problem:
Restart your Xcode and try a new build.
Try a clean build in Xcode.
Try resetting your simulator(s).
If you use Cocoapods, try updating it:
[sudo] gem install cocoapods
Also make sure that your
Podfile.lockis committed into your repository. The file describes exactly what versions of Pods you use. Without this file Bitrise might download newer versions of Pods than the ones you use.
Try deleting the
Podsfolder in your project and run the
pod installcommand again.
If none of the above helped, try deleting the Xcode local cache. After that the error should be reproducible on your local machine.
You can delete the local Xcode cache using your Terminal:
rm -rf ~/Library/Developer/Xcode/DerivedData