[!] The target `AlaRasi-tvOSTests` is declared twice.
ajmakhl opened this issue · 1 comments
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
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