Having migrated from cocoapods to regular framewor...
# compose-ios
f
Having migrated from cocoapods to regular framework successfully, is it save to delete the Pods folder and the PodFile?
Also is this action recommended?
j
You can use
pod deintegrate
to remove CocoaPods from your iOS project. Once it's removed, you can delete the Podfile as well as the .xcworkspace file and just open the .xcodeproj file instead.
f
Don’t know if you can delete .xcworkspace
j
It says it still remains so you're aware. If the Pods project is the only other project you had on the workspace besides the iOS app project, then it's no longer necessary.
👍 2
f
Sorry just to be sure can you point out which files/folders I can safely delete
j
You can delete the entire iosApp.xcworkspace folder. Then just open iosApp.xcodeproj to open the project in Xcode.
🙌 1
f
It doesn't work unfortunately. If I rollback it works again. Strange thing is also I can run the iOS app from android studio. But when I open xcode and run the app it crashes because its not able to find an xml file with jetbrains painterResource. This setup is becoming kind of nightmare 😅 . Well thats enough for today. It's 1:27 AM. A new day tomorrow.
j
Seems like something's not working with the integration of the Kotlin shared framework.
d
We will update our templates to newer project type.
Update: we already updated our template projects
p
why regular framework is better then cocoapods
j
I wouldn't say it's necessarily better, it's just less requirements. You don't need CocoaPods or Ruby installed. You don't need a Pod project and an .xcworkspace. If your iOS project does need CocoaPods for something else, then go ahead and use it. You might need an Objective-C dependency with or without generated Kotlin interop, for example.
🙌 1
👍 2
d
@Jeff Lockhart Thanks for good answer!
❤️ 2