Hi everyone, Since updating to Xcode 16.x a few we...
# multiplatform
q
Hi everyone, Since updating to Xcode 16.x a few weeks ago, my Android Studio can no longer detect real iOS devices. Devices connected via cable or WiFi aren't found, yet the connection works fine in Xcode itself. Google searches mostly turn up issues from years ago. I've followed the guides from those older issues and confirmed that I do not have a visionOS simulator installed. Additionally, the IDE's project environment preflight checks all pass successfully. What could possibly be causing this issue? Running: • Android Studio Version: Narwhal 2025.1.1 (251.25410.109.2511.13665796) • Kotlin Multiplatform Plugin Version: 0.9-251.25410-AS-69 • Xcode Version: 16.4 (16F6)
g
Hello! Could you please share with us your Android Studio logs? To do so, follow these steps: 1. Open Android Studio and your KMP project. 2. On the Help Menu, click
Diagnostic Tools > Debug Log Settings
3. Inside the dialog's textbox, please insert the following string:
com.jetbrains.cidr.execution.deviceSupport:all
4. Now, please restart Android Studio, and re-open your project. Be sure your physical iOS device is plugged. 5. Once done so, collect the logs by clicking on the Help Menu
Show Log Finder
. This will produce an
idea.log
file. 6. Attach the log file to this ticket: https://youtrack.jetbrains.com/issue/KMT-1314/Android-Studio-can-no-longer-detect-real-iOS-devices Thank you for your help!
q
ok
After reviewing the logs, I resolved the issue by running these commands and then restarting Android Studio:
Copy code
chmod 777 "/Users/[userName]/Library/Application Support/Google/[Android Studio version]/plugins/kmm-plugin/bin/prebuild"
Copy code
chmod 777 "/Users/[userName]/Library/Application Support/Google/[Android Studio version]/plugins/kmm-plugin/bin/JBDevice.framework/Versions/A/Resources/JBDeviceService"