error Failed to build iOS project. We ran “xcodebuild” command but it exited with error code 65
1 min readAug 28, 2020
Removing duplicate font files in Copy Bundle Resources
worked for me.
The problem seems to be caused by the new autolinking feature in React Native 0.60 — the line use_native_modules!
in ios/Podfile
means when you do pod install
, any pods found in node_modules
are automatically linked. This means that links to all font files are added to [CP] Copy Pods Resources
when you do pod install
.
If you previously installed react-native-vector-icons
manually by adding the font files to Copy Bundle Resources
, you then get a "Multiple commands produce..." fatal build error.
So to fix the problem, just remove the font files from Copy Bundle Resources
, so that they are only in [CP] Copy Pods Resources
.