A very strange error occurs when a certain team member tries to compile our codebase on his mac book:
Even a clean checkout with force-removed DerivedData ends up with this. Strangely enough, at the same time all others and CI are able to build just fine.
We are using Xcode 12.3 Build 12C33.
I've tried to find anything about this on the internet but it seems to be a very exotic case. Any suggestions are highly appreciated.
Code Block MappingModelCompile /Users/user/Library/Developer/Xcode/DerivedData/App-azadclhkqltedgctpzfegyczvdip/Build/Products/Debug-iphonesimulator/AppCore.framework/CustomMigration.cdm /Users/user/Documents/Projects/company/ios/AppCore/Model/Mappings/CustomMigration.xcmappingmodel (in target 'AppCore' from project 'App') cd /Users/user/Documents/Projects/company/ios /Applications/Xcode.app/Contents/Developer/usr/bin/mapc --sdkroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk --iphonesimulator-deployment-target 12.2 --module AppCore /Users/user/Documents/Projects/company/ios/AppCore/Model/Mappings/CustomMigration.xcmappingmodel /Users/user/Library/Developer/Xcode/DerivedData/App-azadclhkqltedgctpzfegyczvdip/Build/Products/Debug-iphonesimulator/AppCore.framework/CustomMigration.cdm 2021-01-12 10:04:18.640 mapc[23525:139372] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -predicateFormat only defined for abstract class. Define -[NSFetchRequestExpression predicateFormat]!' *** First throw call stack: ( 0 CoreFoundation 0x00007fff204b76af exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007fff201ef3c9 objc_exception_throw + 48 2 Foundation 0x00007fff2143a610 _NSRequestConcreteObject + 0 3 Foundation 0x00007fff212d9520 -[NSExpression predicateFormat] + 39 4 IDEModelFoundation 0x000000010b03f34f -[XDDevEntityMapping sourceExpressionAsString] + 48 5 IDEModelFoundation 0x000000010b0080c3 -[XDMappingCompilerSupport generateCompileResultForMappingModel:sourceModelHashes:destinationModelHashes:] + 1942 6 IDEModelFoundation 0x000000010b008d24 -[XDMappingCompilerSupport compileSourcePath:options:] + 1211 7 mapc 0x000000010a68d553 main + 2074 8 libdyld.dylib 0x00007fff20360621 start + 1 ) libcabi.dylib: terminating with uncaught exception of type NSException Command MappingModelCompile failed with a nonzero exit code
Even a clean checkout with force-removed DerivedData ends up with this. Strangely enough, at the same time all others and CI are able to build just fine.
We are using Xcode 12.3 Build 12C33.
I've tried to find anything about this on the internet but it seems to be a very exotic case. Any suggestions are highly appreciated.