Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

separating pod for Core #614

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

osunnarvik
Copy link

In the scenario where the main app uses the full AppAuth framework and a widget extension is in need of using AppAuth/Core, the frameworks imported through cocoapods will both be named AppAuth. This confuses the build-process, and leads to that both targets will be using the last imported framework. In order to be able to build with the described scenario, I have added a podspec for Core that will be treated as a separate framework, that one can import through cocoapods.
In the scenario where one does not have a requirement for the main-app to use the full framework and an extension to use the Core-only framework, one can still import core as AppAuth/Core in order to keep the framework name AppAuth.
With the added podspec, the separate core framework is called AppAuthCore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant