Closed erdemildiz closed 5 years ago
@erdemildiz Did you run react-native link rn-range-slider
?
I'm have same issue, when release app. buid fail, debug version is normal
clang: error: no such file or directory: '/Users/huynhdung/Library/Developer/Xcode/DerivedData/FelixPro-cwvyxzrdwkbtwgebcudzmwwwxgua/Build/Intermediates.noindex/ArchiveIntermediates/FelixPro/BuildProductsPath/Release-iphoneos/libRNRangeSlider.a'
I am facing same problem, Please resolve this
I found the answer in stackoverflow: https://stackoverflow.com/questions/14947139/xcodebuild-failure-clangerror-no-such-file-or-directory
This worked for me.
This question may also be useful if you get an error like:
'React/RCTBridgeModule.h' file not found
https://stackoverflow.com/questions/41663002/react-rctbridgemodule-h-file-not-found
FYI @erdemildiz @devswift2017 @mayankgarg056 - PR #9 should fix your bug, but you can use this work around if it doesn't get merged:
Update package.json
such that:
{
...
"postinstall": "... && sed -i.bak -e 's/IPHONEOS_DEPLOYMENT_TARGET = 12.1;/IPHONEOS_DEPLOYMENT_TARGET = 9.0;/g' ./node_modules/rn-range-slider/ios/RNRangeSlider.xcodeproj/project.pbxproj",
...
}
Once this is done, you can run yarn
or npm install
and the IPHONEOS_DEPLOYMENT_TARGET
will be patched to 9.0
@christopherdcunha thanks so much
@christopherdcunha , merged. Thanks for helping!
I am getting this error to build for archive. I tried everything, but ı couldn't find any solition.
no such file or directory: '/Users/erdemildiz/Library/Developer/Xcode/DerivedData/fixbilet-ciqtvxssenduvsewflchltgqhclh/Build/Intermediates.noindex/ArchiveIntermediates/fixbilet/BuildProductsPath/Release-iphoneos/libRNRangeSlider.a'