objc-automatic
objc-automatic copied to clipboard
System.Exception: Error during sharpie bind -output bindings
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:
- Creating model and downloading packages. Performance:
- Disk IO: 255 milliseconds
- Runtime: 11 seconds 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 false
List of pods: ["XCDYouTubeKit"]
Sorted dependency graph: ["XCDYouTubeKit"]
Deleting /Users/Pavel/Desktop/objc-automatic/pods/XCDYouTubeKit/XCode
Creating /Users/Pavel/Desktop/objc-automatic/pods/XCDYouTubeKit/XCode
/Users/Pavel/Desktop/objc-automatic/pods/XCDYouTubeKit/XCode already exists.
pod install
Generating C# bindings for non-Framework pod XCDYouTubeKit
/Users/Pavel/Desktop/objc-automatic/pods/XCDYouTubeKit/XCode/build-out does not exist.
Creating /Users/Pavel/Desktop/objc-automatic/pods/XCDYouTubeKit/XCode/build-out
Deleting /Users/Pavel/Desktop/objc-automatic/bindings/XCDYouTubeKit
Creating /Users/Pavel/Desktop/objc-automatic/bindings/XCDYouTubeKit
xcodebuild clean build -workspace EmptyProject.xcworkspace -scheme EmptyProject -sdk "iphoneos" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO BUILD_DIR=/Users/Pavel/Desktop/objc-automatic/pods/XCDYouTubeKit/XCode/build-out
xcodebuild clean build -workspace EmptyProject.xcworkspace -scheme EmptyProject -arch i386 -arch x86_64 -sdk "iphonesimulator" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO BUILD_DIR=/Users/Pavel/Desktop/objc-automatic/pods/XCDYouTubeKit/XCode/build-out
lipo -create -output pods/XCDYouTubeKit/XCode/build-out/libXCDYouTubeKit.a /Users/Pavel/Desktop/objc-automatic/pods/XCDYouTubeKit/XCode/build-out/libXCDYouTubeKit.device.a /Users/Pavel/Desktop/objc-automatic/pods/XCDYouTubeKit/XCode/build-out/libXCDYouTubeKit.sim.a
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
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+StringPrintfEnv
1[TResult].Finalize () [0x00012] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Core.PrintfImpl+Final1@224[TState,TResidue,TResult,A].Invoke (Microsoft.FSharp.Core.FSharpFunc
2[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:0 at FSI_0005.Build.generateBindingForPod (FSI_0005.Build+Pod pod) [0x00143] in :0 at [email protected] (FSI_0005.Build+Pod pod) [0x00001] in :0 at Microsoft.FSharp.Primitives.Basics.List.iter[T] (Microsoft.FSharp.Core.FSharpFunc 2[T,TResult] f, Microsoft.FSharp.Collections.FSharpList
1[T] x) [0x00019] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Collections.ListModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc2[T,TResult] action, Microsoft.FSharp.Collections.FSharpList
1[T] list) [0x00001] in <5893d081904cf4daa745038381d09358>:0 at [email protected] (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
Build Time Report
Target Duration
Bind Failure
Status: Failure
@Polyariz Thank you for the report. Would you be kind as to
- run the same thing again with additional parameter VERBOSE=true and post the output to a gist
- repeat command
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
and see what's the output there and attach it as well?
Thank you.
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.FSharpFunc
2[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 [email protected] (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.FSharpList
1[T] x) [0x00019] in <5893d081904cf4daa745038381d09358>:0
at Microsoft.FSharp.Collections.ListModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc2[T,TResult] action, Microsoft.FSharp.Collections.FSharpList
1[T] list) [0x00001] in <5893d081904cf4daa745038381d09358>:0
at [email protected] (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
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
Hey ! Any updates on it?
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 [email protected] (System.String message) [0x00001] in 1[TResult].Finalize () [0x00012] in <5893d081904cf4daa745038381d09358>:0 at Microsoft.FSharp.Core.PrintfImpl+Final1@224[TState,TResidue,TResult,A].Invoke (Microsoft.FSharp.Core.FSharpFunc
2[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 2[T,TResult] f, Microsoft.FSharp.Collections.FSharpList
1[T] x) [0x00019] in <5893d081904cf4daa745038381d09358>:0
at Microsoft.FSharp.Collections.ListModule.Iterate[T] (Microsoft.FSharp.Core.FSharpFunc2[T,TResult] action, Microsoft.FSharp.Collections.FSharpList
1[T] list) [0x00001] in <5893d081904cf4daa745038381d09358>:0
at [email protected] (Microsoft.FSharp.Core.Unit unitVar0) [0x0014d] in
Any help would be much appreciated!
- Tom
@Polyariz @Maxgamerboy1 looking into the issue as well. Will try to give you an update this week. Thank you for your understanding
Any news about this? I have the same problem with MLVision as @Maxgamerboy1
@alexsorokoletov , Any update on this? I also have this problem with other pods.
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.
it gives error which cocapods try to sharpie waiting your news thanks.
@alexsorokoletov Hello! has there been any progress made on this?
I have the same issue here, anyone fixes it
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/