Building my app in debug/release mode produce error
no such file or directory: '/Library/Developer/Xcode/DerivedData/App-aqmvuabcxrupkgfjyogwyxrtzbvk/Build/Products/Debug-iphonesimulator/libRNFirebase.a'
but real location of libRNFirebase.a
is Debug-iphonesimulator/RNFirebase/libRNFirebase.a'
clean build and cleaning Derrived Data didn't help;
pod deintegrate didn't help;
upgrading RN version and RNF version it's not an option
is there any solutions?
React Native
version: 0.44.0React Native Firebase
Version: 2.2.3Firebase
Module: Core, Crash, Messaging ~> 4.2.0typescript
: noHow are you linking RNFirebase? Are you just running react-native link react-native-firebase
? If you are, it might be worth trying to manually link that .a like step 2 in the linking guide.
@joshimbriani linking was manually
Hello 馃憢, this issue has been automatically marked as stale because it has not had activity for quite some time. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.
I know it's been a while, but I'm still facing this issue from time to time, mostly on my CI machine.
as I mention before main problem - is with linker
no such file or directory: '/Library/Developer/Xcode/DerivedData/App-aqmvuabcxrupkgfjyogwyxrtzbvk/Build/Products/Debug-iphonesimulator/libRNFirebase.a'
but real location of libRNFirebase.a
is
/Library/Developer/Xcode/DerivedData/App-aqmvuabcxrupkgfjyogwyxrtzbvk/Build/Products/Debug-iphonesimulator/RNFirebase/libRNFirebase.a'
I tried manual linking and automatic, changing package versions (between 2.1.0 and 2.2.3) - nothing.
For me, I installed RNFirebase using cocoapods _after_ deserting the npm method. But I still had a RNFirebase.xcodeproj file under "Libraries." Try Deleting the RNFirebase Library.
I am having this issue every two weeks when I try to compile the new version of my app and after some build / clean / restart sometimes i get it to work but to be honest I don't understand what is causing this :s Any fix ?
.
I am facing the same issue it's been about a month without any luck
Same here. Only on CI machine. 馃
Most helpful comment
For me, I installed RNFirebase using cocoapods _after_ deserting the npm method. But I still had a RNFirebase.xcodeproj file under "Libraries." Try Deleting the RNFirebase Library.