admin管理员组文章数量:1279015
I have made a react native app for android but i need to run that app on mac so what are the files to transfer. I have transfer ios folder on mac but its not running. Its showing the error 'React/RCTBridgeDelegate.h' file not found
my Reactnative code is
But how can i run it on mac using xcode.
I have made a react native app for android but i need to run that app on mac so what are the files to transfer. I have transfer ios folder on mac but its not running. Its showing the error 'React/RCTBridgeDelegate.h' file not found
my Reactnative code is
But how can i run it on mac using xcode.
Share Improve this question asked Oct 27, 2022 at 9:53 Rishabh Pratap SinghRishabh Pratap Singh 211 silver badge2 bronze badges 4- You can add code or error messages to your question instead of screenshots. – Mahmut Acar Commented Oct 27, 2022 at 13:13
- What does your podfile look like? – Uch Commented May 6, 2023 at 20:37
- 2 I our case we've get same error in two Macs with M1 cpu, and the solution to run the App was through Xcode going to Product, Destination, Destination Architecture and choose Show Rosetta destination. After that, the error stay but the App start running in emulator. – Sebastian Diaz Commented Jul 26, 2023 at 19:23
- 1 @SebastianDiaz Thank you for the suggestion, this actual helped me to resolve running app from Xcode. – JavaResp Commented Sep 24, 2023 at 8:04
3 Answers
Reset to default 9If anyone else has had this problem and none of the solutions worked, make sure you opened "projectName".xcworkspace and not "projectName".xcodeproj with XCode.
Here are steps that worked for me today:
- Removed the following inside
ios
directory:Podfile.lock
Pods
- Re-installed the pod files:
pod install
I still had the same issue, then I have run the app using Xcode instead of running from the terminal.
If none of the above fixes it, you might also try removing node_modules
and run npm install
or yarn install
and do the same steps above again.
If you recently upgraded to macOS Sequoia, adjusting the project configuration should resolve the issue. Choose the configuration you need and link to it.
本文标签: javascript39ReactRCTBridgeDelegateh39 file not found in xcodeStack Overflow
版权声明:本文标题:javascript - 'ReactRCTBridgeDelegate.h' file not found in xcode - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741246388a2364955.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论