Have just setup a dummy CMP project for mobile, but not able to build iOS app
Documents/work/testapp/build/ios/iosApp.build/Debug-iphonesimulator/iosApp.build/Script-7555FFB5242A651A00829871.sh - this script keeps on running in the logs, and studio is just showing Preparing build for hours, tried multiple times
Using JDK 21, iOS 18.2
✅ 1
p
Pablichjenkov
01/04/2025, 9:51 PM
Can you show the logs?
What happens if you build from Xcode?
Did you run kdoctor?
What happens if you try a project from https://kmp.jetbrains.com/
s
Shubham Pathak2000
01/05/2025, 12:48 PM
xcode isn't able to get the compose related components, kdoctor is showing everything is installed properly, tried with clone a template via kmp site as well, same issue
here's the log
https://gist.github.com/tronku/3699ca54111c1f953a16520ab350e8d9@Pablichjenkov
a
Andrei Salavei
01/07/2025, 9:48 AM
It looks line incomplete log - could you please share the full one from XCode
s
Shubham Pathak2000
01/07/2025, 10:41 AM
@Andrei Salavei noticed that multiple resource lock and release were happening in the logs, on running ./gradlew --stop to kill all the daemons, i was able to properly build the app. Before that it kept on showing "Preparing build" for hours