Happy Thursday everybody!
Is anyone having issues with kotlin 2.0.20 and cocoapods? I'm running into issues with the iOS build when updating kotlin to 2.0.20, realm to 2.3.0 and adding compose-compiler plugin. Android app builds and runs just fine but iOS won't even build. I've already tried
pod deintegrate
and
pod install
but to no avail.
error: Unable to load contents of file list: '/Target Support Files/Pods-iosApp/Pods-iosApp-frameworks-DebugDev-input-files.xcfilelist' (in target 'iosApp' from project 'iosApp')
error: Unable to load contents of file list: '/Target Support Files/Pods-iosApp/Pods-iosApp-frameworks-DebugDev-output-files.xcfilelist' (in target 'iosApp' from project 'iosApp')
The only libraries I'm using are firebase analytics and firebase crashlytics. Any help is appreciated. Thanks!
f
François
09/26/2024, 4:55 PM
Difficult to respond at your issues, it can be an issue of you Xcode project config. Did Your build fail since the version 2.0.20?
g
glauber
09/26/2024, 5:13 PM
yup. I haven't changed anything but upgraded kotlin, realm and compose-compiler
f
François
09/26/2024, 6:18 PM
which version of CocoaPods are you using?
Your issue come from Xcode. Look inside the build settings of your project the missing files (in the search bar) and remove them
g
glauber
09/26/2024, 7:19 PM
Cocoapods
1.15.2
accoding to
pod --version
.
Yeah I'm suspecting it's some compatibility issue around cocoapods and kotlin 2.0.20. I'm not too familiar with Xcode but I'll keep investigating.
Thanks for engaging btw!