alexsorokoletov / objc-automatic

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

System.Exception: Error during sharpie bind -output bindings #12

Open Polyariz opened 6 years ago

Polyariz commented 6 years ago

When execute the command sh bind.sh POD=XCDYouTubeKit appearing the error: "System.Exception: Error during sharpie bind -output bindings" +++++++++++++++++++++++++++++++++++++++++++++ objc-automatic Pavel$ sh bind.sh POD=XCDYouTubeKit Checking Paket version (downloading latest stable)... Paket.exe 5.149.0 is up to date. Paket version 5.149.0 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/Pavel/Desktop/objc-automatic/paket.lock is already up-to-date Installing into projects:

The running order is:


Build Time Report

Target Duration


Bind Failure

Status: Failure

alexsorokoletov commented 6 years ago

@Polyariz Thank you for the report. Would you be kind as to

Thank you.

Polyariz commented 6 years ago

The command sh bind.sh POD=XCDYouTubeKit VERBOSE=true finished with this error:

Done. Exiting with error code 1. error: no sources specified Running build failed. Error: System.Exception: Error during sharpie bind -output bindings/XCDYouTubeKit -sdk "iphoneos" -scope pods/XCDYouTubeKit/XCode/build-out/Debug-iphoneos/XCDYouTubeKit -n DreamTeam.Xamarin.XCDYouTubeKit -c -I pods/XCDYouTubeKit/XCode/Pods/Headers/Private -Ipods/XCDYouTubeKit/XCode/Pods/Headers/Public -v at Microsoft.FSharp.Core.PrintfModule+PrintFormatToStringThenFail@1379[TResult].Invoke (System.String message) [0x00001] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Core.PrintfImpl+StringPrintfEnv1[TResult].Finalize () [0x00012] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Core.PrintfImpl+Final1@224[TState,TResidue,TResult,A].Invoke (Microsoft.FSharp.Core.FSharpFunc2[T,TResult] env, A a) [0x00038] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Core.OptimizedClosures+Invoke@3253[T2,TResult,T1].Invoke (T2 u) [0x00001] in <5893d081904cf4daa745038381d09358>:0 at FSI_0005.Build.generateCSharpBindingsForCustom (FSI_0005.Build+Pod pod) [0x00299] in <5c0f14e870074fc2aaf3eead710379c2>:0 at FSI_0005.Build.generateBindingForPod (FSI_0005.Build+Pod pod) [0x00143] in <5c0f14e870074fc2aaf3eead710379c2>:0 at FSI_0005.Build+clo@780-4.Invoke (FSI_0005.Build+Pod pod) [0x00001] in <5c0f14e870074fc2aaf3eead710379c2>:0 at Microsoft.FSharp.Primitives.Basics.List.iter[T] (Microsoft.FSharp.Core.FSharpFunc2[T,TResult] f, Microsoft.FSharp.Collections.FSharpList1[T] x) [0x00019] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Collections.ListModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc2[T,TResult] action, Microsoft.FSharp.Collections.FSharpList1[T] list) [0x00001] in <5893d081904cf4daa745038381d09358>:0 at FSI_0005.Build+clo@767-2.Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x0014d] in <5c0f14e870074fc2aaf3eead710379c2>:0 at Fake.TargetHelper+targetFromTemplate@209-1[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00001] in <5978411fccf1c534a74503831f417859>:0 at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x0004b] in <5978411fccf1c534a74503831f417859>:0


Build Time Report

Target Duration


Bind Failure

Status: Failure

Stacktrace:

at <0xffffffff> lookup_data_table () failed for 0x7fead2d02dc0

bind.sh: line 15: 9647 Abort trap: 6 mono --debug --runtime=v4.0 packages/Auto/FAKE/tools/FAKE.exe ./build.fsx $@

This code objc-automatic Pavel$ sharpie bind -output bindings/XCDYouTubeKit -sdk "iphoneos" -scope pods/XCDYouTubeKit/XCode/build-out/Debug-iphoneos/XCDYouTubeKit -n DreamTeam.Xamarin.XCDYouTubeKit -c -I pods/XCDYouTubeKit/XCode/Pods/Headers/Private -Ipods/XCDYouTubeKit/XCode/Pods/Headers/Public -v -v -v finished with:

Done. Exiting with error code 1. error: no sources specified

Emixam23 commented 6 years ago

Hey ! Any updates on it?

Maxgamerboy1 commented 5 years ago

