Closed michaelstonis closed 4 years ago
Hello, we have an experimental version of sharpie, could you give this one a try and see if it fixes your issue?
This does resolve the issue. I tried it against a handful of bindings that I was running into issues with and everything outputs as expected!
Thanks!
Hello, we have an experimental version of sharpie, could you give this one a try and see if it fixes your issue?
I had the same problem as @michaelstonis. I've downloaded 3.5.17, but am getting the error below. Does this version need a different mono runtime or something?
Unhandled Exception: System.DllNotFoundException: libmono-native-compat.dylib assembly:
type: member:(null) at (wrapper managed-to-native) Interop+Sys.OpenDir(string) at System.IO.Enumeration.FileSystemEnumerator 1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.Unix.cs:81 at System.IO.Enumeration.FileSystemEnumerator
1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00048] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.Unix.cs:49 at System.IO.Enumeration.FileSystemEnumerable1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable
1[TResult] enumerable) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerable.cs:57 at System.IO.Enumeration.FileSystemEnumerable1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable
1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerable.cs:29 at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerableFactory.cs:90 at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Directory.cs:178 at System.IO.Directory.EnumerateFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Directory.cs:207 at System.IO.Directory.EnumerateFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Directory.cs:204 at Sharpie.FilePath+d23.MoveNext () [0x00026] in /Users/runner/runners/2.164.6/work/1/s/Sharpie.Core/FilePath.cs:119 at System.Linq.Enumerable+SelectEnumerableIterator 2[TSource,TResult].MoveNext () [0x00029] in <e22351e395f44d7b8c4860fca2dcee71>:0 at System.Linq.Enumerable+ConcatIterator
1[TSource].MoveNext () [0x0002b] in:0 at System.Linq.Enumerable+SelectManySingleSelectorIterator 23.MoveNext () [0x00026] in /Users/runner/runners/2.164.6/work/1/s/Sharpie.Core/FilePath.cs:119 at System.Linq.Enumerable+SelectEnumerableIterator2[TSource,TResult].MoveNext () [0x00038] in <e22351e395f44d7b8c4860fca2dcee71>:0 at System.Collections.Generic.List
1[T].AddEnumerable (System.Collections.Generic.IEnumerable1[T] enumerable) [0x00059] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/List.cs:1108 at System.Collections.Generic.List
1[T]..ctor (System.Collections.Generic.IEnumerable1[T] collection) [0x00062] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/List.cs:87 at Sharpie.Tooling.ToolRunnerTool..ctor (System.Collections.Generic.IEnumerable
1[T] toolAssemblies) [0x00031] in /Users/runner/runners/2.164.6/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:46 at Sharpie.Entry+SharpieToolRunnerTool..ctor (System.Collections.Generic.IEnumerable1[T] toolAssemblies) [0x00000] in /Users/runner/runners/2.164.6/work/1/s/Sharpie/Entry.cs:24 at Sharpie.Entry.Main (System.String[] args) [0x0013b] in /Users/runner/runners/2.164.6/work/1/s/Sharpie/Entry.cs:87 [ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libmono-native-compat.dylib assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) Interop+Sys.OpenDir(string) at System.IO.Enumeration.FileSystemEnumerator
1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.Unix.cs:81 at System.IO.Enumeration.FileSystemEnumerator1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00048] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerator.Unix.cs:49 at System.IO.Enumeration.FileSystemEnumerable
1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable1[TResult] enumerable) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerable.cs:57 at System.IO.Enumeration.FileSystemEnumerable
1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerable.cs:29 at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Enumeration/FileSystemEnumerableFactory.cs:90 at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Directory.cs:178 at System.IO.Directory.EnumerateFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Directory.cs:207 at System.IO.Directory.EnumerateFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/Directory.cs:204 at Sharpie.FilePath+d 2[TSource,TResult].MoveNext () [0x00029] in <e22351e395f44d7b8c4860fca2dcee71>:0 at System.Linq.Enumerable+ConcatIterator
1[TSource].MoveNext () [0x0002b] in:0 at System.Linq.Enumerable+SelectManySingleSelectorIterator 2[TSource,TResult].MoveNext () [0x00038] in <e22351e395f44d7b8c4860fca2dcee71>:0 at System.Collections.Generic.List
1[T].AddEnumerable (System.Collections.Generic.IEnumerable1[T] enumerable) [0x00059] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/List.cs:1108 at System.Collections.Generic.List
1[T]..ctor (System.Collections.Generic.IEnumerable1[T] collection) [0x00062] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-08/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/List.cs:87 at Sharpie.Tooling.ToolRunnerTool..ctor (System.Collections.Generic.IEnumerable
1[T] toolAssemblies) [0x00031] in /Users/runner/runners/2.164.6/work/1/s/Sharpie.Core/Tooling/ToolRunnerTool.cs:46 at Sharpie.Entry+SharpieToolRunnerTool..ctor (System.Collections.Generic.IEnumerable`1[T] toolAssemblies) [0x00000] in /Users/runner/runners/2.164.6/work/1/s/Sharpie/Entry.cs:24 at Sharpie.Entry.Main (System.String[] args) [0x0013b] in /Users/runner/runners/2.164.6/work/1/s/Sharpie/Entry.cs:87
Steps to Reproduce
3.4.47-7642024
sharpie pod init ios IQKeyboardManager
sharpie pod bind
Expected Behavior
Bindings will generate and all of the framework files, etc will be migrated over.
Actual Behavior
Bindings appear to generate, but it will fail when it appears to be trying to copy over the framework files to the
Binding
directory. The framework folder will be there, but there will be no files within it. Application output included in build logs.Environment
Build Logs