After upgrading to RN 0.79.3 i began having this failing iOS construct:
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/RCTComponentViewHelpers.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/ScrollEvent.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/ScrollViewComponentDescriptor.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/ScrollViewEventEmitter.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/ScrollViewProps.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/ScrollViewShadowNode.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/ScrollViewState.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/conversions.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/primitives.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/consistency/ScopedShadowTreeRevisionLock.h'
error A number of instructions produce '~/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/consistency/ShadowTreeRevisionConsistencyManager.h'
error A number of instructions produce ''
error A number of instructions produce ''
error A number of instructions produce ''
error A number of instructions produce ''
error A number of instructions produce ''
error A number of instructions produce ''
error A number of instructions produce ''
error A number of instructions produce ''
error A number of instructions produce ''
error A number of instructions produce ''
error A number of instructions produce ''
node:inner/course of/guarantees:389
new UnhandledPromiseRejection(purpose);
^
UnhandledPromiseRejection: This error originated both by throwing within an async operate with out a catch block, or by rejecting a promise which was not dealt with with .catch(). The promise rejected with the explanation "Error: Didn't construct ios mission. "xcodebuild" exited with error code '65'. To debug construct logs additional, contemplate constructing your app with Xcode.app, by opening 'MyApp.xcworkspace'.".
at throwUnhandledRejectionsMode (node:inner/course of/guarantees:389:7)
at processPromiseRejections (node:inner/course of/guarantees:470:17)
at course of.processTicksAndRejections (node:inner/course of/task_queues:96:32) {
code: 'ERR_UNHANDLED_REJECTION'
}
XCode says detaily for every error like:
Goal 'React-Cloth' (mission 'Pods') has copy command from '/Customers/radek/Desktop/work/myapp-fe/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/RCTComponentViewHelpers.h' to '/Customers/radek/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/RCTComponentViewHelpers.h'
Goal 'React-FabricComponents' (mission 'Pods') has copy command from '/Customers/radek/Desktop/work/myapp-fe/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/RCTComponentViewHelpers.h' to '/Customers/radek/Library/Developer/Xcode/DerivedData/MyApp-busjatodvgaqfkaofsfubqrkrqmx/Construct/node_modules/react-native/ReactCommon/react/renderer/parts/scrollview/RCTComponentViewHelpers.h'
I discovered tons of threads about identical error title, however all the time with totally different recordsdata or libraries.
What i attempted:
- Take away DerivedData
- Reinstall pods
- Transfer
use_frameworks! :linkage => :static
aboveuse_react_native()
- Checked that i haven’t got any duplicates in Goal -> Construct Phases -> Copy Bundle Assets
I additionally tried to take away duplicate recordsdata in post_install like:
if goal.title == 'React-FabricComponents'
goal.headers_build_phase.recordsdata.every do |file|
if file.display_name.embody?('RCTComponentViewHelpers.h') ||
file.display_name.embody?('ScrollView')
file.remove_from_project
finish
finish
finish
finish
Android builds, so the problem i’ve is just this one with iOS. Some other concepts?