react-native-builder-bob icon indicating copy to clipboard operation
react-native-builder-bob copied to clipboard

How Add .xcframework with file .swifmodule and file .a in iOS

Open pulnec opened this issue 3 years ago • 0 comments

How about friends, I have a query regarding adding a framework in iOS, I have 3 .xcframework to add which I add from the podspec file with the flag:

s.vendored_frameworks = 'ios/f1.xcframework', 'ios/f2.xcframework', 'ios/f3.xcframework'

2 of these frameworks are added correctly and I can import their methods from xcode.

but one of them is not added, reviewing I see that the framework that is not added has a different structure, it has a ".swiftmodule" file and a ".a" file inside, while the other 2 do have "headers", "modules ", etc...

the question would be, in such a way that an xcframework should be imported from the podspec with the characteristics that it only has a ".swiftmodule" file and a ".a" file

pulnec avatar Aug 16 '22 11:08 pulnec