Bug 59311 - MTOUCH : error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com
Summary: MTOUCH : error MT4109: Failed to compile the generated registrar code. Please...
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 10.12 (d15-3)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Future Cycle (TBD)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-09-07 20:51 UTC by Randy
Modified: 2017-09-22 09:36 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Randy 2017-09-07 20:51:02 UTC
Having issues compiling our project so I created a test project with template code only and get the same error, below.




Building: test (Release|iPhone)
Build started 9/7/2017 2:53:32 PM.
__________________________________________________
Project "/Users/fcbuilder/Projects/test/test/test.csproj" (Build target(s)):

Target PrepareForBuild:
    MakeDir Task
      Directories:
        bin/iPhone/Release/
        obj/iPhone/Release/
    Creating directory "obj/iPhone/Release/".
Target _DetectAppManifest:
    FindItemWithLogicalName Task
      Items:
        Info.plist
        Entitlements.plist
      LogicalName: Info.plist
      ProjectDir: /Users/fcbuilder/Projects/test/test
      ResourcePrefix: Resources
Target _DetectSdkLocations:
    DetectSdkLocations Task
      TargetFrameworkIdentifier: Xamarin.iOS
      TargetArchitectures: ARMv7, ARM64
      SdkVersion: 11.0
      XamarinSdkRoot: /Library/Frameworks/Xamarin.iOS.framework/Versions/Current
      SdkRoot: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
      SdkDevPath: /Applications/Xcode-beta.app/Contents/Developer
      SdkUsrPath: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
      SdkPlatform: iPhoneOS
      SdkIsSimulator: False
Target _BeforeCoreCompileInterfaceDefinitions:
    Delete Task
      Files:
        obj/iPhone/Release/ibtool/_BundleResourceWithLogicalName.items
      TreatErrorsAsWarnings: False
Target _CoreCompileInterfaceDefinitions:
    IBTool Task
      AppManifest: Info.plist
      EnableOnDemandResources: True
      InterfaceDefinitions:
        LaunchScreen.storyboard
        Main.storyboard
      IntermediateOutputPath: obj/iPhone/Release/
      IsWatchApp: False
      IsWatch2App: False
      IsAppExtension: False
      ProjectDir: /Users/fcbuilder/Projects/test/test
      ResourcePrefix: Resources
      SdkBinPath: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
      SdkPlatform: iPhoneOS
      SdkRoot: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
      SdkVersion: 11.0
    Tool /Applications/Xcode-beta.app/Contents/Developer/usr/bin/ibtool execution started with arguments: --errors --warnings --notices --output-format xml1 --minimum-deployment-target 10.3 --target-device iphone --target-device ipad --auto-activate-custom-fonts --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk --compilation-directory /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool /Users/fcbuilder/Projects/test/test/LaunchScreen.storyboard
    Tool /Applications/Xcode-beta.app/Contents/Developer/usr/bin/ibtool execution started with arguments: --errors --warnings --notices --output-format xml1 --minimum-deployment-target 10.3 --target-device iphone --target-device ipad --auto-activate-custom-fonts --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk --compilation-directory /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool /Users/fcbuilder/Projects/test/test/Main.storyboard
    Tool /Applications/Xcode-beta.app/Contents/Developer/usr/bin/ibtool execution started with arguments: --errors --warnings --notices --output-format xml1 --minimum-deployment-target 10.3 --target-device iphone --target-device ipad --auto-activate-custom-fonts --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk --link /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool-link /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool/LaunchScreen.storyboardc /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool/Main.storyboardc
      BundleResources Output:
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/Info.plist
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
        obj/iPhone/Release/ibtool-link/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
        obj/iPhone/Release/ibtool-link/Main.storyboardc/Info.plist
        obj/iPhone/Release/ibtool-link/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
      OutputManifests Output:
        obj/iPhone/Release/ibtool-manifests/LaunchScreen.storyboardc
        obj/iPhone/Release/ibtool-manifests/Main.storyboardc
        obj/iPhone/Release/ibtool-manifests/link
