I just upgraded to Xcode 15.0 and iOS 17, and then I encountered this problem. How to solve it?
Unable to locate DeviceSupport directory with suffix 'DeveloperDiskImage.dmg'. This probably means you don't have Xcode installed, you will need to launch the app manually and logging output will not be shown!
Could not run build/ios/iphoneos/Runner.app on 00008110-0018494802D0401E.
Try launching Xcode and selecting "Product > Run" to fix the problem:
open ios/Runner.xcworkspace
2
Answers
temporary workaround for IOS.17 , please note the following steps will make the app building and running on IOS.17, XCode.15.
post_install do |installer|
installer.pods_project.targets.each do |target|
end
end
add the following to pubspec.yaml:
dependency_overrides:
flutter_inappwebview:
update the following in Xcode
Open IOS folder in XCODE
select Runnner
go to Build Settings
search for "User Script Sandboxing"
change its value from "yes" to "NO"
a. Open IOS folder in XCODE
I had this issue and fixed it by upgrading iOS version on my iPhone.