xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.44k stars 511 forks source link

Error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com (MT4109) #3649

Closed crejer closed 6 years ago

crejer commented 6 years ago

While building an older project (last edit 2016) we encountered an issue while building. I read it mostly had something to do with not having XCode 9 or iOS SDK 11, but I checked and I'm working with XCode 9.2 en iOS 11.2.

Steps to Reproduce

  1. Rebuilt Project

Expected Behavior

Project is build

Actual Behavior

Error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com (MT4109) (Plopsa_IOS)

Environment

Visual Studio Community 2017 for Mac
Version 7.3.3 (build 23)
Installation UUID: ae7632e0-fceb-4e27-b910-0536aa7ef022
Runtime:
    Mono 5.4.1.7 (2017-06/e66d9abbb27) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 504010007

NuGet
Version: 4.3.1.4445

.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
    2.0.5
    2.0.0
SDK: /usr/local/share/dotnet/sdk/2.1.4/Sdks
SDK Versions:
    2.1.4
    2.0.0
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.4.1/lib/mono/msbuild/15.0/bin/Sdks

Xamarin.Profiler
Version: 1.6.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Xamarin.Android
Version: 8.1.5.0 (Visual Studio Community)
Android SDK: /Users/jeroencrevits/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
        2.3   (API level 10)
        4.0.3 (API level 15)
        4.4   (API level 19)
        5.0   (API level 21)
        5.1   (API level 22)
        6.0   (API level 23)
        7.0   (API level 24)
        7.1   (API level 25)
        8.0   (API level 26)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 27.0.1
SDK Build Tools Version: 27.0.2

Java SDK: /usr
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Xamarin Inspector
Version: 1.4.0
Hash: b3f92f9
Branch: master
Build date: Fri, 19 Jan 2018 22:00:34 GMT
Client compatibility: 1

Apple Developer Tools
Xcode 9.2 (13772)
Build 9C40b

Xamarin.iOS
Version: 11.6.1.4 (Visual Studio Community)
Hash: db807ec9
Branch: xcode9.2
Build date: 2018-01-10 16:45:48-0500

Xamarin.Mac
Version: 4.0.0.216 (Visual Studio Community)

Build Information
Release ID: 703030023
Git revision: e02ab111d8181ffe766c2258141282c88188ebb6
Build date: 2018-02-20 08:06:38-05
Xamarin addins: 5ce2b6790676a4542aa0d69d07f6a716e17d4e65
Build lane: monodevelop-lion-d15-5

Operating System
Mac OS X 10.13.3
Darwin 17.4.0 Darwin Kernel Version 17.4.0
    Sun Dec 17 09:19:54 PST 2017
    root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

Enabled user installed addins
WakaTime 3.0.0
Internet of Things (IoT) development (Preview) 7.1

Build Logs

