I have 2 identical projects, in terms of Ionic version, Angular version, and all other NPM packages. With one of the projects, when either attempting to add platform “iOS” or sync it, I get the following error:
Updating iOS native dependencies with pod install - failed!
update ios - failed!
[error] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin22/rbconfig.rb:21:
warning: Insecure world writable dir /Users/tolga/Code/TOLGA-Git/XENATECH in PATH, mode 040777
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:439:in `help!': [!] You cannot run CocoaPods as
root. (CLAide::Help)
An initial Google search didn’t result in any helpful suggestions. PLease advice, thank you.