Hello,
I upgraded Xcode to 15.3 version , my physical IPhone 12 to 17.4.1 and I can’t debug … I have last version of Fire from stable channel.
I can compile, run but running is finishing on :
[100%] InstallComplete
[100%] Installed package /Users/mateusz/inprax/IOS/Testowe/App1/Bin/Debug/iOS/App1.app
Running “/Applications/Fire 3.app/Contents/Resources/ios-deploy” --id 00008101-001939223A80001E --debug --nolldb --noinstall --bundle /Users/mateusz/inprax/IOS/Testowe/App1/Bin/Debug/iOS/App1.app
[…] Waiting for iOS device to be connected
[…] Using 00008101-001939223A80001E (D53gAP, iPhone 12, iphoneos, arm64e, 17.4.1, 21E237) a.k.a. ‘iPhone (Mateusz)’.
------ Debug phase ------
Starting debug of 00008101-001939223A80001E (D53gAP, iPhone 12, iphoneos, arm64e, 17.4.1, 21E237) a.k.a. ‘iPhone (Mateusz)’ connected through USB…
That is all, when I run apk from iphone it is working ok but I need debugger.
Should I do something or here is a problem with XCode 15 or maybe something wrong is on my machine ? Any help appreciated…
After 20 sec I got in log info:
2024-05-06 17:03:04.397 ios-deploy[4443:70664] [ !! ] 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!
Why I updated to latest version because I got info from Transporter :
SDK version issue. This app was built with the iOS 16.4 SDK. Starting April 29, 2024, all iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution. (90725)
P.S. Simple app in XCode 15.3 is working normally as expected.
With iOS 17+, we are using a new device stack (CoreDevice) to communicate with devices. With this new device stack, there is one DDI per platform (as opposed to per OS release). This same device stack will be shared across all versions of Xcode on your system, and installing a newer version of Xcode will update CoreDevice and its DDIs (just like how CoreSimulator is updated, if you are familiar with that).
Hmm. looks like apple broke how this works :(. I’ll need to log an issue and investigate.
On then plus side, it looks like Apple has an official command line tool we can use to work with excess now, devicectl. This will be some work to switch over to, but in the long run should work more reliably than the third-party iOS-deploy tool that essentially relied on documented APIs.
How long ? I need to make some changes in my app but without debugging it is…hard → and i have to write another one - should i migrate to XCode ?
I had such a problem with google as you remember or not with AppCompat library and I have to rewrite apk in AS