Post

Replies

Boosts

Views

Activity

App not running in Android Suduio but working in Xcode 15.0 and iOS 17+
Initially I've been using Xcode 4.3.1 and 15 Beta with my iOS 16.5 and 16.6.1 and no issues occurred. I upgraded to Xcode 15 and now 15.0.1 and iOS to 17+, 1st Xcode was not detecting iOS that got fixed in https://developer.apple.com/forums/thread/737907?page=2 post. Now Android studio is not ready to run/debug app. ERROR: Could not run build/ios/iphoneos/Runner.app on xxxxxxx-xxxxxxxxxxxxx Try launching Xcode and selecting Product < Run to fix the problem. To my surprize, app works fine in Xcode but can't launch it in Android Studio, i have tried almost everything. Invalidated cache Complete Android Studio cache clear Delete build Clean flutter Upgrade pub/tools/etc All plugins are up to date becaause same app runs in XCODE (My phone is directly connected to USB, its iPhone XR running on iOS 17.0.3, developer mode is fine and i can run app on Xcode)
3
1
1.6k
Oct ’23
Xcode 15.0 Release doesn't connect at all iOS 17
Hello, I've been using Xcode 4.3.1 and 15 Beta with my iOS 16.5 and 16.6.1 and no issues occurred. Yesterday, I got a prompt of Xcode 15.0 Release and I put my Xcode on upgrade, at the same time I noticed that iOS also says that 17.0 is available. I upgraded both. Now my device is not detected on Xcode, it keeps saying Waiting to connect to XXXX iPhone. Also says, Previous preparation error: The tunnel connection failed while the system tried to connect to the device. I am using the same WIFI on MAC that i am using on Iphone. A temporary not so much feasible workaround that i found is: Unpair phone Disable WIFI put phone on LTE/Mobile Data Connect via usb cable and MAC detects it and connects to it But now it only works in Xcode and Android studio installs app but can't run/debug it giving error that run it in Xcode. As soon as wifi is on, phone gets dc from Xcode as well, (even if USB is connected) Important*: Connect via network checkbox is gryed out and is checked forever. What i tried till now: Install all types of Xcode, 14.3.1 (says missing string install an updated version of xcode, but it detects device in all modes just gives this error and doesn't let build anything) Reset Xcode to default/ Delete dereived data/Delete all folders that are crucial in that ~/Library/.../xcode folder i.e. Archieves/products/device suport Netstat/kill usb/kill usbmuxd and what not Put phone on hotspot, connect mac on hotspot try debug (fails) So, tried everything available on internet and yet still my real device on iOS 17 is not ready so that i can debug in Android studio, while in Xcode on same wifi even with USB cable it doesn't work. Any suggestions??
35
16
20k
Sep ’23