Since M1 MacBooks can run iOS apps directly, I wonder if there's a way to run iOS binaries directly, instead of only being able to run those from App Store?
I'm developing iOS apps with C without Xcode, my current workflow is:
- build with
xcrun -sdk iphonesimulator clang - pack into an iOS
.appbundle - use
xcrun simctlcommands to copy & run on a simulator
it works good but it'll be real nice if I can directly run the built binary somehow, if i just run it directly it just says
% file app
app: Mach-O universal binary with 2 architectures: [arm_v7:Mach-O executable arm_v7] [arm64:Mach-O 64-bit executable arm64]
app (for architecture armv7): Mach-O executable arm_v7
app (for architecture arm64): Mach-O 64-bit executable arm64
% ./app
zsh: killed ./app
which i honestly don't know what's up with it
the runnable iOS .app from App Store seem to have this structure:
iOSapp.app
├── WrappedBundle -> Wrapper/iOSapp.app
└── Wrapper
├── BundleMetadata.plist
├── iTunesMetadata.plist
└── iOSapp.app
but I have no idea if any of these contribute to it being runnable, and couldn't find docs on these