Only React-Native 0.60 and later because it's using pod and pod will be link only main target project. Since RN 0.60 project.xcworkspace will be mainly project for Xcode and Pods than project.xcodeproj that not rely with Pods. You'll never build and run succes caused by this error.
The main problem is your new environment not associate with pod that linked to main target project if you try to duplicated, it will be work while you're not using pod install again. I will discuss from one picture that leading to solve this issue but it's just temporarily solution, it's gonna be happen again liked i said when you've using pod install.
[ Xcode 11.3 ]
The solution is... refer above image.
1. click on root project name on the left panel.
1. click on root project name on the left panel.
2. click on root project name under section PROJECT.
3. click tab info
4. this is the main target project that was created from inititlaize, you may have decided it for Production environment.
5. this is the Dev environment target project that having issue React/RCTBridgeDelegate.h file not found. that even duplicated from 4.
6. this is pod linked when 5. having issue, you will see this is "none" value, you must change this to be match the main pod like 4. both Debug "none" to "Pods-project.debug" and Release "none" to Pods-project.release".
5. this is the Dev environment target project that having issue React/RCTBridgeDelegate.h file not found. that even duplicated from 4.
6. this is pod linked when 5. having issue, you will see this is "none" value, you must change this to be match the main pod like 4. both Debug "none" to "Pods-project.debug" and Release "none" to Pods-project.release".
Then build it again, everything should be fine. But reminded! this is temporarily solution, it's work when you never use pod install again. If you use pod install, this issue will be back to you then once you've pod install just update pod linked from "none" to "Pods-project.debug" and "Pods-project.release" again. liked step 6. That's it.
Hope this will help you out the blocking. See you next thread. Stay home, Stay safe.


you are a god among men. Thank you for this post so, so much!
ReplyDeleteThanks God, I found you
ReplyDelete