fullstackreact / react-native-firestack

A firestack v3 react-native implementation
MIT License
715 stars 132 forks source link

[!] The target `AlaRasi-tvOSTests` is declared twice. #307

Closed ajmakhl closed 7 years ago

ajmakhl commented 7 years ago

Why do I get this error? I think its the root of all my problems because when I try to run-ios I get this error

When does the error happens: cd ios && pod update --verbose [!] The target AlaRasi-tvOSTests is declared twice.

THEN I do react-native run-ios and get this : The following build commands failed: CompileC /Users/ajmakhl/Documents/AlaRasi/ios/build/Build/Intermediates/Firestack.build/Debug-iphonesimulator/Firestack.build/Objects-normal/x86_64/FirestackErrors.o Firestack/FirestackErrors.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

ajmakhl commented 7 years ago

the fault was with me

FIX -

I just removed everything in the pod file after pod init and replaced it with this:

source 'https://github.com/CocoaPods/Specs.git' [ 'Firebase/Core', 'Firebase/Auth', 'Firebase/Storage', 'Firebase/Database', 'Firebase/RemoteConfig', 'Firebase/Messaging' ].each do |lib| pod lib end target 'MyApp' do end