Target(s) /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Pushwoosh.dll.o must be rebuilt.
    Target(s) /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/PLCrashReporterUnifiedBinding.dll.o must be rebuilt.
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -Wno-receiver-forward-class -Wno-unguarded-availability-new -gdwarf-2 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/11.6.1.4/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/registrar.o -x objective-c++ -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Plopsa_IOS.exe.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Plopsa_IOS.exe.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Xamarin.iOS.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Xamarin.iOS.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/System.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/System.dll.s
    Process exited with code 1, command:
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -Wno-receiver-forward-class -Wno-unguarded-availability-new -gdwarf-2 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/11.6.1.4/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/registrar.o -x objective-c++ -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m
    /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m(7417,98): error G65037BDE: expected ':'
                            rv = ((id (*)(objc_super*, SEL, CGRect)) objc_msgSendSuper) (&super, @selector (:initWithFrame), p0);
                                                                                                                          ^ 
                                                                                                                          : 
    /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m(8433,98): error G65037BDE: expected ':'
                            rv = ((id (*)(objc_super*, SEL, CGRect)) objc_msgSendSuper) (&super, @selector (:initWithFrame), p0);
                                                                                                                          ^ 
                                                                                                                          : 
    /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m(8995,98): error G65037BDE: expected ':'
                            rv = ((id (*)(objc_super*, SEL, CGRect)) objc_msgSendSuper) (&super, @selector (:initWithFrame), p0);
                                                                                                                          ^ 
                                                                                                                          : 
    3 errors generated.

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Mono.Security.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Mono.Security.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/BazookasPCL.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/BazookasPCL.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/System.Core.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/System.Core.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/mscorlib.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/mscorlib.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/System.Runtime.Serialization.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/System.Runtime.Serialization.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Connectivity.Plugin.Abstractions.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Connectivity.Plugin.Abstractions.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Connectivity.Plugin.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Connectivity.Plugin.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Newtonsoft.Json.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Newtonsoft.Json.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Xamarin.Insights.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Xamarin.Insights.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Pushwoosh.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/Pushwoosh.dll.s
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch arm64 -c -o /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/PLCrashReporterUnifiedBinding.dll.o -x assembler -DDEBUG /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/arm64/PLCrashReporterUnifiedBinding.dll.s
    MTOUCH : error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com
      at Xamarin.Bundler.CompileRegistrarTask.CompilationFailed (System.Int32 exitCode) [0x00001] in /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/tools/mtouch/BuildTasks.mtouch.cs:172 
      at Xamarin.Bundler.CompileTask+<ExecuteAsync>d__28.MoveNext () [0x00092] in /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/tools/mtouch/BuildTasks.mtouch.cs:504 
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:152 
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187 
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128 
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113 
      at Xamarin.Bundler.BuildTask+<Execute>d__22.MoveNext () [0x00368] in /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/tools/common/BuildTasks.cs:258 
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:152 
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187 
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128 
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113 
      at Xamarin.Bundler.BuildTask+<Execute>d__22.MoveNext () [0x00368] in /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/tools/common/BuildTasks.cs:258 
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:152 
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00037] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187 
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128 
      at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113 
      at Xamarin.Bundler.BuildTasks+<>c__DisplayClass4_0+<<ExecuteBuildTasks>b__0>d.MoveNext () [0x0002e] in /Users/builder/data/lanes/5665/db807ec9/source/xamarin-macios/tools/common/BuildTasks.cs:49 
    The command exited with code 1.
    Output Property: _CompiledArchitectures=ARM64
  Done executing task "MTouch" -- FAILED.
Done building target "_CompileToNative" in project "Plopsa_IOS.csproj" -- FAILED.

Done building project "Plopsa_IOS.csproj" -- FAILED.

Project Evaluation Performance Summary:
       80 ms  /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Pushwoosh_iOS/PushWoosh.csproj   2 calls

Project Performance Summary:
       25 ms  /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Pushwoosh_iOS/PushWoosh.csproj   4 calls
    65701 ms  /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/Plopsa_IOS.csproj   1 calls

