alexsorokoletov / objc-automatic

[Not supported anymore] Automation tool to bind CocoaPods to NuGet packages for Xamarin.iOS
45 stars 15 forks source link

Error during pod install #8

Closed sfmskywalker closed 6 years ago

sfmskywalker commented 6 years ago

Hi! When I try the objc-automatic tool, I'm always getting a "Error during pod install" error. I must have missed something, but I can't figure it out. Can you help? Here's my bash log:

image

alexsorokoletov commented 6 years ago

@sfmskywalker Thanks for trying the tool! Can you please do two things:

sfmskywalker commented 6 years ago

Thank you for your prompt response!

Here is the updated result:

image

It looks like the issue is with CocoaPods not allowed to run as root, because right after that program finished its help output, the "Running build failed" message appears.

I'll see if I can execute the command with my own user, making sure my user has sufficient access. Should you have any additional insight, I would obviously love to hear it.

I'll report back shortly.

sfmskywalker commented 6 years ago

Quick update: when I run the command without sudo, I get an Access Denied exception:

image

But what I don't quite understand is why, since I gave read&write permissions to "everyone". I'll be on Google if you're looking for me ;)

alexsorokoletov commented 6 years ago

@sfmskywalker

I think the last one error is because you first ran everything as sudo, app created all the files as sudo. Then you ran command as normal user and it failed. Easiest would be just to delete folder and clone it again. Then redo everything as normal user. No sudo required.

sfmskywalker commented 6 years ago

Dude that was it. Thank you for being so awesome! I owe you a beer.