Target _BeforeCoreCompileImageAssets:
    Delete Task
      Files:
        obj/iPhone/Release/actool/_PartialAppManifest.items
        obj/iPhone/Release/actool/_BundleResourceWithLogicalName.items
      TreatErrorsAsWarnings: False
    RemoveDir Task
      Directories:
        obj/iPhone/Release/actool
    Directory "obj/iPhone/Release/actool" doesn't exist. Skipping.
Target _CoreCompileImageAssets:
    ACTool Task
      AppManifest: Info.plist
      DeviceModel: <null>
      DeviceOSVersion: <null>
      EnableOnDemandResources: True
      ImageAssets:
        Assets.xcassets/AppIcon.appiconset/Contents.json
        Assets.xcassets/Contents.json
      IntermediateOutputPath: obj/iPhone/Release/
      IsWatchApp: False
      OptimizePNGs: True
      OutputPath: bin/iPhone/Release/
      ProjectDir: /Users/fcbuilder/Projects/test/test
      ResourcePrefix: Resources
      SdkBinPath: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
      SdkPlatform: iPhoneOS
      SdkVersion: 11.0
    Tool /Applications/Xcode-beta.app/Contents/Developer/usr/bin/actool execution started with arguments: --errors --warnings --notices --output-format xml1 --output-partial-info-plist /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/actool/partial-info.plist --app-icon AppIcon --compress-pngs --target-device iphone --target-device ipad --minimum-deployment-target 10.3 --platform iphoneos --compile /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/actool/bundle /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/actool/cloned-assets/Assets.xcassets
Target _CollectColladaAssets:
    CollectBundleResources Task
      BundleResources: <null>
      OptimizePropertyLists: False
      OptimizePNGs: False
      ProjectDir: /Users/fcbuilder/Projects/test/test
      ResourcePrefix: Resources
Target _CoreCompileColladaAssets:
  Skipping target "_CoreCompileColladaAssets" because it has no inputs.
Target _BeforeCoreCompileSceneKitAssets:
  Skipping target "_BeforeCoreCompileSceneKitAssets" because it has no inputs.
Target _BeforeCoreCompileSceneKitAssets:
  Skipping target "_BeforeCoreCompileSceneKitAssets" because it has no inputs.
Target _BeforeCoreCompileSceneKitAssets:
  Skipping target "_BeforeCoreCompileSceneKitAssets" because it has no inputs.
Target _CoreCompileSceneKitAssets:
  Skipping target "_CoreCompileSceneKitAssets" because it has no inputs.
Target _BeforeCompileTextureAtlases:
  Skipping target "_BeforeCompileTextureAtlases" because it has no inputs.
Target _BeforeCompileTextureAtlases:
  Skipping target "_BeforeCompileTextureAtlases" because it has no inputs.
Target _BeforeCompileTextureAtlases:
  Skipping target "_BeforeCompileTextureAtlases" because it has no inputs.
Target _CoreCompileTextureAtlases:
  Skipping target "_CoreCompileTextureAtlases" because it has no inputs.
Target _CollectBundleResources:
    CollectBundleResources Task
      BundleResources: <null>
      OptimizePropertyLists: True
      OptimizePNGs: True
      ProjectDir: /Users/fcbuilder/Projects/test/test
      ResourcePrefix: Resources
Target _CoreOptimizePngImages:
  Skipping target "_CoreOptimizePngImages" because it has no outputs.
Target _CoreOptimizePropertyLists:
  Skipping target "_CoreOptimizePropertyLists" because it has no inputs.
Target _CoreOptimizeLocalizationFiles:
  Skipping target "_CoreOptimizeLocalizationFiles" because it has no inputs.
Target _UnpackLibraryResources:
    UnpackLibraryResources Task
      Prefix: monotouch
      IntermediateOutputPath: obj/iPhone/Release/
      NoOverwrite:
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/Info.plist
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
        obj/iPhone/Release/ibtool-link/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
        obj/iPhone/Release/ibtool-link/Main.storyboardc/Info.plist
        obj/iPhone/Release/ibtool-link/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
      ReferencedLibraries:
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll
      TargetFrameworkDirectory:
        /Library/Frameworks/Mono.framework/External/xbuild-frameworks/Xamarin.iOS/v1.0/
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/
Target GenerateTargetFrameworkMonikerAttribute:
  Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
