alexsorokoletov / objc-automatic

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

System.Collections.Generic.KeyNotFoundException #20

Closed AshtonYoon closed 4 years ago

AshtonYoon commented 4 years ago
sudo sh bind.sh POD=RangeSeekSlider/Sources
Checking Paket version (downloading latest stable)...
Paket.exe 5.241.2 is up to date.
Paket version 5.241.2
Skipping resolver for group Auto since it is already up-to-date
Skipping resolver for group Main since it is already up-to-date
/Users/ashton/Projects/objc-automatic/paket.lock is already up-to-date
Installing into projects:
 - Creating model and downloading packages.
 - Installing for projects
Performance:
 - Disk IO: 13 milliseconds
 - Runtime: 1 second
Building project with version: LocalBuild
Shortened DependencyGraph for Target Bind:
<== Bind

The running order is:
  - Bind
Running build with 1 worker
Starting Target: Bind
VERBOSE IS true
Running build failed.
Error:
System.Collections.Generic.KeyNotFoundException: Exception of type 'System.Collections.Generic.KeyNotFoundException' was thrown.
  at Microsoft.FSharp.Collections.SeqModule.Pick[T,TResult] (Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] chooser, System.Collections.Generic.IEnumerable`1[T] source) [0x0003d] in <5893d081904cf4daa745038381d09358>:0
  at FSI_0005.Build.podDependenciesSimple (FSI_0005.Build+Pod pod) [0x000bd] in <247e13db11544c8b8a8007235fd927af>:0
  at FSI_0005.Build.downloadPodsRecursive (System.String podName) [0x00041] in <247e13db11544c8b8a8007235fd927af>:0
  at FSI_0005.Build+clo@767-2.Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x0012d] in <247e13db11544c8b8a8007235fd927af>:0
  at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x0004b] in <5978411fccf1c534a74503831f417859>:0

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target     Duration
------     --------
Bind       Failure
---------------------------------------------------------------------
Status:    Failure
---------------------------------------------------------------------

I was trying to bind RangeSeekSlider But bind.sh shows error message to me.

What can I do? Can you help this issue?

alexsorokoletov commented 4 years ago

Hi @AshtonYoon This repo is not supported anymore https://github.com/alexsorokoletov/objc-automatic#not-supported-anymore-automatic-way-of-binding-cocoapods-for-xamarin-ios

Please follow Xamarin directions on how to bind libraries.

Thank you for filing the issue and trying it out, though.