Launching lib/main.dart on iPhone 11 in debug mode... Running Xcode build... Xcode build done. 5.3s Failed to build iOS app Error output from Xcode build: ↳ 2021-11-30 13:36:29.661 xcodebuild[18218:140745] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 Details: (null) deviceType from f0b445a0e3de8ce4c70a2c7329f517e7748d694a was NULL when -platform called. Object: <DTDKMobileDeviceToken: 0x7fedc7ad7c70> Method: -platform Thread: <NSThread: 0x7fedc7a4fb20>{number = 6, name = (null)} Please file a bug at feedbackassistant.apple.com with this warning message and any useful information you can provide. 2021-11-30 13:36:29.846 xcodebuild[18218:140737] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 Details: (null) deviceType from f0b445a0e3de8ce4c70a2c7329f517e7748d694a was NULL when -platform called. Object: <DTDKMobileDeviceToken: 0x7fedc7ad7c70> Method: -platform Thread: <NSThread: 0x7fedc4e26bf0>{number = 2, name = (null)} Please file a bug at feedbackassistant.apple.com with this warning message and any useful information you can provide. 2021-11-30 13:36:29.907 xcodebuild[18218:140737] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 Details: (null) deviceType from f0b445a0e3de8ce4c70a2c7329f517e7748d694a was NULL when -platform called. Object: <DTDKMobileDeviceToken: 0x7fedc7ad7c70> Method: -platform Thread: <NSThread: 0x7fedc4e26bf0>{number = 2, name = (null)} Please file a bug at feedbackassistant.apple.com with this warning message and any useful information you can provide. ** BUILD FAILED **
Xcode's output: ↳ /bin/sh: /Users/jarvis/Library/Developer/Xcode/DerivedData/Runner-fuawchpmgesvesbzonwwmqpfhheh/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-C8D0767DA85AD94AC4895B8C.sh: /bin/sh: bad interpreter: Bad address Command PhaseScriptExecution failed with a nonzero exit code note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description
Could not build the application for the simulator. Error launching application on iPhone 11.