Target CoreCompile:
    /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/4.5/csc.exe /noconfig /nowarn:2008 /nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /define:__UNIFIED__;__MOBILE__;__IOS__ /errorendlocation /preferreduilang:en-US /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll /reference:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll /debug:pdbonly /optimize+ /out:obj/iPhone/Release/test.exe /target:exe /utf8output Main.cs AppDelegate.cs ViewController.cs ViewController.designer.cs "/var/folders/_l/n06dh8s97yzdvhx44t5kwwyr0000gn/T/Xamarin.iOS,Version=v1.0.AssemblyAttributes.cs"
Target CopyFilesToOutputDirectory:
    Copy Task
      DestinationFiles: <null>
      DestinationFolder: bin/iPhone/Release/
      OverwriteReadOnlyFiles: False
      Retries: 10
      RetryDelayMilliseconds: 1000
      SkipUnchangedFiles: True
      SourceFiles:
        obj/iPhone/Release/test.exe
      UseHardlinksIfPossible: False
    Copying file from "obj/iPhone/Release/test.exe" to "bin/iPhone/Release/test.exe".
    test -> /Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.exe
    Copy Task
      DestinationFiles:
        bin/iPhone/Release/test.pdb
      DestinationFolder: 
      OverwriteReadOnlyFiles: False
      Retries: 10
      RetryDelayMilliseconds: 1000
      SkipUnchangedFiles: True
      SourceFiles:
        obj/iPhone/Release/test.pdb
      UseHardlinksIfPossible: False
    Copying file from "obj/iPhone/Release/test.pdb" to "bin/iPhone/Release/test.pdb".
Target IncrementalClean:
    Delete Task
      Files:
      TreatErrorsAsWarnings: True
Target _CleanUploaded:
    Delete Task
      Files:
        bin/iPhone/Release/.uploaded
      TreatErrorsAsWarnings: False
Target _DetectSigningIdentity:
    DetectSigningIdentity Task
      AppBundleName: test
      AppManifest: Info.plist
      Keychain: <null>
      ProvisioningProfile: <null>
      RequireCodesigning: True
      RequireProvisioningProfile: True
      SdkPlatform: iPhoneOS
      SdkIsSimulator: False
      SigningKey: iPhone Developer
    Detected signing identity:
      Code Signing Key: "iPhone Developer: Randy Mahaffey (448FLG8R7N)" (2BBF42C53760CF3EEDAD7A4984B2179E57A7BF52)
      Provisioning Profile: "iOS Team Provisioning Profile: *" (d972365a-c57b-4680-8741-0097b0e9a8fc)
      Bundle Id: com.companyname.test
      App Id: 863H4HKQTS.com.companyname.test
Target _ComputeBundleResourceOutputPaths:
    ComputeBundleResourceOutputPaths Task
      AppBundleDir: bin/iPhone/Release/test.app
      BundleIdentifier: com.companyname.test
      BundleResources:
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/Info.plist
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
        obj/iPhone/Release/ibtool-link/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
        obj/iPhone/Release/ibtool-link/Main.storyboardc/Info.plist
        obj/iPhone/Release/ibtool-link/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
      EnableOnDemandResources: True
      IntermediateOutputPath: obj/iPhone/Release/
      OutputPath: bin/iPhone/Release/
