Comments (45)
Hi! How is tvOS support coming? Was so excited to see the macOS support pushed!
from firebase-ios-sdk.
Do you have any progress on tvOS support?
from firebase-ios-sdk.
Hi,
i am working on it.
1.) support GoogleToolBoxForMac for tvOS, which should work on my fork:
https://github.com/mariohahn/google-toolbox-for-mac
Pull request for it:
google/google-toolbox-for-mac#139
so I am now able to Run Firebase/Core.
Next I wanted to run Firebase/Database. Here you have leveldb-library as dependency. But I wasn't really able to find a podspec in your Repo, I found it on https://github.com/CocoaPods/Specs/blob/master/Specs/a/d/a/leveldb-library/1.18.3/leveldb-library.podspec.json but you don't even use your own version it's a fork from https://github.com/matehat/leveldb.git.
So I also forked that Repo and wrote my own Podspec:
Pod::Spec.new do |s|
s.name = 'leveldb-library'
s.version = '1.18.3'
s.author = 'The LevelDB Authors'
s.license = 'New BSD'
s.homepage = 'https://github.com/google/leveldb'
s.source = { :git => 'https://github.com/mariohahn/leveldb.git',
:tag => "v1.18.1" }
s.summary = 'A fast key-value storage library'
s.description = <<-DESC
LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
DESC
s.osx.deployment_target = '10.7'
s.ios.deployment_target = '5.0'
s.tvos.deployment_target = '9.0'
s.requires_arc = false
s.header_dir = "leveldb"
s.source_files =
'db/*.{cc}',
'port/*.{cc}',
'table/*.{cc}',
'port/*.{cc}',
'util/*.{cc}',
'include/leveldb/*.h'
s.compiler_flags =
'-DOS_MACOSX',
'-DLEVELDB_PLATFORM_POSIX'
s.preserve_paths =
'db',
'port',
'table',
'util'
s.exclude_files =
'**/*_test.cc',
'**/*_bench.cc',
'port/win'
s.xcconfig = {
'CC' => '"clang"',
'CXX' => '"clang++"',
'HEADER_SEARCH_PATHS' => '"\"${PODS_ROOT}/leveldb-library/\" \"${PODS_ROOT}/leveldb-library/include\""',
'WARNING_CFLAGS' => '"-Wno-shorten-64-to-32"',
'OTHER_LDFLAGS' => '"-lc++"'
}
end
But I am not able to run it successfully :(
Why are you using a fork of your own Product?
Is it even possible to build leveldb-library for tvOS?
from firebase-ios-sdk.
tvOS Community support for Core, Auth, Database and Storage landed in #590 along with a tvOS sample app. See https://github.com/firebase/firebase-ios-sdk#community-supported-efforts.
from firebase-ios-sdk.
Unfortunately we really can't promise timelines. Yes there's some work underway but other priorities might come up that halt our progress on it.
As always, PRs welcome :-).
from firebase-ios-sdk.
Got auth/database working in a simple test app (actually kind of a port of existing iOS app).
Seems to work. Thanks again.
from firebase-ios-sdk.
tvOS Community support for Core, Auth, Database and Storage landed in #590 along with a tvOS sample app. See https://github.com/firebase/firebase-ios-sdk#community-supported-efforts.
I just got Firebase/Database working on tvOS by following the above example app and wanted to provide a TL;DR Podfile for those just getting started with Firebase/Database on tvOS:
platform :tvos, '12.0'
target 'FooTV' do
use_frameworks!
# Firebase is only partially supported on tvOS.
# These podspecs (and these Podfile lines) are taken from:
# https://github.com/firebase/firebase-ios-sdk/blob/master/Example/tvOSSample/Podfile
pod 'FirebaseCore', :git => 'https://github.com/firebase/firebase-ios-sdk.git'
pod 'FirebaseDatabase', :git => 'https://github.com/firebase/firebase-ios-sdk.git'
end
Thanks to those who contributed to this thread!
from firebase-ios-sdk.
Hi Mario,
Thanks for diving in!
As you've noticed, the leveldb-library dependency is somewhat stale and we plan to get it updated. However, we don't expect the stale dependency to cause any issues for Firebase/Database.
What is the build issue you're seeing?
from firebase-ios-sdk.
Maybe my podspec isn't correct.
/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/util/coding.cc:5:10: fatal error: 'util/coding.h' file not found
#include "util/coding.h"
^
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/coding.o leveldb-library/util/coding.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
-> leveldb-library (1.18.3)
- WARN | source: The version should be included in the Git tag.
- ERROR | xcodebuild: Returned an unsuccessful exit code.
- NOTE | xcodebuild: leveldb-library/db/builder.cc:5:10: fatal error: 'db/builder.h' file not found
- NOTE | xcodebuild: leveldb-library/table/block_builder.cc:29:10: fatal error: 'table/block_builder.h' file not found
- NOTE | xcodebuild: leveldb-library/util/arena.cc:5:10: fatal error: 'util/arena.h' file not found
- NOTE | xcodebuild: leveldb-library/table/block.cc:7:10: fatal error: 'table/block.h' file not found
- NOTE | xcodebuild: leveldb-library/util/coding.cc:5:10: fatal error: 'util/coding.h' file not found
Analyzed 1 podspec.
from firebase-ios-sdk.
It looks like you're running into CocoaPods/CocoaPods#5152 - CocoaPods 1.x currently does not support libraries with C++ headers. The workaround is use the new option --skip-import-validation.
from firebase-ios-sdk.
But I am sure that I am doing something wrong because --skip-import-validation is a new com but https://github.com/matehat/leveldb.git created the podspec months ago when the com wasn't even available. But he hasn't committed his podspec 😞
from firebase-ios-sdk.
The original podspec was probably validated with CocoaPods 0.x
from firebase-ios-sdk.
even with --skip-import-validation it's not working.
CompileC /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/coding.o leveldb-library/util/coding.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/mariohahn/.fastlane/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu++11 -stdlib=libc++ -fmodules -fmodules-cache-path=/Users/mariohahn/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/mariohahn/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wdocumentation -Wunreachable-code -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DPOD_CONFIGURATION_RELEASE=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mtvos-simulator-version-min=9.0 -g -Wno-sign-conversion -Winfinite-recursion -Wmove -iquote /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-generated-files.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-own-target-headers.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-all-target-headers.hmap -iquote /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-project-headers.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Products/Release-appletvsimulator/leveldb-library/include -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Private -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Private/leveldb-library -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Public -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Public/leveldb-library -I\"/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/\" -I\"/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/include\" -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/DerivedSources/x86_64 -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/DerivedSources -Wno-shorten-64-to-32 -F/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Products/Release-appletvsimulator/leveldb-library -Wincomplete-umbrella -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -fno-objc-arc -include /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Target\ Support\ Files/leveldb-library/leveldb-library-prefix.pch -MMD -MT dependencies -MF /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/coding.d --serialize-diagnostics /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/coding.dia -c /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/util/coding.cc -o /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/coding.o
/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/util/coding.cc:5:10: fatal error: 'util/coding.h' file not found
#include "util/coding.h"
^
1 error generated.
CompileC /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/block_builder.o leveldb-library/table/block_builder.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/mariohahn/.fastlane/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu++11 -stdlib=libc++ -fmodules -fmodules-cache-path=/Users/mariohahn/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/mariohahn/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wdocumentation -Wunreachable-code -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DPOD_CONFIGURATION_RELEASE=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mtvos-simulator-version-min=9.0 -g -Wno-sign-conversion -Winfinite-recursion -Wmove -iquote /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-generated-files.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-own-target-headers.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-all-target-headers.hmap -iquote /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-project-headers.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Products/Release-appletvsimulator/leveldb-library/include -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Private -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Private/leveldb-library -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Public -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Public/leveldb-library -I\"/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/\" -I\"/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/include\" -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/DerivedSources/x86_64 -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/DerivedSources -Wno-shorten-64-to-32 -F/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Products/Release-appletvsimulator/leveldb-library -Wincomplete-umbrella -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -fno-objc-arc -include /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Target\ Support\ Files/leveldb-library/leveldb-library-prefix.pch -MMD -MT dependencies -MF /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/block_builder.d --serialize-diagnostics /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/block_builder.dia -c /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/table/block_builder.cc -o /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/block_builder.o
/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/table/block_builder.cc:29:10: fatal error: 'table/block_builder.h' file not found
#include "table/block_builder.h"
^
CompileC /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/block.o leveldb-library/table/block.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/mariohahn/.fastlane/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu++11 -stdlib=libc++ -fmodules -fmodules-cache-path=/Users/mariohahn/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/mariohahn/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wdocumentation -Wunreachable-code -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DPOD_CONFIGURATION_RELEASE=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mtvos-simulator-version-min=9.0 -g -Wno-sign-conversion -Winfinite-recursion -Wmove -iquote /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-generated-files.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-own-target-headers.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-all-target-headers.hmap -iquote /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-project-headers.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Products/Release-appletvsimulator/leveldb-library/include -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Private -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Private/leveldb-library -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Public -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Public/leveldb-library -I\"/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/\" -I\"/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/include\" -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/DerivedSources/x86_64 -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/DerivedSources -Wno-shorten-64-to-32 -F/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Products/Release-appletvsimulator/leveldb-library -Wincomplete-umbrella -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -fno-objc-arc -include /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Target\ Support\ Files/leveldb-library/leveldb-library-prefix.pch -MMD -MT dependencies -MF /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/block.d --serialize-diagnostics /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/block.dia -c /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/table/block.cc -o /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/block.o
/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/table/block.cc:7:10: fatal error: 'table/block.h' file not found
#include "table/block.h"
^
CompileC /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/cache.o leveldb-library/util/cache.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/mariohahn/.fastlane/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu++11 -stdlib=libc++ -fmodules -fmodules-cache-path=/Users/mariohahn/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/mariohahn/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wdocumentation -Wunreachable-code -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DPOD_CONFIGURATION_RELEASE=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mtvos-simulator-version-min=9.0 -g -Wno-sign-conversion -Winfinite-recursion -Wmove -iquote /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-generated-files.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-own-target-headers.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-all-target-headers.hmap -iquote /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/leveldb-library-project-headers.hmap -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Products/Release-appletvsimulator/leveldb-library/include -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Private -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Private/leveldb-library -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Public -I/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Headers/Public/leveldb-library -I\"/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/\" -I\"/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/include\" -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/DerivedSources/x86_64 -I/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/DerivedSources -Wno-shorten-64-to-32 -F/Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Products/Release-appletvsimulator/leveldb-library -Wincomplete-umbrella -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -fno-objc-arc -include /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/Target\ Support\ Files/leveldb-library/leveldb-library-prefix.pch -MMD -MT dependencies -MF /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/cache.d --serialize-diagnostics /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/cache.dia -c /var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/util/cache.cc -o /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/cache.o
** BUILD FAILED **
The following build commands failed:
CompileC /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/coding.o leveldb-library/util/coding.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
-> leveldb-library (1.18.3)
- WARN | source: The version should be included in the Git tag.
- ERROR | xcodebuild: Returned an unsuccessful exit code.
- NOTE | xcodebuild: leveldb-library/util/coding.cc:5:10: fatal error: 'util/coding.h' file not found
- NOTE | xcodebuild: leveldb-library/table/block.cc:7:10: fatal error: 'table/block.h' file not found
- NOTE | xcodebuild: leveldb-library/table/block_builder.cc:29:10: fatal error: 'table/block_builder.h' file not found
- NOTE | xcodebuild: leveldb-library/util/arena.cc:5:10: fatal error: 'util/arena.h' file not found
- NOTE | xcodebuild: leveldb-library/db/builder.cc:5:10: fatal error: 'db/builder.h' file not found
Analyzed 1 podspec.
from firebase-ios-sdk.
It looks like there are extra quotes in the xcconfig above. It runs pod spec lint with only a warning about the version if I replace it with the following:
s.xcconfig = {
'CC' => 'clang',
'CXX' => 'clang++',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/leveldb-library/" "${PODS_ROOT}/leveldb-library/include"',
'WARNING_CFLAGS' => '-Wno-shorten-64-to-32',
'OTHER_LDFLAGS' => '-lc++'
}
from firebase-ios-sdk.
tvOS is not on the near-term Firebase roadmap, but we'd be happy to review and accept PRs if anyone wants to pick up where @mariohahn left off.
from firebase-ios-sdk.
Hi! I see there is some activity in https://github.com/firebase/firebase-ios-sdk/tree/tvOS_master branch, does it mean there is a change we're getting tvOS support any time soon?
from firebase-ios-sdk.
from firebase-ios-sdk.
I'm might need to look into using Firebase (database specifically) on tvOS soon... just sayin' thanks for any work so far, in advance...
from firebase-ios-sdk.
Because Firebase Analytics is dependent on Google Analytics and Google Analytics is not open source and not supporting tvOS, Firebase Analytics won't be available on tvOS. Is that right?
from firebase-ios-sdk.
Firebase Analytics does not depend upon Google Analytics, and neither are open source.
Open source is not a requirement to add support for tvOS - however there are no public plans to make Firebase Analytics available for tvOS. cc: @baolocdo
from firebase-ios-sdk.
Question about Firebase Analytics for tvOS. I don't understand. Can I use last version of FirebaseCore for tvOS for Firebase Analytics? Now I add sdk to my tvOS app and try to start it, But every time I have "1671911] 5.0.0 - [Firebase/Core][I-COR000022] Firebase Analytics is not available."
from firebase-ios-sdk.
You can safely ignore that warning. Firebase Analytics is not available for tvOS.
I'll send a PR to get rid of the warning.
from firebase-ios-sdk.
Will firestore be available on tvOS anytime soon ?
from firebase-ios-sdk.
We're not opposed to adding tvOS support for Firestore (and seems like it should mostly just work--we use very little outside of the Foundation and SystemConfiguration frameworks) but Firestore is a very young product and unfortunately we have too many other things to do that are higher priority.
Pull requests welcome!
from firebase-ios-sdk.
I tried adding tvos platform to the local podspec, but now the dependencies (gRPC and nanopb) do not support tvOS platform.
Is there another workaround I should be looking at?
from firebase-ios-sdk.
Unfortunately no. However, gRPC and nanopb are both very lightweight and have few external dependencies (i.e. on UIKit), so they might already build on tvOS.
from firebase-ios-sdk.
Is Crashlytics supported in tvOS?
Was trying Crashlytics in tvOS but I can't even get the firebase crashlytics setup to be successful.
I ran in my tvOS application and it seems nothing is being sent to google's server.
I found a tweet conversation stating that crashlytics will be supported for tvOS. Is it available now or for 2019? I'm asking because Fabric will be sunset on November 30, 2018.
PS: I've done a quick setup in iOS and can confirm that it works as I receive the successful setup and initial crash confirmation, so I'm pretty sure that tvOS doesn't work when I tried.
from firebase-ios-sdk.
+1 Would be great to get Firestore, Functions and RemoteConfig support for TVOS!
from firebase-ios-sdk.
Functions and Firestore are both open source and we'd happy to work with any contributors. Functions should be a matter of a bit of configuration, build and validation. Firestore is more complex because of its gRPC dependency but should still be doable.
from firebase-ios-sdk.
Any particular reason why functions are not supported on TvOS?
I just modified the FirebaseFunctions.podspec to add support for TvOS and MacOS and the module build just fine.
thanks
from firebase-ios-sdk.
@acerbetti It just hasn't been implemented and tested yet. We'll be happy to review a PR.
It should be a lot easier after the recently submitted testspec PR #1864 since no Xcode project setup is required for testing.
from firebase-ios-sdk.
@acerbetti I just made the #2506 to add tvOS and macOS for FirebaseFunctions. You're right that it's a seamless port. Thanks for the push.
from firebase-ios-sdk.
That's great, I was planning to test it better today and provide a PR, but you beat me.
thanks
from firebase-ios-sdk.
Oh sorry for beating you to it. If you have some real-life tests that go beyond what's in the packaged unit and integration tests, that would still be appreciated.
from firebase-ios-sdk.
@paulb777 Using the latest gRPC-C++ & gRPC-Core I was able to get Firestore running and returning data.
Only error I came across was sigaltstack which isn't available on tvOS used here...
from firebase-ios-sdk.
@ay8s are you using the code #2506 ?
from firebase-ios-sdk.
@ay8s That's great to hear. Are you able to send us a PR. Otherwise, hopefully we can get to this soon. cc: @wilhuff
from firebase-ios-sdk.
@paulb777 If you have any thoughts on an adjustment to the snippet below for tvOS, as its third-party I'm hesitant to simply comment it out or wrap in a tvOS check.
@samsidd This is using a fork of master 👍
from firebase-ios-sdk.
@ay8s Checking TARGET_OS_TV should be fine
from firebase-ios-sdk.
@paulb777 #2592 left as WIP as it requires dev gRPC pods right now.
from firebase-ios-sdk.
My tvOS app is not connecting to the Firebase Console. I follow all the steps taking into account from giving the ID bundle, to installing the pods but when it reaches step 5 it never connects. Has anyone the same problem? Is there an extra step necessary for tvOS ?
from firebase-ios-sdk.
@erickavb just wanted to say thanks for blazing the path for the rest of us with Firestore on Apple TV. We are going to have migrate from Firebase DB to Firestore soon to overcome the 100k concurrent limit of Firebase DB.
from firebase-ios-sdk.
@erickavb re: not connecting to the Firebase Console. When the console waits for the "connect" step it is looking for a specific Analytics event which will never happen since Analytics isn't currently supported on tvOS. It's safe to ignore this warning and things should work as expected.
from firebase-ios-sdk.
Going to close this since we now have community tvOS for most of Firebase and specific issues for missing coverage like #2011.
from firebase-ios-sdk.
Hi everyone,
I am Mayank, a Product Manager at Firebase.
I am excited to share that we are in the process of improving Firebase SDKs to support additional Apple platforms.
If you are already using Firebase in your app which supports multiple Apple platforms (tvOS/macOS/Catalyst/watchOS) or are looking to add support for those platforms, we'd love to get your feedback.
If you're interested in chatting with us and getting early access to future updates, please sign up using this form : https://forms.gle/odseGnshb3Jq8wuz5
Once approved, we will share further information on how to proceed.
Thank you!
Mayank (on behalf of Firebase SDK team)
from firebase-ios-sdk.
Related Issues (20)
- Firestore uses the File timestamp APIs but has not provided a reason in the privacy manifest. HOT 2
- Privacy Manifest for GoogleAppMeasurementOnDeviceConversion required reasons use HOT 2
- Nightly Testing Report HOT 2
- ErrorCode 17999 HOT 9
- SDK Error - 10.24.0 - Fetching newest settings failed with error: InstallationIDError - FirebaseSessionsError - 3 HOT 8
- FirebaseInAppMessaging pod installs FirebaseAnalytics/AdIdSupport HOT 6
- Firebase-related Required Reason API warning email (ITMS-91053: Missing API declaration) HOT 3
- Firebase Storage Upload/Download Failures HOT 6
- Required reason API warning on version 10.24 HOT 7
- Nightly Testing Report HOT 2
- Nightly Testing Report HOT 2
- iOS sendSignInWithEmail requires dynamic link domain (breaks any migrations from dynamic links using universal links) HOT 2
- Nightly Testing Report HOT 1
- Nightly Testing Report HOT 3
- 'FIRSESNanoPBHelpers.h' file not found in FirebaseSessions-umbrella.h HOT 2
- Crash in pb_encode File HOT 4
- An unknown error occurred. http parser error: stream ended at an unexpected time (-1) HOT 3
- Xcode Archive failure with manual code signing when upgrading Firebase from 8.14 HOT 7
- App crash at launch observed in macOS version below 11.7 HOT 6
- Framework not found FirebaseFirestoreInternal HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-ios-sdk.