[Help needed] Cocoa pod library with XCFramework

78 views
Skip to first unread message

marekzd

unread,
Nov 27, 2020, 6:04:33 AM11/27/20
to CocoaPods
Hi,

I'm trying to make a closed source cocoa pod, which is providing xcframework and a resource bundle.

I need some help, as I am not able to grasp it myself.

Let's assume the framework is named FireSDK.

I believe that the lib podspec should contain only reference to the xcframework:
spec.vendored_frameworks = "FireSDK.xcframework"

Then, where should resources go?

Should they be included inside the framework inside the xcframework ?
FireSDK.xcframework/
|- ios_.../
    |- FireSDK.framework/
        |- FireSDKResources.bundle/
|- ios_...-simulator/
    |- FireSDK.framework/
        |- FireSDKResources.bundle/


or sit side by side the framework?
FireSDK.xcframework/
|- ios_.../
    |- FireSDK.framework/
    |- FireSDKResources.bundle/
|- ios_...-simulator/
    |- FireSDK.framework/
    |- FireSDKResources.bundle/

or perhaps it should be done is some other way ?

Cheers :)
Reply all
Reply to author
Forward
0 new messages