Vishesh Duggar bio photo

Vishesh Duggar

Founder @ CauseCode. Startup tech guy with a keen interest in product development and usability. Interested in working on high impact ideas.

Subscribe to my mailing list

Are you looking for web/mobile development help or a CTO?


CauseCode LinkedIn Twitter Facebook Github

I started to setup a ReactNative project that we have been working on for a while now on my machine. The generated iOS native code was version controlled but the build was still not functioning on my machine.

Followed the setup instructions and I got the following

Can’t build on iOS - “Podfile.lock: No such file or directory”

Turned out I didn’t have cocoapods installed which were needed!

Installing CocoaPods

sudo gem install cocoapods

Once I fixed that, started seeing

”:CFBundleIdentifier”, Does Not Exist

  1. Close Xcode
  2. Delete node_modules and reinstall fresh
  3. Open the project in Xcode

On step three I opened .xcodeproj which gave me something to the effect of

directory not found DerivedData

I had to instead open .xcworkspace. Did a product clean and build and it worked!

When you use CocoaPods, it creates a workspace file that needs to be opened in order for the builds to compile properly.

Have you come across other quirky react-native issues? :) … Would love to hear about them.

Original blog post at

We do web/mobile apps and have expertise in building scalable applications 30% faster.

Whether you are starting out or have already made some progress, 
we can help you build a scalable app faster and cheaper.

Contact me personally at