Posts

Post not yet marked as solved
0 Replies
366 Views
Our unit tests worked fine with Xcode 11.2. But after updating to Xcode 11.4, we were unable to run unit tests.The errors are like the following:Undefined symbols for architecture arm64: "_OBJC_METACLASS_$_UserData", referenced from: _OBJC_METACLASS_$__TtC14Tests19MockUserData in MockUserData.o "type metadata for PlacemarkModel", referenced from: implicit closure #1 () throws -> Any? in Tests.TestsLocationKit.testUateLocationSuccess() -> () in TestsLocationKit.o "nominal type descriptor for LocationKit", referenced from: _symbolic _____ 911LocationKitC in TestsQueryMaker.o _symbolic _____Sg 911LocationKitC in TestsLocationKit.oSame errors occur with Xcode 11.5.However the problem disappeared when we changed Deployment Postprocessing from YES to NO (although we were unable to generate dSYM file when the setting is off).We would like to know if it's Xcode's bug, or if we need to turn off the Deployment Postprocessing settings from now on.Thanks in advance.
Posted Last updated
.