До сих пор я попытался построить свой .xcodeproj Как:
xcodebuild -configuration Debug build
Однако, когда я устанавливаю и запускаю его на симуляторе, я получаю приложение с черным экраном:
Код: Выделить всё
// Boot device
xcrun simctl boot "iPhone 7"
// Install app
xcrun simctl install "iPhone 7" "/Users/.../MyApp/build/Debug-iphoneos/MyApp.app"
// Open simulator
open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app
// Launch app using its bundle id
xcrun simctl launch booted "com.example.apps.MyApp"
Код: Выделить всё
.xcodeprojПодробнее здесь: https://stackoverflow.com/questions/456 ... mmand-line
Мобильная версия