Getting this linker error from my .xcworkspace file
EDIT: Originally was ld: library not found for -lRNFetchBlob
I've been trying everything: clearing and reinstalling Pods, also running Product -> Clean but my project won't build.
Project was fine 2 days ago until I had to make this module work on Android, which I did, but somehow broke the iOS installation.
Any ideas?
react-native-cli: 2.0.1
react-native: 0.49.3
yarn 1.2.1
UPDATE:
I couldn't find an entry for react-native-fetch-blob in my package.json, which is strange because the application runs fine on Android.
Running yarn add react-native-fetch-blob changed the error to:
duplicate symbol _fileStreams in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.isOpen in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.outStream in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.inStream in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.docCtrl in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.callback in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.path in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.encoding in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.bufferSize in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS._bridge in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.bridge in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS._streamId in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.streamId in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.taskId in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobFS.appendData in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_CLASS_$_RNFetchBlobFS in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_METACLASS_$_RNFetchBlobFS in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobFS.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobFS.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.isNewPart in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.isIncrement in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.followRedirect in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.responseFormat in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.respStatus in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.redirects in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.options in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.receivedBytes in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.expectedBytes in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.error in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.fileTaskCompletionHandler in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.dataTaskCompletionHandler in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.partBuffer in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.respInfo in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.writeStream in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork._fileStream in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.backgroundTask in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_CLASS_$_RNFetchBlobNetwork in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_METACLASS_$_RNFetchBlobNetwork in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.callback in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.bodyLength in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.destPath in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork._isServerPush in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _taskQueue in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.respFile in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _progressTable in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _uploadProgressTable in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _expirationTable in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _taskTable in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.bridge in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.taskId in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobNetwork.respData in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobNetwork.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobNetwork.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress._count in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress.count in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress.progress in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_CLASS_$_RNFetchBlobProgress in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_METACLASS_$_RNFetchBlobProgress in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress._interval in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress.interval in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress.tick in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress.lastTick in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress._type in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress.type in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress._enable in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlobProgress.enable in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobProgress.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobProgress.o)
duplicate symbol _OBJC_CLASS_$_RNFetchBlobReqBuilder in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobReqBuilder.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobReqBuilder.o)
duplicate symbol _OBJC_METACLASS_$_RNFetchBlobReqBuilder in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlobReqBuilder.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlobReqBuilder.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlob.filePathPrefix in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlob.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlob-9A9FEEDF0B0FF149.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlob.documentController in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlob.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlob-9A9FEEDF0B0FF149.o)
duplicate symbol _bridgeRef in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlob.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlob-9A9FEEDF0B0FF149.o)
duplicate symbol _fsQueue in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlob.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlob-9A9FEEDF0B0FF149.o)
duplicate symbol _commonTaskQueue in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlob.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlob-9A9FEEDF0B0FF149.o)
duplicate symbol _OBJC_IVAR_$_RNFetchBlob._bridge in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlob.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlob-9A9FEEDF0B0FF149.o)
duplicate symbol _OBJC_CLASS_$_RNFetchBlob in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlob.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlob-9A9FEEDF0B0FF149.o)
duplicate symbol _OBJC_METACLASS_$_RNFetchBlob in:
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/react-native-fetch-blob/libreact-native-fetch-blob.a(RNFetchBlob.o)
/Users/findandgo/Library/Developer/Xcode/DerivedData/myproject-ecaeadralqoyvdcxuuvotuxvblqe/Build/Products/Debug-iphonesimulator/libRNFetchBlob.a(RNFetchBlob-9A9FEEDF0B0FF149.o)
ld: 72 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Solved by running:
react-native unlink react-native-fetch-blob
And then had to link module manually on Android.
Most helpful comment
Solved by running:
react-native unlink react-native-fetch-blobAnd then had to link module manually on Android.