itinance / itinance/react-native-fs

libRNFS missing when archiving

Open
#591 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've setup react-native-fs via react-native link command and proceeded to link it manually in XCode as well - everything is in place as per doc.
A debug build on simulator builds and works fine, but archiving fails with the error:
`clang: error: no such file or directory: '/Users/benorudolf/Library/Developer/Xcode/DerivedData/VertragsAtlas-deqolswfglqofdeznxegsrtdwtin/Build/Intermediates.noindex/ArchiveIntermediates/VertragsAtlas/BuildProductsPath/Release-iphoneos/libRNFS.a'`

I've checked the DerivedData folders and the `libRNFS.a` is actually missing from `Release-iphoneos` - it seems to be in the `RNFS` folder inside the `Release-iphoneos`.
I tried to create the alias manually but the error persisted.

I went through deleting the derived data several times, product cleans as well, but the error remains.

I'm guessing it's a linking issue, but can't seem to find where I failed as everything seems as per doc.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.