Ilya
11/14/2023, 2:05 PMcocoapods { pod }
.
But I need to distribute my KMP library as XCFramework to other team, where devs can't use cocoapods (only SPM).
So I'm trying to deliver my KMP.xcframework with ObjLib.xcframework beside it.
To create objc xcframework I'm using cocoapods build results for each platform from build/cocoapods/synthetic/[platform]/build/Release-[sdk]/ObjLib/ObjLib.framework
The problem: in some cases (for example running gradlew from XCode Build Phases) there is no Info.plist file in ObjLib.framework, so final target application crashes with smth like "failed to load Info.plist from bundle ..."
So the question - is there any chances to force creation of this file? Now only cleaning and syncing gradle project from Android Studio is helping...
Or may be I'm doing smth extremely wrong... any advices?Timofey Solonin
11/15/2023, 8:57 AMbuild/cocoapods/synthetic
, as these are implementation intermediates of the CocoaPods integration.Ilya
11/15/2023, 12:09 PMpodPublishReleaseXCFramework
to build my KMP library xcframework, but this task doesnt help with ObjLib.xcframework. This task generates podsec file instead, so users of my lib have to use cocoapods too. But in my case users can only use SPM, so I'm trying to build all my cocoapods dependencies as xcframeworks too 🫠