Replies: 1 comment 1 reply
-
An update - being staying at this and have been able to build the app, but unfortunately it crashes immediately after opening. Relative to my original message above, I was finally able to build the app by:
As of this point, I haven't included any Firebase code (e.g. import auth from '@react-native-firebase/auth';) in my previously working app, I'm just trying to install Firebase and presumed my app would run once it finally built. Here's the beginning of the Apple crash report:Translated Report (Full Report Below)Incident Identifier: C6EAD24F-7AAA-45BC-8FC7-11881644DC87 Date/Time: 2023-05-01 09:54:54.7502 -0700 Exception Type: EXC_CRASH (SIGABRT) |
Beta Was this translation helpful? Give feedback.
-
Hi All - I'm new to react-native, but have used firebase in the past for web apps. I'm struggling with the installation of the firebase module and was hoping someone might point me in the right direction. I am following the IOS installation steps on this https://rnfirebase.io page, modifying the Podfile, react-native-config.js and AppDelegate.mm files as instructed after installing the module with yarn. (note: react-native-config.js change was made after a reading a comment in my Podfile). After following these steps and then running npm react-native start, it seems that that xcode tools compiler is trying to build something (terminal truncates the build message) but the build never completes. Left it run 30 minutes the last time I tried this. Here's my terminal to show you what I'm seeing, and happy to share the modified files above if that will help me get past the installation.
Thanks in advance if anyone can help me out!
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: cdece8ee10896776309377b1ef23632b
Build description path: /Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Intermediates.noindex/XCBuildData/cdece8ee10896776309377b1ef23632b-desc.xcbuild
note: Building targets in dependency order
warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'onboardui' from project 'onboardui')
warning: Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'onboardui' from project 'onboardui')
PhaseScriptExecution Start\ Packager /Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Intermediates.noindex/onboardui.build/Debug-iphonesimulator/onboardui.build/Script-FD10A7F022414F080027D42C.sh (in target 'onboardui' from project 'onboardui')
cd /Users/BRAD/Code/onboardui/ios
/bin/sh -c /Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Intermediates.noindex/onboardui.build/Debug-iphonesimulator/onboardui.build/Script-FD10A7F022414F080027D42C.sh
Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!
CompileC /Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Intermediates.noindex/onboardui.build/Debug-iphonesimulator/onboardui.build/Objects-normal/arm64/AppDelegate.o /Users/BRAD/Code/onboardui/ios/onboardui/AppDelegate.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'onboardui' from project 'onboardui')
cd /Users/BRAD/Code/onboardui/ios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -target arm64-apple-ios12.4-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++1z -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/BRAD/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/BRAD/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/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 -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-c++11-extensions -Wno-implicit-fallthrough -DDEBUG=1 -DCOCOAPODS=1 -DFB_SONARKIT_ENABLED=1 -DHERMES_ENABLE_DEBUGGER=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Index.noindex/DataStore -iquote /Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Intermediates.noindex/onboardui.build/Debug-iphonesimulator/onboardui.build/onboardui-generated-files.hmap -I/Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Intermediates.noindex/onboardui.build/Debug-iphonesimulator/onboardui.build/onboardui-own-target-headers.hmap -I/Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Intermediates.noindex/onboardui.build/Debug-iphonesimulator/onboardui.build/onboardui-all-non-framework-target-headers.hmap -ivfsoverlay /Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Intermediates.noindex/onboardui.build/Debug-iphonesimulator/onboardui.build/all-product-headers.yaml -iquote /Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Intermediates.noindex/onboardui.build/Debug-iphonesimulator/onboardui.build/onboardui-project-headers.hmap -I/Users/BRAD/Library/Developer/Xcode/DerivedData/onboardui-hkcvbsimuzgcxcadsdcizyfcacma/Build/Products/Debug-iphonesimulator/include -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/CocoaAsyncSocket -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/DoubleConversion -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/FBLazyVector -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/Flipper -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/Flipper-Fmt -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/Flipper-Folly -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/Flipper-PeerTalk -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/Flipper-RSocket -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/FlipperKit -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/RCT-Folly -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/RCTRequired -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/RCTTypeSafety -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-Codegen -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-Core -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-RCTAnimation -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-RCTAppDelegate -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-RCTBlob -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-RCTText -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-callinvoker -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-cxxreact -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-hermes -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-jsi -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-jsiexecutor -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-jsinspector -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-logger -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-perflogger -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/ReactCommon -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/SocketRocket -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/Yoga -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Public/YogaKit -I/Users/BRAD/Code/onboardui/ios/Pods/Headers/Publ
Beta Was this translation helpful? Give feedback.
All reactions