Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: post install error in iOS after running pod install, `undefined …
…method 'path' for nil:NilClass` (#45095) Summary: After upgrading my project to the latest version of react native i.e, 0.74.2, i was getting an error when running `pod install` an the error was coming from the post install hook. Going deeper into the file tree, i found that some of the things are Nil and react native is trying to use some methods on them, so fixed those issues by using chaining operators to conditionally apply the path method on them. ## Changelog: [Internal] - fixes the post install issue when running pod install with react native version, 0.74.2 Pull Request resolved: #45095 Test Plan: Manually tested the fix. Works perfectly fine in both debug and production mode. Reviewed By: cortinico Differential Revision: D58863666 Pulled By: cipolleschi fbshipit-source-id: 64459711dcf926b7544b99b542e9861c1c0f05ca
- Loading branch information