Have just setup a dummy CMP project for mobile, bu...
# compose-ios
s
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
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
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
It looks line incomplete log - could you please share the full one from XCode
s
@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
🔥 1