Having trouble building my iOS project after the u...
# compose-ios
b
Having trouble building my iOS project after the upgrade to Compose 1.6.10 and Kotlin 2.0.0. The docs say there may be an issue with Missing resource with path and to clear the build folders. It runs fine on Desktop/Android. I’ve done a clean build in Android Studio, gone into my project folder to double checked all the build folders are gone. In Xcode I’ve done cmd-shift-k and cmd-shift-opt-k to clean the iOS project. I’ve deleted the /Users/<user>/Library/Developer folder including all the simulators, and I’ve uninstalled and reinstalled Xcode and I’m still getting the same error? Uncaught Kotlin exception: org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: /Users/<user>/Library/Developer/CoreSimulator/Devices/AF2905B7-D0D7-4757-9CFA-CB4A029D36E8/data/Containers/Bundle/Application/3DC4046A-D4BB-411B-8DE9-E7DAE2A7C6FD/<app>/compose-resources/composeResources/<app>.shared.generated.resources/values/strings.commonMain.cvr What am I missing that I need to clear?
👍 1
Okay, so building it from xcode after you do this is not sufficient to fix the problem. I had to build it from Android Studio for iOS once. That failed saying it needed a pod install. After doing that, it built from AS for iOS, and then it also built from Xcode for iOS. Not really sure what the difference is there, or how it ever built on iOS in the first place after all my clean attempts if it needed a pod install, but that seems like some sort of problem?
g
I have same issue. but Im not using pod. Usually it worked even from xcode cloud. now out of nowhere the app crashes at startaup 😨
104 Views