diff --git a/cocoapods/NJSHeaderOnly.mm b/cocoapods/NJSHeaderOnly.mm deleted file mode 100644 index b92186050..000000000 --- a/cocoapods/NJSHeaderOnly.mm +++ /dev/null @@ -1,7 +0,0 @@ -// We need this file to please cocoapods as cocoapods -// doesn't support pure C++ libraries. We need mm so -// cocoapods enables Objective-C++ - -int NJSHeaderOnly() { - return 42; -} \ No newline at end of file diff --git a/cocoapods/NSJHeaderOnlyObjc.m b/cocoapods/NSJHeaderOnlyObjc.m deleted file mode 100644 index 391624f06..000000000 --- a/cocoapods/NSJHeaderOnlyObjc.m +++ /dev/null @@ -1,5 +0,0 @@ -// cocoapods is weird we also need this. - -int NSJHeaderOnlyObjc() { - return 42; -} \ No newline at end of file diff --git a/nlohmann_json.podspec b/nlohmann_json.podspec index b56586a23..f0a347540 100644 --- a/nlohmann_json.podspec +++ b/nlohmann_json.podspec @@ -96,9 +96,7 @@ Pod::Spec.new do |s| # Not including the public_header_files will make all headers public. # - s.source_files = "cocoapods/**/*.{h,m,mm}", "single_include/**/*.hpp" - s.exclude_files = "Classes/Exclude" - + s.source_files = "single_include/**/*.hpp" s.public_header_files = "single_include/nlohmann/json.hpp"