Skip to content

Commit a27dd55

Browse files
committed
add podspec that was already added to next-major
1 parent 1f8eae0 commit a27dd55

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

RealmCore.podspec

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Pod::Spec.new do |s|
2+
# Info
3+
s.name = 'RealmCore'
4+
s.version = `sh build.sh get-version`
5+
s.summary = 'Realm Core'
6+
s.homepage = 'https://realm.io'
7+
s.source = { :git => 'https://github.com/realm/realm-core.git', :tag => "v#{s.version}" }
8+
s.author = 'Realm'
9+
s.license = 'Apache 2.0'
10+
11+
# Compilation
12+
s.libraries = 'c++'
13+
s.header_mappings_dir = 'src'
14+
s.source_files = 'src/realm.hpp', 'src/realm/*.{h,hpp,cpp}', 'src/realm/{util,impl}/*.{h,hpp,cpp}'
15+
s.exclude_files = 'src/realm/{config_tool,importer_tool,realmd,schema_dumper}.cpp'
16+
s.compiler_flags = '-DREALM_ENABLE_ASSERTIONS',
17+
'-DREALM_ENABLE_ENCRYPTION'
18+
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES',
19+
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++14',
20+
'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/RealmCore/src"' }
21+
22+
# Platforms
23+
s.ios.deployment_target = '7.0'
24+
s.osx.deployment_target = '10.9'
25+
s.tvos.deployment_target = '9.0'
26+
s.watchos.deployment_target = '2.0'
27+
end

0 commit comments

Comments
 (0)