Skip to content

Commit

Permalink
Add tvOS (firebase#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored Nov 15, 2017
1 parent e187165 commit a9e7a7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion leveldb-library.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Pod::Spec.new do |s|

s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.7'
s.tvos.deployment_target = '10.0'

s.source = {
:git => 'https://github.com/google/leveldb.git',
Expand All @@ -25,8 +26,9 @@ Pod::Spec.new do |s|
'"${PODS_ROOT}/leveldb-library/include"',

# Disable warnings introduced by Xcode 8.3 and Xcode 9
# The deprecated-declarations is for OSMemoryBarrier on tvOS
'WARNING_CFLAGS' => '-Wno-shorten-64-to-32 -Wno-comma -Wno-unreachable-code ' +
'-Wno-conditional-uninitialized',
'-Wno-conditional-uninitialized -Wno-deprecated-declarations',

# Prevent naming conflicts between leveldb headers and system headers
'USE_HEADERMAP' => 'No',
Expand Down

0 comments on commit a9e7a7d

Please sign in to comment.