Target Performance Summary:
        * ms  GetCopyToOutputDirectoryItems              1 calls
        0 ms  ResGen                                     1 calls
        0 ms  PrepareResourceNames                       1 calls
        0 ms  BeforeResGen                               1 calls
        0 ms  BeforeResolveReferences                    1 calls
        0 ms  PrepareResources                           1 calls
        0 ms  AfterResGen                                1 calls
        0 ms  _OptimizePngImages                         1 calls
        0 ms  _CompileSceneKitAssets                     1 calls
        0 ms  _OptimizeLocalizationFiles                 1 calls
        0 ms  _CompileColladaAssets                      1 calls
        0 ms  BeforeCompile                              1 calls
        0 ms  _CompileTextureAtlases                     1 calls
        0 ms  SetWin32ManifestProperties                 1 calls
        0 ms  BeforeBuild                                1 calls
        0 ms  _OptimizePropertyLists                     1 calls
        0 ms  ResolveReferences                          1 calls
        0 ms  AfterBuild                                 1 calls
        0 ms  CreateCustomManifestResourceNames          1 calls
        0 ms  PrepareProjectReferences                   1 calls
        0 ms  PrepareForRun                              1 calls
        0 ms  GenerateManifests                          1 calls
        0 ms  ResolveNativeReferences                    1 calls
        0 ms  AfterResolveReferences                     1 calls
        0 ms  _CopySourceItemsToOutputDirectory          1 calls
        0 ms  GetFrameworkPaths                          1 calls
        0 ms  CreateSatelliteAssemblies                  1 calls
        0 ms  GetTargetFrameworkProperties               1 calls
        0 ms  Compile                                    1 calls
        0 ms  _CompileImageAssets                        1 calls
        0 ms  AfterCompile                               1 calls
        0 ms  _CompileInterfaceDefinitions               1 calls
        0 ms  CoreBuild                                  1 calls
        0 ms  _RoslynPublicSignHack                      1 calls
        0 ms  GetTargetPath                              2 calls
        0 ms  BuildOnlySettings                          1 calls
        0 ms  ExpandSDKReferences                        1 calls
        0 ms  _CoreCompileTextureAtlases                 1 calls
        0 ms  ResolveSDKReferences                       1 calls
        0 ms  _CoreOptimizeLocalizationFiles             1 calls
        0 ms  _CoreOptimizePropertyLists                 1 calls
        0 ms  _SetTargetFrameworkMonikerAttribute        1 calls
        0 ms  _CoreCompileColladaAssets                  1 calls
        0 ms  _SplitWatchAppReferencesByExistent         1 calls
        0 ms  _SeparateWatchAppReferences                1 calls
        0 ms  _CoreCompileSceneKitAssets                 1 calls
        0 ms  _SeparateAppExtensionReferences            1 calls
        0 ms  _PrepareResourceRules                      1 calls
        0 ms  _SplitAppExtensionReferencesByExistent     1 calls
        0 ms  _ReadCoreCompileTextureAtlases             1 calls
        0 ms  _ReadCoreCompileInterfaceDefinitions       1 calls
        0 ms  _ReadCoreCompileSceneKitAssets             1 calls
        0 ms  GetInstalledSDKLocations                   1 calls
        0 ms  _GetCompileToNativeInputs                  1 calls
        0 ms  GetNativeManifest                          1 calls
        0 ms  _BeforeCompileTextureAtlases               3 calls
        0 ms  _GenerateCompileInputs                     1 calls
        0 ms  _BeforeCoreCompileSceneKitAssets           3 calls
        0 ms  _CheckForCompileOutputs                    1 calls
        0 ms  _GenerateBundleName                        1 calls
        0 ms  _CleanUploaded                             1 calls
        0 ms  _ResolveAppExtensionReferences             1 calls
        0 ms  _SetEmbeddedWin32ManifestProperties        1 calls
        0 ms  _ResolveWatchAppReferences                 1 calls
        0 ms  CoreResGen                                 1 calls
        1 ms  _ParseExtraMtouchArgs                      1 calls
        1 ms  _GenerateSatelliteAssemblyInputs           1 calls
        1 ms  SplitResourcesByCulture                    1 calls
        1 ms  _CollectColladaAssets                      1 calls
        1 ms  _DetectDebugNetworkConfiguration           1 calls
        1 ms  _BeforeCoreCompileInterfaceDefinitions     1 calls
        1 ms  GenerateTargetFrameworkMonikerAttribute    1 calls
        1 ms  _CreateAssetPackManifest                   1 calls
        1 ms  _ReadCompileImageAssets                    1 calls
        1 ms  _SplitProjectReferencesByFileExistence     2 calls
        1 ms  AssignProjectConfiguration                 1 calls
        1 ms  PrepareForBuild                            1 calls
        1 ms  _DetectAppManifest                         1 calls
        1 ms  GetTargetPathWithTargetPlatformMoniker     2 calls
        2 ms  _CollectLocalizationFiles                  1 calls
        2 ms  _CheckForInvalidConfigurationAndPlatform   1 calls
        2 ms  _CollectPropertyLists                      1 calls
        2 ms  _BeforeCoreCompileImageAssets              1 calls
        3 ms  _ComputeTargetArchitectures                1 calls
        3 ms  CopyFilesToOutputDirectory                 1 calls
        4 ms  _DetectSdkLocations                        1 calls
        4 ms  _CompileEntitlements                       1 calls
        4 ms  AssignLinkMetadata                         1 calls
        5 ms  _GetNativeExecutableName                   1 calls
        5 ms  GetReferenceAssemblyPaths                  1 calls
        7 ms  AssignTargetPaths                          2 calls
        8 ms  _CompileAppManifest                        1 calls
       18 ms  _GenerateCompileDependencyCache            1 calls
       22 ms  _CollectPngImages                          1 calls
       26 ms  _DetectSigningIdentity                     1 calls
       27 ms  _ComputeBundleResourceOutputPaths          1 calls
       28 ms  ResolveAssemblyReferences                  1 calls
       28 ms  _UnpackLibraryResources                    1 calls
       33 ms  _CollectBundleResources                    1 calls
       33 ms  ImplicitlyExpandDesignTimeFacades          1 calls
       50 ms  _GetProjectReferenceTargetFrameworkProperties   2 calls
       50 ms  _CopyFilesMarkedCopyLocal                  1 calls
       57 ms  FindReferenceAssembliesForReferences       1 calls
       58 ms  IncrementalClean                           1 calls
       59 ms  ResolveProjectReferences                   1 calls
       93 ms  _CleanGetCurrentAndPriorFileWrites         1 calls
       95 ms  _AfterCoreOptimizePngImages                1 calls
      226 ms  _CopyResourcesToBundle                     1 calls
     1990 ms  CoreCompile                                1 calls
     4275 ms  _CoreCompileImageAssets                    1 calls
     6611 ms  _CoreCompileInterfaceDefinitions           1 calls
    21979 ms  _CompileToNative                           1 calls
    29818 ms  _CoreOptimizePngImages                     1 calls
        (* = timing was not recorded because of reentrancy)

