Skip to content

Instantly share code, notes, and snippets.

@rodrigoelp
Created July 4, 2019 03:50
Show Gist options
  • Save rodrigoelp/67de7fbff24cfbee6fc845db5d2b7b64 to your computer and use it in GitHub Desktop.
Save rodrigoelp/67de7fbff24cfbee6fc845db5d2b7b64 to your computer and use it in GitHub Desktop.
The output generated when objcgen is invoked.
Symbol file /Users/rod/Projects/TestLib/packages/Embeddinator-4000.0.4.0/tools/IKVM.Reflection.pdb doesn't match image /Users/rod/Projects/TestLib/packages/Embeddinator-4000.0.4.0/tools/IKVM.Reflection.dll
Creating output directory `/Users/rod/Projects/TestLib/output`
Parsing assemblies...
Parsed './TestLib/bin/Debug/TestLib.dll'
Processing assemblies...
Processing: 1 assemblies
Processing Assembly: TestLib
0 types found
Generating binding code...
Begin Generator
Generating Assembly: TestLib
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.18.1.28 (between 5.4.1.7 and 5.4.1.7)
Found Xamarin.iOS 12.10.0.157 (between 11.6.1.3 and 11.6.1.3)
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/TestLib.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/TestLib.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/TestLib.a output/arm64/glib.o output/arm64/mono_embeddinator.o output/arm64/objc-support.o output/arm64/bindings.o
xcrun lipo output/armv7/TestLib.a output/armv7s/TestLib.a output/arm64/TestLib.a -create -output output/iPhoneOS/TestLib.a
xcrun --show-sdk-version --sdk iphoneos
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch --dev /Users/rod/Projects/TestLib/output/iPhoneOS/TestLib --abi=armv7,armv7s,arm64 --sdkroot /Applications/Xcode.app --targetver 8.0 --dsym:false --msym:false --embeddinator /Users/rod/Projects/TestLib/TestLib/bin/Debug/TestLib.dll -r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll --sdk 12.2 --linksdkonly --xml=output/bindings.xml --registrar:static --cache /Users/rod/Projects/TestLib/output/iPhoneOS/build-cache --debug --assembly-build-target=@all=framework=TestLib.framework --target-framework Xamarin.iOS,v1.0 "--gcc_flags=-force_load /Users/rod/Projects/TestLib/output/iPhoneOS/TestLib.a"
Xamarin.iOS 12.10.0.157 (d16-1): 6bd94753) using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk
error MT0000: Unexpected error - Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new
System.ArgumentNullException: Value cannot be null.
Parameter name: collection
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x00003] in <a2bfeec6715c4fdfa8972c2780c54eba>:0
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <a2bfeec6715c4fdfa8972c2780c54eba>:0
at Xamarin.Bundler.Application.BuildApp () [0x00040] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/Application.cs:1526
at Xamarin.Bundler.Application.BuildNative () [0x0001f] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/Application.cs:900
at Xamarin.Bundler.Application+<>c.<BuildAll>b__146_2 (Xamarin.Bundler.Application v) [0x00000] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/Application.cs:837
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x0001e] in <a2bfeec6715c4fdfa8972c2780c54eba>:0
at Xamarin.Bundler.Application.BuildAll () [0x00076] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/Application.cs:837
at Xamarin.Bundler.Driver.Main2 (System.String[] args) [0x00442] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/mtouch.cs:1344
at Xamarin.Bundler.Driver.Main (System.String[] args) [0x00015] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mtouch/mtouch.cs:864
Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment