Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Realm module map generation #6041

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

Open
matt wants to merge 2 commits into realm:master
base: master
Choose a base branch
Loading
from matt:add-realm-module-map-generation

Conversation

Copy link

@matt matt commented Dec 18, 2018
edited
Loading

Goal
Allow RealmSwift to be added as a static library via Cocoapods.

Workarounds

  1. Add use_modular_headers! to the Podfile.
  2. Add pod 'Realm', :modular_headers => true to the Podfile.

Additional Reading
CocoaPods 1.5.0 - Swift Static Libraries :: Modular Headers

Issue
#6042

Copy link
Member

tgoyne commented Dec 18, 2018

This looks like just a CocoaPods bug (the Realm pod defines a module using a custom modulemap and the validator just fails to check for that), but explicitly setting DEFINES_MODULE should be harmless as a workaround. This currently fails to build due to a syntax error, though.

Copy link
Author

matt commented Dec 18, 2018

Added the missing comma. I originally added the new key at the end, but realized the others were alphabetized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

@matt matt

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /