admin管理员组文章数量:1122846
I have a closed source sdk i want to distribute via cocoapods.
Using internal libraries and private podspecs i can create a podspec that imports this framework and all its dependencies. The framework has dependencies that are added via cocoapods themselves in the framework.
The framework, cocoapods, etc all work. Im now to the step where id like to close source this.
So i followed this tutorial to first turn it into an XCFramework to provide a compiled framework to give to cocoapods instead
xcodebuild -create-xcframework \
-framework './build/my-framework-name.framework-iphonesimulator.xcarchive/Products/Library/Frameworks/My_Framework_Name.framework' \
-framework './build/my-framework-name.framework-iphoneos.xcarchive/Products/Library/Frameworks/My_Framework_Name.framework' \
-output './build/my-framework-name.xcframework'
This produces a successful xcframework folder. Now, when i add this framework to a new project to test it out before creating a podspec around it, I get errors in the .swiftinterface file such as No such module AWSCognitoIdentityProvider
AWSCognitoIdentifyProvider is one of the dependencies of my framework.
How can i create a XCFramework from a library that has cocoapods dependencies?
本文标签: iosXCFramework cant find moduleStack Overflow
版权声明:本文标题:ios - XCFramework cant find module - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736306064a1932818.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论