Skip to content

About

Enough MetricKit to open apps compiled for real devices on the sim

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

MetricKitStub

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]

About

Enough MetricKit to open apps compiled for real devices on the sim

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages