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
{{ message }}
Repository navigation
[iOS][RN 0.82][Xcode 16] RCT-Folly build fails with "Expected ';' after top level declarator" #54205
Missing reproducer: We could not detect a reproducible example in your issue report. Reproducers are mandatory and we can accept only one of those as a valid reproducer:
For majority of bugs: send us a Pull Request with the RNTesterPlayground.js edited to reproduce your bug.
I'm having almost same issues with my native modules using codegen on .mm files
React Native 0.81.4 & Expo SDK 54.
Ax Project app | Configuration Debug | Destination iPhone 16 Pro Max | SDK Simulator - iOS 18.2
v ® Compile RCT<module_name>.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
v ® Compile RCT<module_name>.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
v ® Compile RCTP<module_name>.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
v ® Compile RCT<module_map>.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
v ® Compile RCTApplePay.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
Build failed 20/10/2025, 09:51
583.6 seconds
Sorry for adding the mention @cortinico any idea what could be the issue?
# from the iOS folder
rm -rf Pods/ Podfile.lock *.xcworkspace
pod deintegrate
pod cache --clean
# if you are using expo
cd ..
npx expo prebuild --clean
And then reinstall the pods
# from the iOS folder
bundle exec pod install
# if you are using expo
cd ..
npx expo prebuild
I'm having almost same issues with my native modules using codegen on .mm files
React Native 0.81.4 & Expo SDK 54.
Ax Project app | Configuration Debug | Destination iPhone 16 Pro Max | SDK Simulator - iOS 18.2
v ® Compile RCT<module_name>.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
v ® Compile RCT<module_name>.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
v ® Compile RCTP<module_name>.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
v ® Compile RCT<module_map>.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
v ® Compile RCTApplePay.mm (x86_64) 3.9 seconds
› x 'folly/coro/Coroutine.h' file not found
Build failed 20/10/2025, 09:51
583.6 seconds
Sorry for adding the mention @cortinico any idea what could be the issue?
I fixed this issue by adding to the project.pbxproj file
This issue is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.
This issue is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.
Activity
react-native-bot commentedon Oct 20, 2025
Warning
Missing reproducer: We could not detect a reproducible example in your issue report. Reproducers are mandatory and we can accept only one of those as a valid reproducer:
You can read more about about it on our website: How to report a bug.
abisalde commentedon Oct 20, 2025
I'm having almost same issues with my native modules using codegen on
.mmfilesReact Native
0.81.4& Expo SDK 54.Sorry for adding the mention @cortinico any idea what could be the issue?
cipolleschi commentedon Oct 20, 2025
please, try with a full cleanup of the project:
And then reinstall the pods
abisalde commentedon Oct 20, 2025
I fixed this issue by adding to the
project.pbxprojfileWenBin0201 commentedon Oct 21, 2025
@cipolleschi Following the above steps still didn't fix the issue.
WenBin0201 commentedon Oct 22, 2025
I suspect that the issue might be due to the BGFMDB library being incompatible, but I haven't been able to find a solution.
react-native-bot commentedon Apr 20, 2026
This issue is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.
react-native-bot commentedon Oct 18, 2026
This issue is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.
react-native-bot commentedon Oct 18, 2026
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.