Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core module not found on iOS & nanopb error #811

Closed
saqbach opened this issue Feb 4, 2018 · 2 comments
Closed

Core module not found on iOS & nanopb error #811

saqbach opened this issue Feb 4, 2018 · 2 comments

Comments

@saqbach
Copy link

saqbach commented Feb 4, 2018

Issue

I've got an issue I've been banging my head against. I get two errors on a new install for Core. I believe I've followed the instructions, tried to mimic the starter template, and read through the docs. Could absolutely be user error but I'm running into a wall.

  1. I get the RNFirebase core module was not found error in the simulator.

screen shot 2018-02-04 at 10 10 09 am

  1. I get a build failed message in Xcode and while trying react-native run-ios that has to do with nanopb
** BUILD FAILED **
The following build commands failed:

LocalPath/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/nanopb.build/Objects-normal/x86_64/nanopb-dummy.o Target\ Support\ Files/nanopb/nanopb-dummy.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

It looks like the following in Xcode:

screen shot 2018-02-04 at 10 11 44 am

My Podfile

screen shot 2018-02-04 at 10 12 51 am

Things I have tried:

  • Cleaning the project, quitting Xcode, cleaning the project again and trying to build
  • Deleting all the pods / reinstalling / running pod update and pod install more times than I'd like to admit
  • Set weak references to yes and explicitly set the iOS deployment target

I'm running out of ideas. Anyone seeing something similar? Admittedly, I'm newer to React Native / iOS development. Am I overlooking something simple?

Environment

iOS

  1. Application Target Platform:

macOS High Sierra 10.13.3

  1. Development Operating System:

Xcode & CLI

  1. React Native version:
    0.51.0

  2. RNFirebase Version:

3.2.4

  1. Firebase Module:

Core

@saqbach
Copy link
Author

saqbach commented Feb 4, 2018

Update. I've managed to fix the core module not found error. I followed the troubleshooting guide from Cocoapods docs. I had to go to Product --> Edit Scheme --> Build, add the Pods static library, drag them to the top of the list, clean and then rebuild.

screen shot 2018-02-04 at 11 37 21 am

Still wrestling with the build failure error from nanopb.

@saqbach
Copy link
Author

saqbach commented Feb 4, 2018

Was able to get the nanopb issue solved after reading this issue

Nanopb has the iOS deployment target set to 4.3 by default. If you bump it up to 9.0, it solves the error.

screen shot 2018-02-04 at 12 17 49 pm

@saqbach saqbach closed this as completed Feb 4, 2018
tnantoka added a commit to tnantoka/nanopb-podspec that referenced this issue Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant