You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the ios emulator is ready, run the ios app using the command below. npm run ios
This results in the following error.
...
...
** BUILD FAILED **
The following build commands failed:
CompileC /Users/jaehyeonshin/Library/Developer/Xcode/DerivedData/react_native_sample_app-gomarbdmonztkscgyahbghqfrpvu/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/rtn-calculator.build/Objects-normal/arm64/RTNCalculator.o /Users/jaehyeonshin/Documents/projects_react_native/react_native_sample_app/node_modules/rtn-calculator/ios/RTNCalculator.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'rtn-calculator' from project 'Pods')
(1 failure)
Why does "rtn-calculator" fail when building?
My "rtn-calculator" turbo module code can be found at "https://github.com/wisdomstar94/rtn-calculator ".
Tested on Android with the npm run android command, it works fine. Error only with ios.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
- The guide document I referred to
https://github.com/reactwg/react-native-new-architecture/blob/main/docs/turbo-modules.md
- How to reproduce for errors
git clone https://github.com/wisdomstar94/react_native_sample_app.gitcd react_native_sample_appnpm icd ./iosbundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install(Source of the above command : https://github.com/reactwg/react-native-new-architecture/blob/main/docs/enable-apps.md#enable-new-architecture-for-ios)
npm run iosWhy does "rtn-calculator" fail when building?
My "rtn-calculator" turbo module code can be found at "https://github.com/wisdomstar94/rtn-calculator ".
Tested on Android with the
npm run androidcommand, it works fine. Error only with ios.Beta Was this translation helpful? Give feedback.
All reactions