This is a stub framework that works well enough to make apps for real iOS devices run in the simulator.
Compile with
clang -dynamiclib -target arm64-apple-ios13.0-simulator -isysroot $(xcrun --sdk iphonesimulator --show-sdk-path) -o MetricKit.framework/MetricKit -framework Foundation -install_name @rpath/MetricKit.framework/MetricKit MetricKitStub.m
Drop MetricKit.framework in the app's Frameworks folder
Replace load command for MetricKit with
install_name_tool -change /System/Library/Frameworks/MetricKit.framework/MetricKit @rpath/MetricKit.framework/MetricKit [insert binary here]