Closed codebymani closed 5 years ago
Hi, @codebymani!
Try these steps to resolve the issue:
Important thing when clearing Derived Data is to close Xcode before clearing. So:
rm -rf ~/Library/Developer/Xcode/DerivedData && rm -rf ios/build
Check if you have SystemConfiguration.framework in the "Link Frameworks and Libraries" section (as described in Step 1 of the official docs). If no, then add it.
As suggestion, you can consider upgrading to Xcode 10. It will make your further life easier.
None of them worked. May be I should upgrade to Xcode10. Thank You @philly25 .
Hi, @codebymani!
Try these steps to resolve the issue:
- Important thing when clearing Derived Data is to close Xcode before clearing. So:
- Close Xcode
- To remove both derived data and build, run this command from your project's root directory:
rm -rf ~/Library/Developer/Xcode/DerivedData && rm -rf ios/build
- Open Xcode and try to archive
- Check if you have SystemConfiguration.framework in the "Link Frameworks and Libraries" section (as described in Step 1 of the official docs). If no, then add it.
- As suggestion, you can consider upgrading to Xcode 10. It will make your further life easier.
Tried all the steps didn't work! I also tried upgrading to Xcode10. Is your SDK bitcode enabled?
No, we use BitcodeDisabled SDK.
Closed due to inactivity. Feel free to reopen this issue.
Still getting this error. Any updates on this
Hi opsway,
It's working great while building in "debug" mode and It was broken for release build.
Here's the log clang: error: no such file or directory: '/Users/Manipalreddy/Library/Developer/Xcode/DerivedData/stuMagz-djwihkiljmwzqehkhdyzqbptwmsp/Build/Products/Release-iphonesimulator/libRNPayTm.a'
I even tried to build by deleting derived data, clean. Is there any work around for release build ?
Xcode: 9.4.1 React Native: 55.4