when i start command
sudo npx cap sync
i am getting error with " You cannot run CocoaPods as root."
✔ Copying web assets from dist to ios/App/App/public in 1.89ms✔ Creating capacitor.config.json in ios/App/App in 699.92μs✔ copy ios in 7.49ms✔ Updating iOS plugins in 670.54μs✖ Updating iOS native dependencies with pod install - failed!✖ update ios - failed![error] /opt/homebrew/Cellar/cocoapods/1.15.2/libexec/gems/claide-1.1.0/lib/claide/command.rb:439:in `help!': [!] You cannot run CocoaPods as root. (CLAide::Help)
system: Macbook Pro m1 pro Sonoma 14.5
i have tried install CocoaPods in direcly on macos system, but got some errors, then i have installed it throw homebrew.