Target _CopyResourcesToBundle:
    SmartCopy Task
      DestinationFiles:
        bin/iPhone/Release/test.app/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
        bin/iPhone/Release/test.app/LaunchScreen.storyboardc/Info.plist
        bin/iPhone/Release/test.app/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
        bin/iPhone/Release/test.app/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
        bin/iPhone/Release/test.app/Main.storyboardc/Info.plist
        bin/iPhone/Release/test.app/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
      DestinationFolder: 
      SourceFiles:
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/Info.plist
        obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
        obj/iPhone/Release/ibtool-link/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
        obj/iPhone/Release/ibtool-link/Main.storyboardc/Info.plist
        obj/iPhone/Release/ibtool-link/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
    Creating directory '/Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.app/LaunchScreen.storyboardc'
    Copying file from '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib' to '/Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.app/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib'
    Copying file from '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/Info.plist' to '/Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.app/LaunchScreen.storyboardc/Info.plist'
    Copying file from '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool-link/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib' to '/Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.app/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib'
    Creating directory '/Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.app/Main.storyboardc'
    Copying file from '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool-link/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib' to '/Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.app/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib'
    Copying file from '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool-link/Main.storyboardc/Info.plist' to '/Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.app/Main.storyboardc/Info.plist'
    Copying file from '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/ibtool-link/Main.storyboardc/UIViewController-BYZ-38-t0r.nib' to '/Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.app/Main.storyboardc/UIViewController-BYZ-38-t0r.nib'
Target _CreateAssetPackManifest:
    CreateAssetPackManifest Task
      AppBundleDir: bin/iPhone/Release/test.app
      InitialInstallTags: <null>
      OutputPath: bin/iPhone/Release/
      PrefetchOrder: <null>
Target _CompileEntitlements:
    CompileEntitlements Task
      AppBundleDir: bin/iPhone/Release/test.app
      AppIdentifier: 863H4HKQTS.com.companyname.test
      BundleIdentifier: com.companyname.test
      CompiledEntitlements: obj/iPhone/Release/Entitlements.xcent
      Entitlements: Entitlements.plist
      IsAppExtension: False
      ProvisioningProfile: d972365a-c57b-4680-8741-0097b0e9a8fc
      SdkVersion: 11.0
Target _DetectDebugNetworkConfiguration:
    DetectDebugNetworkConfiguration Task
      DebugOverWiFi: False
      DebuggerHosts: <null>
      SdkIsSimulator: False
      DebugIPAddresses: 
