Skip to content

libRNFS missing when archiving #591

@benorudolf

Description

@benorudolf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions