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

Split framework dependencies into separate subspecs #1028

Merged
merged 2 commits into from
Jul 14, 2018
Merged

Conversation

Adlai-Holler
Copy link
Member

@Adlai-Holler Adlai-Holler commented Jul 13, 2018

  • Reduce binary size and dyld time.
  • Default cocoapods is the same (all + PINRemoteImage) for backwards compatibility.
    • Custom and Carthage build environments will break!! Consumers need to define AS_USE_MAPKIT, AS_USE_PHOTOS, AS_USE_ASSETS_LIBRARY to trigger their dep.
    • Not sure whether __has_include would work since system headers can always be reached if needed. Either way it's useful to trigger the integration with the system framework explicitly.
  • Standardize indentation in podspec.

cc @wiseoldduck @ay8s @garrettmoon @christianselig

…size and dynamic linking time when they're not needed
Copy link
Member

@nguyenhuy nguyenhuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

Copy link
Member

@appleguy appleguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks!

Copy link
Contributor

@maicki maicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Adlai-Holler Adlai-Holler merged commit 5cad23b into master Jul 14, 2018
@Adlai-Holler Adlai-Holler deleted the AHSplitDeps branch July 14, 2018 18:10
mikezucc pushed a commit to mikezucc/Texture that referenced this pull request Oct 2, 2018
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.

None yet

4 participants