Skip to content

Commit

Permalink
Explicitly list the headers for the Realm.Private cocoapods module
Browse files Browse the repository at this point in the history
There are some headers which we want in neither the Realm nor Realm.Private
modules, and including them in private_header_files would implicitly result in
them ending up in the Realm module (and then produce warnings about the
umbrella header not importing them).
  • Loading branch information
tgoyne committed Aug 20, 2018
1 parent d838323 commit 3bf9825
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
x.x.x Release notes (yyyy-MM-dd)
=============================================================

### Breaking Changes

* None.

### Enhancements

* None.

### Bugfixes

* Fix warnings when building Realm as a static framework with CocoaPods.

3.7.6 Release notes (2018-08-08)
=============================================================

Expand Down
17 changes: 14 additions & 3 deletions Realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,22 @@ Pod::Spec.new do |s|
'include/**/RLMObjectBase_Dynamic.h'

# Realm.Private module
private_header_files = 'include/**/*_Private.h',
'include/**/RLMAccessor.h',
private_header_files = 'include/**/RLMAccessor.h',
'include/**/RLMArray_Private.h',
'include/**/RLMCollection_Private.h',
'include/**/RLMListBase.h',
'include/**/RLMObjectBase_Private.h',
'include/**/RLMObjectSchema_Private.h',
'include/**/RLMObjectStore.h',
'include/**/RLMOptionalBase.h'
'include/**/RLMObject_Private.h',
'include/**/RLMOptionalBase.h',
'include/**/RLMProperty_Private.h',
'include/**/RLMRealmConfiguration_Private.h',
'include/**/RLMRealm_Private.h',
'include/**/RLMResults_Private.h',
'include/**/RLMSchema_Private.h',
'include/**/RLMSyncConfiguration_Private.h',
'include/**/RLMSyncUtil_Private.h'

source_files = 'Realm/*.{m,mm}',
'Realm/ObjectStore/src/*.cpp',
Expand Down

0 comments on commit 3bf9825

Please sign in to comment.