Task Performance Summary:
        * ms  MSBuild                                    4 calls
        0 ms  GetFrameworkPath                           1 calls
        0 ms  AssignCulture                              1 calls
        0 ms  ReadLinesFromFile                          1 calls
        0 ms  GetReferenceAssemblyPaths                  1 calls
        0 ms  ParseExtraMtouchArgs                       1 calls
        0 ms  DetectDebugNetworkConfiguration            1 calls
        0 ms  ResolveNonMSBuildProjectOutput             1 calls
        0 ms  FindAppConfigFile                          1 calls
        1 ms  AssignLinkMetadata                         1 calls
        1 ms  CreateAssetPackManifest                    1 calls
        1 ms  MakeDir                                    1 calls
        1 ms  Touch                                      1 calls
        1 ms  AssignProjectConfiguration                 1 calls
        1 ms  RemoveDir                                  2 calls
        1 ms  FindItemWithLogicalName                    1 calls
        1 ms  ParseDeviceSpecificBuildInformation        1 calls
        2 ms  Delete                                     5 calls
        2 ms  ConvertToAbsolutePath                      1 calls
        2 ms  Message                                    4 calls
        3 ms  AssignTargetPath                          10 calls
        3 ms  DetectSdkLocations                         1 calls
        4 ms  CompileEntitlements                        1 calls
        5 ms  GetNativeExecutableName                    1 calls
        7 ms  Hash                                       1 calls
        7 ms  CompileAppManifest                         1 calls
       10 ms  WriteItemsToFile                           3 calls
       14 ms  WriteLinesToFile                           2 calls
       26 ms  DetectSigningIdentity                      1 calls
       27 ms  ComputeBundleResourceOutputPaths           1 calls
       27 ms  ResolveAssemblyReference                   1 calls
       28 ms  UnpackLibraryResources                     1 calls
       33 ms  CollectBundleResources                     2 calls
       50 ms  Copy                                       3 calls
       52 ms  RemoveDuplicates                           2 calls
       56 ms  FindUnderPath                              5 calls
       92 ms  CreateItem                               245 calls
      204 ms  SmartCopy                                  1 calls
     1989 ms  Csc                                        1 calls
     4271 ms  ACTool                                     1 calls
     6601 ms  IBTool                                     1 calls
    21978 ms  MTouch                                     1 calls
    29802 ms  OptimizeImage                              1 calls
        (* = timing was not recorded because of reentrancy)

Build FAILED.

