我们可以使用 xcode.application 规则来构建 iOS 应用程序。
add_rules("mode.debug", "mode.release")
target("ios_app")
add_rules("xcode.application")
add_files("src/*.m")
add_files("src/Info.plist")
add_frameworks("UIKit", "Foundation")
$ xmake
$ xmake run