Target _CompileAppManifest:
    CompileAppManifest Task
      AppBundleName: test
      AppBundleDir: bin/iPhone/Release/test.app
      AppManifest: Info.plist
      Architecture: ARMv7, ARM64
      AssemblyName: test
      BundleIdentifier: com.companyname.test
      Debug: False
      DebugIPAddresses: <null>
      DefaultSdkVersion: 11.0
      IsAppExtension: False
      IsWatchApp: False
      IsWatchExtension: False
      PartialAppManifests:
        obj/iPhone/Release/actool/partial-info.plist
      ResourceRules: <null>
      SdkPlatform: iPhoneOS
      SdkIsSimulator: False
      TargetFrameworkIdentifier: Xamarin.iOS
    RemoveDir Task
      Directories:
        bin/iPhone/Release/test.app.dSYM
    Directory "bin/iPhone/Release/test.app.dSYM" doesn't exist. Skipping.
    Delete Task
      Files:
        bin/iPhone/Release/*.bcsymbolmap
      TreatErrorsAsWarnings: False
Target _GetNativeExecutableName:
    GetNativeExecutableName Task
      AppManifest: bin/iPhone/Release/test.app/Info.plist
Target _ParseExtraMtouchArgs:
    ParseExtraMtouchArgs Task
      ExtraArgs: <null>
      NoSymbolStrip: False
      NoDSymUtil: <null>
      NoSymbolStrip Output: False
      NoDSymUtil Output: false
Target _CompileToNative:
    MTouch Task
      AppBundleDir: bin/iPhone/Release/test.app
      AppExtensionReferences:
      AppManifest: bin/iPhone/Release/test.app/Info.plist
      Architectures: ARMv7, ARM64
      ArchiveSymbols: <null>
      BitcodeEnabled: False
      CompiledEntitlements: obj/iPhone/Release/Entitlements.xcent
      Debug: False
      EnableGenericValueTypeSharing: True
      EnableSGenConc: False
      Entitlements: Entitlements.plist
      ExecutableName: test
      ExtraArgs: <null>
      FastDev: False
      HttpClientHandler: HttpClientHandler
      I18n: <null>
      IntermediateOutputPath: obj/iPhone/Release/mtouch-cache
      IsAppExtension: False
      LinkerDumpDependencies: False
      LinkMode: SdkOnly
      MainAssembly: /Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.exe
      NativeReferences: <null>
      OutputPath: bin/iPhone/Release/
      Profiling: False
      ProjectDir: /Users/fcbuilder/Projects/test/test
      References:
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll
        /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll
      SdkIsSimulator: False
      SdkRoot: /Applications/Xcode-beta.app/Contents/Developer
      SdkVersion: 11.0
      SymbolsList: obj/iPhone/Release/mtouch-symbols.list
      TargetFrameworkIdentifier: Xamarin.iOS
      UseFloat32: True
      UseLlvm: False
      UseThumb: False
      Verbosity: 2
    /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch --cache /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache --dev /Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.app --executable test --linksdkonly --sdkroot /Applications/Xcode-beta.app/Contents/Developer --sdk 11.0 --targetver 10.3 --aot-options=-O=float32 --http-message-handler=HttpClientHandler --abi=armv7,arm64 --symbollist /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-symbols.list --dsym=no -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll --target-framework Xamarin.iOS,v1.0 /Users/fcbuilder/Projects/test/test/bin/iPhone/Release/test.exe -v -v 
    Process exited with code 1, command:
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -Wno-receiver-forward-class -gdwarf-2 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/10.12.0.20/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -Qunused-arguments -miphoneos-version-min=10.3 -arch armv7 -c -o /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/armv7/registrar.o -x objective-c++ /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/32/registrar.m
    In file included from /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/32/registrar.m:2:
    /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/32/registrar.h:11:9: fatal error: 'QuartzCore/CAEmitterBehavior.h' file not found
    #import <QuartzCore/CAEmitterBehavior.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    
    Mono Ahead of Time compiler - compiling assembly /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/64/Build/Xamarin.iOS.dll
    AOTID BE1B7360-6504-B331-28A1-AD46218A4370
    Code: 292204(84%) Info: 8317(2%) Ex Info: 11245(3%) Unwind Info: 4013(1%) Class Info: 9825(2%) PLT: 886(0%) GOT Info: 14027(4%) Offsets: 7642(2%) GOT: 13944
    Compiled: 1569/1569 (100%), No GOT slots: 719 (45%), Direct calls: 1163 (81%)
    Output file: '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/arm64/Xamarin.iOS.dll.s'.
    Linking symbol: '_mono_aot_module_Xamarin_iOS_info'.
    JIT time: 172 ms, Generation time: 119 ms, Assembly+Link time: 1 ms.
    
    Mono Ahead of Time compiler - compiling assembly /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/32/Build/test.exe
    AOTID 9FA4014B-5744-30F0-6164-CA2BCEF6276E
    Code: 640(35%) Info: 31(1%) Ex Info: 51(2%) Unwind Info: 219(12%) Class Info: 378(21%) PLT: 6(0%) GOT Info: 311(17%) Offsets: 155(8%) GOT: 128
    Compiled: 15/15 (100%), No GOT slots: 14 (93%), Direct calls: 0 (100%)
    Output file: '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/armv7/test.exe.s'.
    Linking symbol: '_mono_aot_module_test_info'.
    JIT time: 4 ms, Generation time: 1 ms, Assembly+Link time: 0 ms.
    
    Mono Ahead of Time compiler - compiling assembly /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/32/Build/Xamarin.iOS.dll
    AOTID A8F79CDA-F251-F44C-21E5-109872039BEC
    Code: 309172(80%) Info: 8239(2%) Ex Info: 12655(3%) Unwind Info: 24829(6%) Class Info: 9818(2%) PLT: 887(0%) GOT Info: 14077(3%) Offsets: 7669(1%) GOT: 6972
    Compiled: 1567/1567 (100%), No GOT slots: 717 (45%), Direct calls: 1227 (86%)
    Output file: '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/armv7/Xamarin.iOS.dll.s'.
    Linking symbol: '_mono_aot_module_Xamarin_iOS_info'.
    JIT time: 176 ms, Generation time: 133 ms, Assembly+Link time: 1 ms.
    
    Mono Ahead of Time compiler - compiling assembly /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/64/Build/test.exe
    AOTID 038EC922-B207-36AC-4A8B-044978B70072
    Code: 524(35%) Info: 31(2%) Ex Info: 45(3%) Unwind Info: 28(1%) Class Info: 378(25%) PLT: 6(0%) GOT Info: 311(21%) Offsets: 155(10%) GOT: 256
    Compiled: 15/15 (100%), No GOT slots: 14 (93%), Direct calls: 0 (100%)
    Output file: '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/arm64/test.exe.s'.
    Linking symbol: '_mono_aot_module_test_info'.
    JIT time: 4 ms, Generation time: 2 ms, Assembly+Link time: 0 ms.
    
    Process exited with code 1, command:
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -Wno-receiver-forward-class -gdwarf-2 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/10.12.0.20/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -Qunused-arguments -miphoneos-version-min=10.3 -arch arm64 -c -o /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/arm64/registrar.o -x objective-c++ /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/64/registrar.m
    In file included from /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/64/registrar.m:2:
    /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/64/registrar.h:11:9: fatal error: 'QuartzCore/CAEmitterBehavior.h' file not found
    #import <QuartzCore/CAEmitterBehavior.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    
    Mono Ahead of Time compiler - compiling assembly /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/32/Build/mscorlib.dll
    AOTID A4B2DE6D-160B-13EE-C6C5-C8A2D41C6B7D
    Code: 1206376(78%) Info: 27170(1%) Ex Info: 70105(4%) Unwind Info: 92286(6%) Class Info: 15372(1%) PLT: 3552(0%) GOT Info: 97294(6%) Offsets: 24894(1%) GOT: 24284
    Compiled: 5655/5655 (100%), No GOT slots: 3678 (65%), Direct calls: 10501 (125%)
    Output file: '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/armv7/mscorlib.dll.s'.
    Linking symbol: '_mono_aot_module_mscorlib_info'.
    JIT time: 581 ms, Generation time: 848 ms, Assembly+Link time: 5 ms.
    
    Mono Ahead of Time compiler - compiling assembly /Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/64/Build/mscorlib.dll
    AOTID A1FDBC07-FEA1-88D4-94CD-6EA9B8C45671
    Code: 1155204(83%) Info: 27575(1%) Ex Info: 61425(4%) Unwind Info: 8183(0%) Class Info: 15455(1%) PLT: 3538(0%) GOT Info: 97205(6%) Offsets: 24864(1%) GOT: 48560
    Compiled: 5632/5632 (100%), No GOT slots: 3676 (65%), Direct calls: 10037 (120%)
    Output file: '/Users/fcbuilder/Projects/test/test/obj/iPhone/Release/mtouch-cache/arm64/mscorlib.dll.s'.
    Linking symbol: '_mono_aot_module_mscorlib_info'.
    JIT time: 555 ms, Generation time: 767 ms, Assembly+Link time: 7 ms.
    
    MTOUCH : error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com
Done building target "_CompileToNative" in project "test.csproj" -- FAILED.

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

Build FAILED.

MTOUCH : error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:17.80

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

Build: 1 error, 0 warnings
Comment 1 Alex Soto [MSFT] 2017-09-13 01:00:18 UTC
The error is a mismatch of Xamarin.iOS (stable) with a beta Xcode 9.

You need to install XI 10.99 preview[1] if you want to use Xcode 9 (beta) and the new iOS 11 SDK (beta).

[1]: https://releases.xamarin.com/preview-xcode-9-beta-6-ios-11-macos-10-13-support-preview-8/
Comment 2 Blonski 2017-09-22 09:36:42 UTC
Please check also 
https://bugzilla.xamarin.com/show_bug.cgi?id=59522