Application.storyboard : ibtool warning : “Navigation Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].
Application.storyboard : ibtool warning : “Navigation Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].
Application.storyboard : ibtool warning : “Navigation Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].
Application.storyboard : ibtool warning : “Navigation Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].
Application.storyboard : ibtool warning : “Navigation Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].
Application.storyboard : ibtool warning : “Navigation Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].
Application.storyboard : ibtool warning : “Navigation Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].
Application.storyboard : ibtool warning : “Navigation Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].
Application.storyboard : ibtool warning : “Navigation Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/actool/cloned-assets/Resources/Images.xcassets : actool warning : A 1024x1024 app store icon is required for iOS apps
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/actool/cloned-assets/Resources/Images.xcassets : actool warning : The app icon set "AppIcons-1" has 10 unassigned children.
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/actool/cloned-assets/Resources/Images.xcassets : actool warning : The app icon set "AppIcons-1" has 10 unassigned children.
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/actool/cloned-assets/Resources/Images.xcassets : actool warning : LaunchImage-1.launchimage/Default@2x.png is 540x960 but should be 640x960.
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_Shared/Bazookas/Plopsa/BL/Converters/SmallImageVOConverter.cs(27,23,27,25): warning CS0168: The variable 'ex' is declared but never used
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_Shared/Bazookas/Plopsa/BL/JsonParsers/SettingsParser.cs(20,23,20,25): warning CS0168: The variable 'ex' is declared but never used
Bazookas/Plopsa/Controllers/Menu/MenuViewController.cs(132,16,132,129): warning CS0618: 'UIAlertView.UIAlertView(string, string, UIAlertViewDelegate, string, params string[])' is obsolete: 'Use overload with a IUIAlertViewDelegate parameter'
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_Shared/Bazookas/Plopsa/BL/Controllers/ParcController.cs(228,24,228,26): warning CS0168: The variable 'ex' is declared but never used
Bazookas/Plopsa/Controllers/DealsViewController.cs(19,8,19,25): warning CS0649: Field 'DealsViewController.showingBackButton' is never assigned to, and will always have its default value false
Bazookas/Plopsa/Components/TableViews/UIRefreshTableView.cs(30,27,30,44): warning CS0649: Field 'UIRefreshTableView.activityIndicView' is never assigned to, and will always have its default value null
Bazookas/Plopsa/Components/TableViews/UIRefreshTableView.cs(31,27,31,54): warning CS0649: Field 'UIRefreshTableView.oldRefreshactivityIndicView' is never assigned to, and will always have its default value null
Bazookas/Plopsa/Controllers/DealsViewController.cs(18,10,18,20): warning CS0169: The field 'DealsViewController.currentUrl' is never used
Bazookas/Plopsa/Components/Views/ParcMapElement.cs(315,52,315,92): warning CS0067: The event 'ParcMapElement.ShowDetailOfParcElementEventFromMapEvent' is never used
Bazookas/Plopsa/Controllers/ParkElementViewController.cs(27,21,27,35): warning CS0169: The field 'ParkElementViewController.refreshControl' is never used
Bazookas/Plopsa/Controllers/ParcElementDetailViewController.cs(475,33,475,54): warning CS0067: The event 'ParcElementDetailViewController.ShowDiscoverParcEvent' is never used
Bazookas/Plopsa/Controllers/ParkElementViewController.cs(28,8,28,33): warning CS0649: Field 'ParkElementViewController.hasRefreshControlListener' is never assigned to, and will always have its default value false
Bazookas/Plopsa/Components/TableViewCells/FilterTableViewCell.cs(389,7,389,13): warning CS0414: The field 'InsertSizeFilterView.height' is assigned but its value is never used
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_Shared/Bazookas/Plopsa/BL/Controllers/PlopsaAppController.cs(20,8,20,16): warning CS0414: The field 'PlopsaAppController.firstRun' is assigned but its value is never used
Bazookas/Plopsa/Controllers/DealsViewController.cs(20,7,20,17): warning CS0414: The field 'DealsViewController.urlsLoaded' is assigned but its value is never used
Bazookas/Plopsa/Controllers/DayScemeViewController.cs(23,8,23,24): warning CS0414: The field 'DayScemeViewController.receivedDaySceme' is assigned but its value is never used
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_Shared/Bazookas/Plopsa/BL/Controllers/MenuController.cs(12,8,12,16): warning CS0414: The field 'MenuController.firstRun' is assigned but its value is never used
MTOUCH : warning : The runtime version supported by this application is unavailable.
MTOUCH : warning : The runtime version supported by this application is unavailable.
MTOUCH : warning : The runtime version supported by this application is unavailable.
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m(7417,98): error G65037BDE: expected ':'
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m(8433,98): error G65037BDE: expected ':'
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m(8995,98): error G65037BDE: expected ':'
MTOUCH : error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com
    33 Warning(s)
    4 Error(s)

Time Elapsed 00:01:05.70

---------------------- Done ----------------------

Build: 4 errors, 34 warnings
rolfbjarne commented 6 years ago

Can you attach these files:

/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.h

crejer commented 6 years ago

Hi @rolfbjarne , here you go:

registrar.zip

rolfbjarne commented 6 years ago

It seems you have three classes with an invalid [Export] attribute: Plopsa.IOS.SubFilterBaseView, Plopsa.IOS.POIIconView and Plopsa.IOS.SubFilterView.

It looks like they all have something like this:

[Export (":initWithFrame")]
public SubFilterBaseView (CGRect frame)
{
    // ...
}

note the string in the [Export] attribute: that's not a valid Objective-C selector. The correct string would be [Export ("initWithFrame:")] (the colon at the end, not the beginning). Could you check if this is the case? If not, could you show the code for these constructors?

crejer commented 6 years ago

You sir, just saved my day!

Thank you very much. Strange it worked 2 years ago.

this can be closed :)