Closed muathkhatib closed 1 year ago
sudo pod install --allow-root
worked for me
sudo pod install --allow-root
worked for me
I tried to run it with root permission after that,
I face a problem on XCode
Couldn't load project Pods.xcodeproj
@muathkhatib are you solved your issue ? I have the same issue
Errno::EACCES: Permission denied @ rb_sysopen - /Users/dmitriy.semenyuk/Desktop/Work/demo-app/.mbuild/demo-app-ios/ide/xcode_project/Pods/Ads-Global/SDK/BUFoundation.framework/Versions/A/Headers/BUPersistence.h
/Users/dmitriy.semenyuk/.rvm/gems/ruby-3.0.2/gems/mbuild2-1.15.0/lib/mbuild/commands.rb:216:in `block in cp_smart'
/Users/dmitriy.semenyuk/.rvm/gems/ruby-3.0.2/gems/mbuild2-1.15.0/lib/mbuild/commands.rb:203:in `each'
/Users/dmitriy.semenyuk/.rvm/gems/ruby-3.0.2/gems/mbuild2-1.15.0/lib/mbuild/commands.rb:203:in `cp_smart'
/Users/dmitriy.semenyuk/.rvm/gems/ruby-3.0.2/gems/mbuild2-1.15.0/lib/mbuild.rb:297:in `block in new_top_level'
I have this issue too, has anyone solved it yet?
I have this issue too, has anyone solved it yet?
Alhamdulillah, i have managed to solve this problem
try this :
cd ~/Library/Caches/CocoaPods
)sudo chmod 777 CocoaPods
)sudo chmod 777 Pods
)whoami
)sudo chown -R ownerName: node_modules/
cd ios && pod install
@muathkhatib are you solved your issue ? I have the same issue
Errno::EACCES: Permission denied @ rb_sysopen - /Users/dmitriy.semenyuk/Desktop/Work/demo-app/.mbuild/demo-app-ios/ide/xcode_project/Pods/Ads-Global/SDK/BUFoundation.framework/Versions/A/Headers/BUPersistence.h /Users/dmitriy.semenyuk/.rvm/gems/ruby-3.0.2/gems/mbuild2-1.15.0/lib/mbuild/commands.rb:216:in `block in cp_smart' /Users/dmitriy.semenyuk/.rvm/gems/ruby-3.0.2/gems/mbuild2-1.15.0/lib/mbuild/commands.rb:203:in `each' /Users/dmitriy.semenyuk/.rvm/gems/ruby-3.0.2/gems/mbuild2-1.15.0/lib/mbuild/commands.rb:203:in `cp_smart' /Users/dmitriy.semenyuk/.rvm/gems/ruby-3.0.2/gems/mbuild2-1.15.0/lib/mbuild.rb:297:in `block in new_top_level'
Yes, Give your project folder permission read & write
and apply it for enclosed items
I have this issue too, has anyone solved it yet?
Alhamdulillah, i have managed to solve this problem
try this :
- remove Folder CocoaPods (
cd ~/Library/Caches/CocoaPods
)- try add new mkdir CocoaPods (dont forget allow root :
sudo chmod 777 CocoaPods
)- go to cd CocoaPods, create mkdir Pods (dont forget allow root :
sudo chmod 777 Pods
)- back to project open cmd, check current user (command :
whoami
)- finally,
sudo chown -R ownerName: node_modules/
- try again in project
cd ios && pod install
worked here
I have this issue too, has anyone solved it yet?
Alhamdulillah, i have managed to solve this problem
try this :
- remove Folder CocoaPods (
cd ~/Library/Caches/CocoaPods
)- try add new mkdir CocoaPods (dont forget allow root :
sudo chmod 777 CocoaPods
)- go to cd CocoaPods, create mkdir Pods (dont forget allow root :
sudo chmod 777 Pods
)- back to project open cmd, check current user (command :
whoami
)- finally,
sudo chown -R ownerName: node_modules/
- try again in project
cd ios && pod install
Worked for me!
I have this issue too, has anyone solved it yet?
Alhamdulillah, i have managed to solve this problem
try this :
- remove Folder CocoaPods (
cd ~/Library/Caches/CocoaPods
)- try add new mkdir CocoaPods (dont forget allow root :
sudo chmod 777 CocoaPods
)- go to cd CocoaPods, create mkdir Pods (dont forget allow root :
sudo chmod 777 Pods
)- back to project open cmd, check current user (command :
whoami
)- finally,
sudo chown -R ownerName: node_modules/
- try again in project
cd ios && pod install
Worked for me!
I have this issue too, has anyone solved it yet?
Alhamdulillah, i have managed to solve this problem
try this :
- remove Folder CocoaPods (
cd ~/Library/Caches/CocoaPods
)- try add new mkdir CocoaPods (dont forget allow root :
sudo chmod 777 CocoaPods
)- go to cd CocoaPods, create mkdir Pods (dont forget allow root :
sudo chmod 777 Pods
)- back to project open cmd, check current user (command :
whoami
)- finally,
sudo chown -R ownerName: node_modules/
- try again in project
cd ios && pod install
This one is perfect solution
sudo pod install --allow-root
worked for me
Works but this sadly messes up your Xcode project
Using Flutter which automatically installs pods when running flutter build ios
etc. The following worked for me:
sudo chown -R $(shell whoami) ~/Library/Caches/CocoaPods
sudo chown -R $(shell whoami) ~/.cocoapods
Report
What did you do?
Run
pod install
What did you expect to happen?
What do you expect to happen?
Install all pod dependencies correctly.
What happened instead?
I received this error message
Error
Stack
Plugins
Podfile
Error