-
Notifications
You must be signed in to change notification settings - Fork 554
SDK couldn't be found in cocoapods when using use_frameworks! #115
Comments
At the moment, card.io-iOS-SDK is still distributed as a static library rather than a framework, to provide continued compatibility for users running iOS 6 or 7. Therefore the If you really do need Please let us know if you feel there is a better solution we could offer, while continuing to provide backward compatibility for users who are not yet running iOS 8. |
You could build framework, even using static library and then make subspec and specify deployment target, examples: |
With iOS 9 approaching quickly, and Swift pods becoming more prevalent. It would be really useful for CardIO to support frameworks usage, even if it's directly from the source. We are using |
Such a pity that this issue is closed, the headache involved in using a spec that has CardIO as a dependency means that I can't use frameworks at all:( alternative is to use #126 and have a fork of CardIO that uses vendored libraries |
This issue may be closed, but the pull request is open. We will review it as soon as we can; the contributors to card.io who understand the CocoaPods integration are swamped at their jobs right now. |
After a little more digging here, we've discovered that CocoaPods will make the necessary project file adjustments to create a module that is importable via Swift without a bridging header if there is any |
I've submitted a simple PR that accomplishes this #210 I will probably delete this fork regardless of whether or not the PR is merged so please do not depend on it in your projects. |
I see this has been merged, are you planning on releasing a new version soon with this in it? |
When i was trying to include card.io SDK using cocoapods with use_framework! option which is available since cocoapods 3.6 then card.io couldn't be found in project.
The text was updated successfully, but these errors were encountered: