felfele
felfele copied to clipboard
Detox build is broken after upgrade to RN 0.59
When running the command npm run e2e:build:ios we get many errors, similar to this one
Build system information
error: Multiple commands produce '<PbxCp /Users/attila/Projects/felfele/ios/build/Build/Products/Debug-iphonesimulator/include/double-conversion/utils.h>':
1) Target 'double-conversion-tvOS' (project 'React') has copy command from '/Users/attila/Projects/felfele/node_modules/react-native/third-party/double-conversion-1.1.6/src/utils.h' to '/Users/attila/Projects/felfele/ios/build/Build/Products/Debug-iphonesimulator/include/double-conversion/utils.h'
2) Target 'double-conversion' (project 'React') has copy command from '/Users/attila/Projects/felfele/node_modules/react-native/third-party/double-conversion-1.1.6/src/utils.h' to '/Users/attila/Projects/felfele/ios/build/Build/Products/Debug-iphonesimulator/include/double-conversion/utils.h'
I suspect that it got broken after the React Native upgrade to 0.59 and it has something to do with tvOS targets, which we are not supposed to have anyways.