alexsorokoletov / objc-automatic

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

The specified path is not of a legal form (empty) #1

Closed mkoehne closed 7 years ago

mkoehne commented 7 years ago

I tried to create the lottie-ios binding, but got an System.ArgumentException. I followed the How to use and tried than "sh bind.sh POD=lottie-ios".

Output: Building project with version: LocalBuild Shortened DependencyGraph for Target Bind: <== Bind

The resulting target order is:

alexsorokoletov commented 7 years ago

@mkoehne let's double check the prerequisites first. Is mono, nuget and pod on your path?

mkoehne commented 7 years ago

Yes all three are in /usr/local/bin and that is in my path.

alexsorokoletov commented 7 years ago

@mkoehne please pod --version to check the version. Should be 1.1.1. If less, please go ahead and update cocoapods (sudo gem install cocoapods or sudo gem update cocoapods).

Basically, the error is that command pod spec which lottie-ios doesn't return the expected result.

mkoehne commented 7 years ago

I have Version 1.2.0 installed.

alexsorokoletov commented 7 years ago

@mkoehne good, it might be that you need to install pod first and only after that pod which will work. Let me check that really quick.

alexsorokoletov commented 7 years ago

@mkoehne nope, tried using DZNEmptyDataSet which I have never used before and it worked. Can we chat in gitter to find out what's going wrong here? https://gitter.im/objc-automatic/Lobby

alexsorokoletov commented 7 years ago

Turns out, problem was missing pods subfolder, I will add this to repo.

alexsorokoletov commented 7 years ago

Resolved via #3 and 17f5db1729e31fcfb43a75fd811e8c1288022f8a