I'm building a react native project and I got this error on running. Can you please help me to resolve this issue?
I'm building a react native project and I got this error on running. Can you please help me to resolve this issue?
This happened to me because I ran react-native run-ios immediately after installing code-push. It turns out that I needed to run pod install in my ios directory, then clean and rebuild to make this work.
I met the same issue as described in this problem. I tried both answers, but neither worked. After being stuck by a codePush undefined problem, I figured out that it's my fault. I missed a important step in CodePush readme tutorial: iOS setup:
After pod install and updating info.list, undefined codePush disappeared and everything worked well.