I have a problem with the "Run IOS on local device" functionality from IDEA, it builds my KMP&CMP pr...
d
I have a problem with the "Run IOS on local device" functionality from IDEA, it builds my KMP&CMP project (ios target) fine, but after - the app updates/refreshes but does not run on my physical iPhone, from XCode it runs fine though When I run my app on an emulator from IDEA it works fine again, just the 'physical device run' does not work, no error message is shown, just silence
t
possibly <!subteam^S093FP0H16X>
👍🏻 1
g
Hello @Dumitru Preguza, I'm Gabriele from the KMT team. Thank you for reaching out. Could you please share what version of the KMP plugin, IDEA and macOS you are using? Also, can you also provide the project (or a sample in case you can't) you're working on? Thank you for your understanding and sorry for the long waiting!
d
Hello @Gabriele Pappalardo, thanks for reply, here are the versions: Kotlin Multiplatform plugin: 0.9-252.27397-IJ-103 Compose Multiplatform plugin: bundled 252.27397.103 IDEA: IntelliJ IDEA 2025.2.4 (Ultimate Edition) Build #IU-252.27397.103, built on October 23, 2025 Kotlin: 252.27397.103-IJ MacOS: 26.0.1 (25A362) I bet there is something with my project setup, rather than plugins/ide bug, I attached the build logs as well, I can share the project repo with an email invite on request as well if needed. There is no rush! I was focused on something else meanwhile.
It's a CMP project with these targets: android, IOS, desktop
@Gabriele Pappalardo any progress/suggestion on it ? I would like to add that I use XCode 26 (Version 26.0.1 (17A400))
g
Hi @Dumitru Preguza! Sorry for the oversight, and thank you for the input. So, the log files you attached seems to be fine.
I can share the project repo with an email invite on request as well if needed.
I think that would be nice to reproduce the problem locally so I can debug it. My email is gabriele.pappalardo@jetbrains.com but my GitHub handle is
gabryon99
. Again, thank you for your patience
d
Hi @Gabriele Pappalardo, sorry I forgot to mention that I fixed it, I opened another thread, there were two different problems one of them was that the TEAM_ID changed, and another one I don't remember
The TEAM_ID was hardcoded in IDEA project, but XCode somehow managed to have access to my account directly, that's why from XCode I could run the project, but from IDEA not
g
Ah, that's interesting. So, you didn't get any warning about the missing(?)/different TEAM_ID? If you could remember the problem we can address it in the future.
The TEAM_ID was hardcoded in IDEA project
Uhm, with hardcoded you mean in a file?
d
No, I did not get the warning about different TEAM_ID , the warning was about encryption I think, the warning itself is not in the logs, it appeared in another IDEA window (the notifications window) after gradle finished its tasks
Maybe warnings/logs from XCode/IPhone/Swift/ios should not appear in IDEA notifications window, but rather somewhere else