I'm using C without Xcode to develop on iOS, right now my workflow is:
as you see directly running does not work.
I see the iOS app downloaded from the macOS app store have the following structure that seem to make them directly runnable:
but i failed to find any docs on these
build with xcrun -sdk iphonesimulator clang
pack into an iOS .app bundle
use xcrun simctl commands to copy & run on a simulator
Code Block % 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
as you see directly running does not work.
I see the iOS app downloaded from the macOS app store have the following structure that seem to make them directly runnable:
Code Block iOSapp.app ├── WrappedBundle -> Wrapper/iOSapp.app └── Wrapper ├── BundleMetadata.plist ├── iTunesMetadata.plist └── iOSapp.app
but i failed to find any docs on these