React-native-vector-icons: clang: error: no such file or directory: '/Users/kb1/Library/Developer/Xcode/DerivedData [..] /libRNVectorIcons.a'

Created on 6 Sep 2018  路  1Comment  路  Source: oblador/react-native-vector-icons

Environment

High Sierra, iOS, Simulator + Archive.

Description

I have added libRNVectorIcons.a under Link Binary with Libraries.

image

But when compiling, the file is not copied.

image

So it results in an error:

Ld /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/rsvptrainingapp.app/rsvptrainingapp normal x86_64
    cd /Users/kb1/versioned/rsvptrainingapp/ios
    export IPHONEOS_DEPLOYMENT_TARGET=9.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/BoringSSL -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/DoubleConversion -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/FirebaseAuth -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/FirebaseCore -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/FirebaseFirestore -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/FirebaseMessaging -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/Folly -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/GTMSessionFetcher -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/Protobuf -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/RNVectorIcons -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/React -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/gRPC -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/gRPC-Core -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/gRPC-ProtoRPC -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/gRPC-RxLibrary -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/glog -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/leveldb-library -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/nanopb -L/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/yoga -F/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator -F/Users/kb1/versioned/rsvptrainingapp/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/kb1/versioned/rsvptrainingapp/ios/Pods/FirebaseInstanceID/Frameworks -filelist /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Intermediates.noindex/rsvptrainingapp.build/Debug-iphonesimulator/rsvptrainingapp.build/Objects-normal/x86_64/rsvptrainingapp.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.0 -Xlinker -object_path_lto -Xlinker /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Intermediates.noindex/rsvptrainingapp.build/Debug-iphonesimulator/rsvptrainingapp.build/Objects-normal/x86_64/rsvptrainingapp_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lBoringSSL -lDoubleConversion -lFirebaseAuth -lFirebaseCore -lFirebaseFirestore -lFirebaseMessaging -lFolly -lGTMSessionFetcher -lGoogleToolboxForMac -lProtobuf -lRNVectorIcons -lReact -lc++ -lgRPC -lgRPC-Core -lgRPC-ProtoRPC -lgRPC-RxLibrary -lglog -lleveldb-library -lnanopb -lsqlite3 -lstdc++ -lyoga -lz -framework FirebaseAnalytics -framework FirebaseCoreDiagnostics -framework FirebaseInstanceID -framework FirebaseNanoPB -framework Foundation -framework JavaScriptCore -framework MobileCoreServices -framework Security -framework StoreKit -framework SystemConfiguration -ObjC -lc++ -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Intermediates.noindex/rsvptrainingapp.build/Debug-iphonesimulator/rsvptrainingapp.build/rsvptrainingapp.app-Simulated.xcent /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTBlob.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTAnimation.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libReact.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTAnimation.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTActionSheet.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTGeolocation.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTImage.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTLinking.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTNetwork.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTSettings.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTText.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTVibration.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRCTWebSocket.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRNVectorIcons.a /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRNFIRMessaging.a -lRNFirebase -lPods-rsvptrainingapp -Xlinker -dependency_info -Xlinker /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Intermediates.noindex/rsvptrainingapp.build/Debug-iphonesimulator/rsvptrainingapp.build/Objects-normal/x86_64/rsvptrainingapp_dependency_info.dat -o /Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/rsvptrainingapp.app/rsvptrainingapp

clang: error: no such file or directory: '/Users/kb1/Library/Developer/Xcode/DerivedData/rsvptrainingapp-bzeukoujtynelbfdnnsecrvvrvhh/Build/Products/Debug-iphonesimulator/libRNVectorIcons.a'

Where is my fault?

I also cleaned Xcode and deleted the DerivedData folder. But it still is not working.

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

toddmetheny picture toddmetheny  路  4Comments

reactor123 picture reactor123  路  3Comments

fevzican picture fevzican  路  3Comments

peacechen picture peacechen  路  3Comments

jszcl picture jszcl  路  3Comments