Bump! I am running into the same issue with the Firebase/MLVision package... ... lipo -create -output pods/GoogleUtilities.Environment/XCode/build-out/libGoogleUtilities.a /Users/appdevelopers/Documents/DevSpaces/Thomas_Phillips/objc-automatic-master/pods/GoogleUtilities.Environment/XCode/build-out/libGoogleUtilities.device.a /Users/appdevelopers/Documents/DevSpaces/Thomas_Phillips/objc-automatic-master/pods/GoogleUtilities.Environment/XCode/build-out/libGoogleUtilities.sim.a

sharpie bind -output bindings/GoogleUtilities.Environment -sdk "iphoneos" -scope pods/GoogleUtilities.Environment/XCode/build-out/Debug-iphoneos/GoogleUtilities -n DreamTeam.Xamarin.GoogleUtilities.Environment -c -I pods/GoogleUtilities.Environment/XCode/Pods/Headers/Private -Ipods/GoogleUtilities.Environment/XCode/Pods/Headers/Public -v  Done. Exiting with error code 1. error: no sources specified Running build failed. Error: System.Exception: Error during sharpie bind -output bindings/GoogleUtilities.Environment -sdk "iphoneos" -scope pods/GoogleUtilities.Environment/XCode/build-out/Debug-iphoneos/GoogleUtilities -n DreamTeam.Xamarin.GoogleUtilities.Environment -c -I pods/GoogleUtilities.Environment/XCode/Pods/Headers/Private -Ipods/GoogleUtilities.Environment/XCode/Pods/Headers/Public -v at FSI_0005.Build+generateCSharpBindingsForCustom@383.Invoke (System.String message) [0x00001] in :0 at Microsoft.FSharp.Core.PrintfImpl+StringPrintfEnv1[TResult].Finalize () [0x00012] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Core.PrintfImpl+Final1@224[TState,TResidue,TResult,A].Invoke (Microsoft.FSharp.Core.FSharpFunc2[T,TResult] env, A a) [0x00038] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Core.OptimizedClosures+Invoke@3253[T2,TResult,T1].Invoke (T2 u) [0x00001] in <5893d081904cf4daa745038381d09358>:0 at FSI_0005.Build.generateCSharpBindingsForCustom (FSI_0005.Build+Pod pod) [0x0029e] in :0 at FSI_0005.Build.generateBindingForPod (FSI_0005.Build+Pod pod) [0x00143] in :0 at FSI_0005.Build+clo@780-4.Invoke (FSI_0005.Build+Pod pod) [0x00001] in :0 at Microsoft.FSharp.Primitives.Basics.List.iter[T] (Microsoft.FSharp.Core.FSharpFunc2[T,TResult] f, Microsoft.FSharp.Collections.FSharpList1[T] x) [0x00019] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Collections.ListModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc2[T,TResult] action, Microsoft.FSharp.Collections.FSharpList1[T] list) [0x00001] in <5893d081904cf4daa745038381d09358>:0 at FSI_0005.Build+clo@767-2.Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x0014d] in :0 at Fake.TargetHelper+targetFromTemplate@209-1[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) [0x00001] in <5978411fccf1c534a74503831f417859>:0 at Fake.TargetHelper.runSingleTarget (Fake.TargetHelper+TargetTemplate`1[a] target) [0x0004b] in <5978411fccf1c534a74503831f417859>:0 ...

Any help would be much appreciated!

alexsorokoletov commented 5 years ago

@Polyariz @Maxgamerboy1 looking into the issue as well. Will try to give you an update this week. Thank you for your understanding

jamesbhto commented 5 years ago

Any news about this? I have the same problem with MLVision as @Maxgamerboy1

devesurendra commented 5 years ago

@alexsorokoletov , Any update on this? I also have this problem with other pods.

alexsorokoletov commented 5 years ago

I'm working on an update, probably this or next week it will be ready. Did not get to the complex pods yet, like MLVision or any other with dependency tree.

rtarta commented 5 years ago

it gives error which cocapods try to sharpie waiting your news thanks.

Maxgamerboy1 commented 5 years ago

@alexsorokoletov Hello! has there been any progress made on this?

minaairsupport commented 5 years ago

I have the same issue here, anyone fixes it

alexsorokoletov commented 5 years ago

Hi everyone! Not good news, I've spent quite some time to make the tool working again, however it's still half-working. Reasons are multiple dependencies were updated (pods, xcode, etc) and it was hard to make it work on simpler pods.

I'm not seeing any opening in my schedule to finish it any time soon and do not want you to keep waiting. Probably now it is easier to make a binding manually or try something like Xamapod.

I really appreciate your interest.

P.S.: https://xkcd.com/1205/ https://xkcd.com/1205/