diff --git a/examples/ios/Makefile b/examples/ios/Makefile index 56cb20c6a6fb2..6d13bdcccaea0 100644 --- a/examples/ios/Makefile +++ b/examples/ios/Makefile @@ -14,6 +14,12 @@ boot-sim: install: xcodebuild-simulator boot-sim xcrun simctl install $(DEVICE) build/Build/Products/Debug-iphonesimulator/bevy_ios_example.app +xcodebuild-simulator: + IOS_TARGETS=x86_64-apple-ios xcodebuild -scheme bevy_ios_example -configuration Debug -derivedDataPath build -destination "id=$(DEVICE)" + +xcodebuild-iphone: + IOS_TARGETS=aarch64-apple-ios xcodebuild -scheme bevy_ios_example -configuration Debug -derivedDataPath build -arch arm64 + clean: rm -r build cargo clean