{"action":"created","issue":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/689","repository_url":"https://api.github.com/repos/invertase/react-native-firebase","labels_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/689/labels{/name}","comments_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/689/comments","events_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/689/events","html_url":"https://github.com/invertase/react-native-firebase/issues/689","id":282595559,"number":689,"title":"Installing Database module causes build failure","user":{"login":"Benjamin-Dewey","id":24701255,"avatar_url":"https://avatars0.githubusercontent.com/u/24701255?v=4","gravatar_id":"","url":"https://api.github.com/users/Benjamin-Dewey","html_url":"https://github.com/Benjamin-Dewey","followers_url":"https://api.github.com/users/Benjamin-Dewey/followers","following_url":"https://api.github.com/users/Benjamin-Dewey/following{/other_user}","gists_url":"https://api.github.com/users/Benjamin-Dewey/gists{/gist_id}","starred_url":"https://api.github.com/users/Benjamin-Dewey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benjamin-Dewey/subscriptions","organizations_url":"https://api.github.com/users/Benjamin-Dewey/orgs","repos_url":"https://api.github.com/users/Benjamin-Dewey/repos","events_url":"https://api.github.com/users/Benjamin-Dewey/events{/privacy}","received_events_url":"https://api.github.com/users/Benjamin-Dewey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-16T03:09:12Z","updated_at":"2017-12-17T17:13:27Z","closed_at":"2017-12-17T17:13:27Z","author_association":"NONE","body":"<!---\r\n  - BEFORE YOU MAKE AN ISSUE -\r\n-->\r\n\r\n<!---\r\n1) If you're trying to request a feature then please do so via our request board:\r\n    https://react-native-firebase.canny.io/feature-requests\r\n--->\r\n\r\n<!---\r\n2) If this is a setup issue then please make sure you've correctly followed the setup guides, most setup issues such as 'duplicate dex files', 'default app has not been initialized' etc are all down to an incorrect setup as the guides haven't been correctly followed.\r\n-->\r\n\r\n### Issue\r\n\r\n<!--- Please write your issue here, provide as much detail as you can, code snippets, key files which will help us to debug such as your `Podfile` and/or `app/build.gradle` file). -->\r\n\r\nI have my iOS build working with `'Firebase/Core'`, `'Firebase/Auth'`, and `'Google/SignIn'` modules. No issues. However when I add `pod 'Firebase/Database'` to my podfile and `pod update` just like what the install docs say things go wrong. Running `react-native run-ios` finishes with\r\n\r\n```\r\n** BUILD FAILED **\r\n\r\n\r\n\r\nThe following build commands failed:\r\n\tCompileC /Users/benjamindewey/Desktop/Development/temp/Trackdown/ios/build/Build/Intermediates.noindex/RNFirebase.build/Debug-iphonesimulator/RNFirebase.build/Objects-normal/x86_64/RNFirebase.o RNFirebase/RNFirebase.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n(1 failure)\r\n```\r\n\r\nAlthough the app still gets up and running on the simulator, trying to call `firebase.database()` logs out an error saying that the database module is not installed. Also if I remove `pod 'Firebase/Database'` and run `pod update` again and `react-native run-ios` I get the same build failure as before. It seems that trying to install the database module has contaminated things.\r\n\r\n**Podfile**\r\n```\r\n# Uncomment the next line to define a global platform for your project\r\nplatform :ios, '9.0'\r\n\r\ntarget 'Trackdown' do\r\n  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks\r\n  # use_frameworks!\r\n\r\n  # Pods for Trackdown\r\n  pod 'Firebase/Core'\r\n  pod 'Firebase/Auth'\r\n  pod 'Firebase/Database'\r\n  pod 'Google/SignIn'\r\n\r\n  target 'TrackdownTests' do\r\n    inherit! :search_paths\r\n    # Pods for testing\r\n  end\r\n\r\nend\r\n\r\ntarget 'Trackdown-tvOS' do\r\n  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks\r\n  # use_frameworks!\r\n\r\n  # Pods for Trackdown-tvOS\r\n\r\n  target 'Trackdown-tvOSTests' do\r\n    inherit! :search_paths\r\n    # Pods for testing\r\n  end\r\n\r\nend\r\n\r\n```\r\n\r\n**Podfile.lock**\r\n```\r\nPODS:\r\n  - Firebase/Auth (3.17.0):\r\n    - Firebase/Core\r\n    - FirebaseAuth (= 3.1.1)\r\n  - Firebase/Core (3.17.0):\r\n    - FirebaseAnalytics (= 3.9.0)\r\n    - FirebaseCore (= 3.6.0)\r\n  - Firebase/Database (3.17.0):\r\n    - Firebase/Core\r\n    - FirebaseDatabase (= 3.1.2)\r\n  - FirebaseAnalytics (3.9.0):\r\n    - FirebaseCore (~> 3.6)\r\n    - FirebaseInstanceID (~> 1.0)\r\n    - GoogleToolboxForMac/NSData+zlib (~> 2.1)\r\n  - FirebaseAuth (3.1.1):\r\n    - FirebaseAnalytics (~> 3.7)\r\n    - GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)\r\n    - GTMSessionFetcher/Core (~> 1.1)\r\n  - FirebaseCore (3.6.0):\r\n    - GoogleToolboxForMac/NSData+zlib (~> 2.1)\r\n  - FirebaseDatabase (3.1.2):\r\n    - FirebaseAnalytics (~> 3.7)\r\n  - FirebaseInstanceID (1.0.10):\r\n    - FirebaseCore (~> 3.6)\r\n  - Google/Core (3.1.0):\r\n    - FirebaseAnalytics (~> 3.2)\r\n  - Google/SignIn (3.1.0):\r\n    - Google/Core\r\n    - GoogleSignIn (~> 4.0)\r\n  - GoogleSignIn (4.1.1):\r\n    - GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)\r\n    - GoogleToolboxForMac/NSString+URLArguments (~> 2.1)\r\n    - GTMOAuth2 (~> 1.0)\r\n    - GTMSessionFetcher/Core (~> 1.1)\r\n  - GoogleToolboxForMac/DebugUtils (2.1.3):\r\n    - GoogleToolboxForMac/Defines (= 2.1.3)\r\n  - GoogleToolboxForMac/Defines (2.1.3)\r\n  - GoogleToolboxForMac/NSData+zlib (2.1.3):\r\n    - GoogleToolboxForMac/Defines (= 2.1.3)\r\n  - GoogleToolboxForMac/NSDictionary+URLArguments (2.1.3):\r\n    - GoogleToolboxForMac/DebugUtils (= 2.1.3)\r\n    - GoogleToolboxForMac/Defines (= 2.1.3)\r\n    - GoogleToolboxForMac/NSString+URLArguments (= 2.1.3)\r\n  - GoogleToolboxForMac/NSString+URLArguments (2.1.3)\r\n  - GTMOAuth2 (1.1.6):\r\n    - GTMSessionFetcher (~> 1.1)\r\n  - GTMSessionFetcher (1.1.12):\r\n    - GTMSessionFetcher/Full (= 1.1.12)\r\n  - GTMSessionFetcher/Core (1.1.12)\r\n  - GTMSessionFetcher/Full (1.1.12):\r\n    - GTMSessionFetcher/Core (= 1.1.12)\r\n\r\nDEPENDENCIES:\r\n  - Firebase/Auth\r\n  - Firebase/Core\r\n  - Firebase/Database\r\n  - Google/SignIn\r\n\r\nSPEC CHECKSUMS:\r\n  Firebase: 4b66b5b59c43edac745b87f0c87e42cdd0279c13\r\n  FirebaseAnalytics: e5fe8486efc01bec33f6bf82e2fa9fce4b124052\r\n  FirebaseAuth: cc8a1824170adbd351edb7f994490a3fb5c18be6\r\n  FirebaseCore: 9691ee2ade70c098d7cf92440f4303f16d83ca75\r\n  FirebaseDatabase: 05c96d7b43a7368dc91c07791adb49683e1738d1\r\n  FirebaseInstanceID: b9eedd6846fb5e1f0f7279e1deaa7a7e4cf8392e\r\n  Google: 98da4b1a60ed0beb80a290387a28333406a1eb90\r\n  GoogleSignIn: 3fdaa34a2ba04dbd7a25d7db39aecb0da98d5bdc\r\n  GoogleToolboxForMac: 2501e2ad72a52eb3dfe7bd9aee7dad11b858bd20\r\n  GTMOAuth2: c77fe325e4acd453837e72d91e3b5f13116857b2\r\n  GTMSessionFetcher: ebaa1f79a5366922c1735f1566901f50beba23b7\r\n\r\nPODFILE CHECKSUM: 0f45f287213131c236fbc400114cd3a4a735af6b\r\n\r\nCOCOAPODS: 1.3.1\r\n\r\n```\r\n\r\n\r\n### Environment\r\n\r\n<!--- (e.g. iOS, Android, Both) --->\r\n1. Application Target Platform: iOS\r\n\r\n<!--- (e.g. macOS Sierra, Windows 10) --->\r\n2. Development Operating System: macOS High Sierra\r\n\r\n<!--- (e.g. 0.45.1) --->\r\n4. React Native version: 0.51.0\r\n\r\n<!--- (e.g. 2.1.3) --->\r\n5. RNFirebase Version: 3.1.1\r\n\r\n<!--- (e.g. database, auth, messaging, analytics etc - or N/A if not applicable) --->\r\n6. Firebase Module: core, auth, database\r\n\r\n<!-- Love react-native-firebase? Please consider supporting our collective:\r\n👉  https://opencollective.com/react-native-firebase/donate -->"},"comment":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/comments/352270534","html_url":"https://github.com/invertase/react-native-firebase/issues/689#issuecomment-352270534","issue_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/689","id":352270534,"user":{"login":"chrisbianca","id":10723021,"avatar_url":"https://avatars0.githubusercontent.com/u/10723021?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisbianca","html_url":"https://github.com/chrisbianca","followers_url":"https://api.github.com/users/chrisbianca/followers","following_url":"https://api.github.com/users/chrisbianca/following{/other_user}","gists_url":"https://api.github.com/users/chrisbianca/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbianca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbianca/subscriptions","organizations_url":"https://api.github.com/users/chrisbianca/orgs","repos_url":"https://api.github.com/users/chrisbianca/repos","events_url":"https://api.github.com/users/chrisbianca/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbianca/received_events","type":"User","site_admin":false},"created_at":"2017-12-17T17:13:27Z","updated_at":"2017-12-17T17:13:27Z","author_association":"COLLABORATOR","body":"@Benjamin-Dewey You need to change your `Google/SignIn` pod to just `GoogleSignIn` - this is a newer pod which doesn't force older versions of Firebase to be downloaded."}}
{"actor":{"display_login":"chrisbianca"}}