Skip to content

Instantly share code, notes, and snippets.

Created June 14, 2017 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/58831dd4aec08fc08fcb7520f3d9d383 to your computer and use it in GitHub Desktop.
Save anonymous/58831dd4aec08fc08fcb7520f3d9d383 to your computer and use it in GitHub Desktop.
Hoes-MacBook-Pro-Retina:hello_from_csharp2 ivanherrera$ /Library/Frameworks/Xamarin.Embeddinator-4000.framework/Commands/objcgen ./bin/Debug/hello_from_csharp2.dll --target=framework --platform=iOS --outdir=output -c --debug
Creating output directory `/Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output`
Parsing assemblies...
Parsed './bin/Debug/hello_from_csharp2.dll'
Processing assemblies...
0 types found
Generating binding code...
Generated: output/bindings.h
Generated: output/bindings-private.h
Generated: output/bindings.m
Generated: output/bindings.xml
Generated: output/embeddinator.h
Generated: output/glib.h
Generated: output/mono_embeddinator.h
Generated: output/mono-support.h
Generated: output/objc-support.h
Generated: output/glib.c
Generated: output/mono_embeddinator.c
Generated: output/objc-support.m
Generated: output/Make.config
Compiling binding code...
Found Mono 5.0.1.1 (between 5.0.0.18 and 5.0.99)
Found Xamarin.iOS 10.13.0.21 (between 10.11.0.136 and 10.11.0.136)
xcode-select -p
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/glib.c -o output/armv7/glib.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/mono_embeddinator.c -o output/armv7/mono_embeddinator.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/objc-support.m -o output/armv7/objc-support.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/bindings.m -o output/armv7/bindings.o
xcrun ar cru output/armv7/hello_from_csharp2.a output/armv7/glib.o output/armv7/mono_embeddinator.o output/armv7/objc-support.o output/armv7/bindings.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/glib.c -o output/armv7s/glib.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/mono_embeddinator.c -o output/armv7s/mono_embeddinator.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/objc-support.m -o output/armv7s/objc-support.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/bindings.m -o output/armv7s/bindings.o
xcrun ar cru output/armv7s/hello_from_csharp2.a output/armv7s/glib.o output/armv7s/mono_embeddinator.o output/armv7s/objc-support.o output/armv7s/bindings.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/glib.c -o output/arm64/glib.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/mono_embeddinator.c -o output/arm64/mono_embeddinator.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/objc-support.m -o output/arm64/objc-support.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/bindings.m -o output/arm64/bindings.o
xcrun ar cru output/arm64/hello_from_csharp2.a output/arm64/glib.o output/arm64/mono_embeddinator.o output/arm64/objc-support.o output/arm64/bindings.o
xcrun lipo output/armv7/hello_from_csharp2.a output/armv7s/hello_from_csharp2.a output/arm64/hello_from_csharp2.a -create -output output/iPhoneOS/hello_from_csharp2.a
xcrun --show-sdk-version --sdk iphoneos
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch --dev /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/hello_from_csharp2 --abi=armv7,armv7s,arm64 --sdkroot /Applications/Xcode.app --targetver 8.0 --dsym:false --msym:false --embeddinator /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/bin/Debug/hello_from_csharp2.dll -r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll --sdk 10.3 --linksdkonly --xml=output/bindings.xml --registrar:static --cache /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache --debug --assembly-build-target=@all=framework=hello_from_csharp2.framework --target-framework Xamarin.iOS,v1.0 "--gcc_flags=-force_load /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/hello_from_csharp2.a"
Xamarin.iOS 10.13.0 using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -framework UIKit -framework Foundation -framework QuartzCore -framework CoreGraphics -weak_framework CFNetwork -Xlinker -rpath -Xlinker @executable_path /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7/hello_from_csharp2.dll.o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7/mscorlib.dll.o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7/Xamarin.iOS.dll.o /Library/Frameworks/Xamarin.iOS.framework/Versions/10.13.0.21/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libmonosgen-2.0.a /Library/Frameworks/Xamarin.iOS.framework/Versions/10.13.0.21/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libxamarin-debug.a /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7/registrar.o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7s/registrar.o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7/main.o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7s/main.o -force_load /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/hello_from_csharp2.a -lz -liconv -gdwarf-2 -std=c99 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/10.13.0.21/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -Qunused-arguments -miphoneos-version-min=8.0 -arch armv7 -shared -read_only_relocs suppress -install_name @rpath/hello_from_csharp2.framework/hello_from_csharp2 -fapplication-extension -o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7/hello_from_csharp2 -DDEBUG
ld: warning: ignoring file /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7s/registrar.o, file was built for armv7s which is not the architecture being linked (armv7): /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7s/registrar.o
ld: warning: ignoring file /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7s/main.o, file was built for armv7s which is not the architecture being linked (armv7): /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/armv7s/main.o
Undefined symbols for architecture armv7:
"_mono_gc_range_copy", referenced from:
System_Reflection_MonoEventInfo_GetEventInfo_System_Reflection_MonoEvent in mscorlib.dll.o
System_Globalization_TimeSpanFormat__cctor in mscorlib.dll.o
System_Globalization_TimeSpanFormat_FormatLiterals_InitInvariant_bool in mscorlib.dll.o
System_Collections_Generic_Dictionary_2_TKey_REF_TValue_REF_System_Collections_Generic_IEnumerable_System_Collections_Generic_KeyValuePair_TKey_TValue_GetEnumerator in mscorlib.dll.o
System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_bool_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter_System_Threading_Tasks_Task_System_Threading_SemaphoreSlim__WaitUntilCountOrTimeoutAsyncd__31_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter_System_Threading_Tasks_Task__System_Threading_SemaphoreSlim__WaitUntilCountOrTimeoutAsyncd__31_ in mscorlib.dll.o
System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_bool_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter_bool_System_Threading_SemaphoreSlim__WaitUntilCountOrTimeoutAsyncd__31_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter_bool__System_Threading_SemaphoreSlim__WaitUntilCountOrTimeoutAsyncd__31_ in mscorlib.dll.o
System_Collections_Generic_Dictionary_2_TKey_INT_TValue_REF_System_Collections_Generic_IEnumerable_System_Collections_Generic_KeyValuePair_TKey_TValue_GetEnumerator in mscorlib.dll.o
...
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -framework UIKit -framework Foundation -framework QuartzCore -framework CoreGraphics -weak_framework CFNetwork -Xlinker -rpath -Xlinker @executable_path /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/arm64/hello_from_csharp2.dll.o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/arm64/mscorlib.dll.o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/arm64/Xamarin.iOS.dll.o /Library/Frameworks/Xamarin.iOS.framework/Versions/10.13.0.21/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libmonosgen-2.0.a /Library/Frameworks/Xamarin.iOS.framework/Versions/10.13.0.21/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libxamarin-debug.a /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/arm64/registrar.o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/arm64/main.o -force_load /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/hello_from_csharp2.a -lz -liconv -gdwarf-2 -std=c99 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/10.13.0.21/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -Qunused-arguments -miphoneos-version-min=8.0 -arch arm64 -shared -read_only_relocs suppress -install_name @rpath/hello_from_csharp2.framework/hello_from_csharp2 -fapplication-extension -o /Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/arm64/hello_from_csharp2 -DDEBUG
Undefined symbols for architecture arm64:
"_mono_gc_range_copy", referenced from:
System_Reflection_MonoEventInfo_GetEventInfo_System_Reflection_MonoEvent in mscorlib.dll.o
System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_bool_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter_System_Threading_Tasks_Task_System_Threading_SemaphoreSlim__WaitUntilCountOrTimeoutAsyncd__31_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter_System_Threading_Tasks_Task__System_Threading_SemaphoreSlim__WaitUntilCountOrTimeoutAsyncd__31_ in mscorlib.dll.o
System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_bool_AwaitUnsafeOnCompleted_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter_bool_System_Threading_SemaphoreSlim__WaitUntilCountOrTimeoutAsyncd__31_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter_bool__System_Threading_SemaphoreSlim__WaitUntilCountOrTimeoutAsyncd__31_ in mscorlib.dll.o
wrapper_managed_to_native_object___icall_wrapper_mono_gc_range_copy_intptr_intptr_intptr in mscorlib.dll.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error MT5216: Native linking failed for '/Users/ivanherrera/Projects/hello_from_csharp2/hello_from_csharp2/output/iPhoneOS/build-cache/arm64/hello_from_csharp2'. Please file a bug report at http://bugzilla.xamarin.com
Done
Hoes-MacBook-Pro-Retina:hello_from_csharp2 ivanherrera$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment