Bug 38711 - MTOUCH: error MT0000: Unexpected error
Summary: MTOUCH: error MT0000: Unexpected error
Status: RESOLVED DUPLICATE of bug 36505
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-02-12 12:53 UTC by Anton
Modified: 2016-02-12 19:17 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 DUPLICATE of bug 36505

Description Anton 2016-02-12 12:53:10 UTC
This is a link to test project:
https://www.dropbox.com/s/gqx5n0k7a77fcz6/TestBindingExpressPlay.zip?dl=0

Application output:

Building Solution: TestBindingExpressPlay (Debug|iPhone)

Building: TestBindingExpressPlay.iOS (Debug|iPhone)

Build started 12.02.2016 14:45:33.
__________________________________________________
Project "/Users/anton/Projects/TestBindingExpressPlay/iOS/TestBindingExpressPlay.iOS.csproj" (GetAppBundleDir target(s)):
	
	Target _ComputeTargetArchitectures:
		ParseDeviceSpecificBuildInformation Task
		  Architectures: ARMv7, ARM64
		  IntermediateOutputPath: obj/iPhone/Debug/
		  OutputPath: bin/iPhone/Debug/
		  TargetiOSDevice: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>device</key>
	<dict>
		<key>architecture</key>
		<string>ARMv6_ARMv7, ARMv7s, ARM64</string>
		<key>model</key>
		<string>iPad4,5</string>
		<key>os-version</key>
		<string>9.2.1</string>
	</dict>
</dict>
</plist>

Done building project "/Users/anton/Projects/TestBindingExpressPlay/iOS/TestBindingExpressPlay.iOS.csproj".

Build succeeded.
	 0 Warning(s)
	 0 Error(s)

Time Elapsed 00:00:00.1504370

Build started 12.02.2016 14:45:34.
__________________________________________________
Project "/Users/anton/Projects/TestBindingExpressPlay/iOS/TestBindingExpressPlay.iOS.csproj" (Build target(s)):
	
	Target PrepareForBuild:
		Configuration: Debug Platform: iPhone
		Created directory "obj/iPhone/Debug/"
	
	Target _DetectAppManifest:
		FindItemWithLogicalName Task
		  Items:
		    Info.plist
		    Entitlements.plist
		    packages.config
		  LogicalName: Info.plist
		  ProjectDir: /Users/anton/Projects/TestBindingExpressPlay/iOS
		  ResourcePrefix: Resources
	
	Target _ComputeTargetArchitectures:
		ParseDeviceSpecificBuildInformation Task
		  Architectures: ARMv7, ARM64
		  IntermediateOutputPath: obj/iPhone/Debug/
		  OutputPath: bin/iPhone/Debug/
		  TargetiOSDevice: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>device</key>
	<dict>
		<key>architecture</key>
		<string>ARMv6_ARMv7, ARMv7s, ARM64</string>
		<key>model</key>
		<string>iPad4,5</string>
		<key>os-version</key>
		<string>9.2.1</string>
	</dict>
</dict>
</plist>

	
	Target _DetectSdkLocations:
		DetectSdkLocations Task
		  TargetFrameworkIdentifier: Xamarin.iOS
		  TargetArchitectures: armv7
		  SdkVersion: 9.2
		  XamarinSdkRoot: /Library/Frameworks/Xamarin.iOS.framework/Versions/Current
		  SdkRoot: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk
		  SdkDevPath: /Applications/Xcode.app/Contents/Developer
		  SdkUsrPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
		  SdkPlatform: iPhoneOS
		  SdkIsSimulator: False
	
	Target _CoreCompileInterfaceDefinitions:
		IBTool Task
		  AppManifest: Info.plist
		  InterfaceDefinitions:
		    Resources/LaunchScreen.xib
		    Main.storyboard
		  IntermediateOutputPath: obj/iPhone/Debug/
		  IsWatchApp: False
		  IsWatch2App: False
		  ProjectDir: /Users/anton/Projects/TestBindingExpressPlay/iOS
		  ResourcePrefix: Resources
		  SdkBinPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
		  SdkPlatform: iPhoneOS
		  SdkRoot: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk
		  SdkVersion: 9.2
		Tool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool execution started with arguments: --errors --warnings --notices --output-format xml1 --minimum-deployment-target 8.0 --target-device iphone --target-device ipad --auto-activate-custom-fonts --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk --compilation-directory /Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/ibtool /Users/anton/Projects/TestBindingExpressPlay/iOS/Resources/LaunchScreen.xib
		Tool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool execution started with arguments: --errors --warnings --notices --output-format xml1 --minimum-deployment-target 8.0 --target-device iphone --target-device ipad --auto-activate-custom-fonts --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk --compilation-directory /Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/ibtool /Users/anton/Projects/TestBindingExpressPlay/iOS/Main.storyboard
		  BundleResources Output:
		    obj/iPhone/Debug/ibtool/LaunchScreen.nib
		    obj/iPhone/Debug/ibtool/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
		    obj/iPhone/Debug/ibtool/Main.storyboardc/Info.plist
		    obj/iPhone/Debug/ibtool/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
		  OutputManifests Output:
		    obj/iPhone/Debug/ibtool-manifests/LaunchScreen.nib
		    obj/iPhone/Debug/ibtool-manifests/Main.storyboardc
	
	Target _CoreCompileImageAssets:
		ACTool Task
		  AppManifest: Info.plist
		  DeviceModel: iPad4,5
		  DeviceOSVersion: <null>
		  ImageAssets:
		    Resources/Images.xcassets/AppIcons.appiconset/Contents.json
		  IntermediateOutputPath: obj/iPhone/Debug/build-ipad4.5-9.2.1/
		  OptimizePNGs: True
		  OutputPath: bin/iPhone/Debug/
		  ProjectDir: /Users/anton/Projects/TestBindingExpressPlay/iOS
		  ResourcePrefix: Resources
		  SdkBinPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
		  SdkPlatform: iPhoneOS
		  SdkVersion: 9.2
		Tool /Applications/Xcode.app/Contents/Developer/usr/bin/actool execution started with arguments: --errors --warnings --notices --output-format xml1 --output-partial-info-plist /Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/build-ipad4.5-9.2.1/actool/partial-info.plist --app-icon AppIcons --compress-pngs --filter-for-device-model iPad4,5 --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --platform iphoneos --compile /Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/build-ipad4.5-9.2.1/actool/bundle /Users/anton/Projects/TestBindingExpressPlay/iOS/Resources/Images.xcassets
Resources/Images.xcassets: actool warning : The app icon set "AppIcons" has an unassigned child.
	
	Target _CollectColladaAssets:
		CollectBundleResources Task
		  BundleResources: <null>
		  OptimizePropertyLists: False
		  OptimizePNGs: False
		  ProjectDir: /Users/anton/Projects/TestBindingExpressPlay/iOS
		  ResourcePrefix: Resources
	
	Target _CoreCompileColladaAssets:
	No input files were specified for target _CoreCompileColladaAssets, skipping.
	
	Target _BeforeCoreCompileSceneKitAssets:
	No input files were specified for target _BeforeCoreCompileSceneKitAssets, skipping.
	
	Target _CoreCompileSceneKitAssets:
	No input files were specified for target _CoreCompileSceneKitAssets, skipping.
	
	Target _BeforeCompileTextureAtlases:
	No input files were specified for target _BeforeCompileTextureAtlases, skipping.
	
	Target _CoreCompileTextureAtlases:
	No input files were specified for target _CoreCompileTextureAtlases, skipping.
	
	Target _CollectBundleResources:
		CollectBundleResources Task
		  BundleResources:
		    Resources/action_token.xml
		    Resources/bigbucksbunny-trailer.mlv
		  OptimizePropertyLists: True
		  OptimizePNGs: True
		  ProjectDir: /Users/anton/Projects/TestBindingExpressPlay/iOS
		  ResourcePrefix: Resources
	
	Target _CoreOptimizePngImages:
	No output files were specified for target _CoreOptimizePngImages, skipping.
	
	Target _CoreOptimizePropertyLists:
	No input files were specified for target _CoreOptimizePropertyLists, skipping.
	
	Target _CoreOptimizeLocalizationFiles:
	No input files were specified for target _CoreOptimizeLocalizationFiles, skipping.
	
	Target _UnpackLibraryResources:
		UnpackLibraryResources Task
		  Prefix: monotouch
		  IntermediateOutputPath: obj/iPhone/Debug/
		  NoOverwrite:
		    obj/iPhone/Debug/ibtool/LaunchScreen.nib
		    obj/iPhone/Debug/ibtool/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
		    obj/iPhone/Debug/ibtool/Main.storyboardc/Info.plist
		    obj/iPhone/Debug/ibtool/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
		    Resources/action_token.xml
		    Resources/bigbucksbunny-trailer.mlv
		  ReferencedLibraries:
		    /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
		    ../packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/Xamarin.Insights.dll
		    ../packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/PLCrashReporterUnifiedBinding.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/mscorlib.dll
		    /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll
		    ../packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/PLCrashReporterUnifiedBinding.dll
	
	Target CopyFilesMarkedCopyLocal:
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/Xamarin.Insights.dll' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/Xamarin.Insights.dll'
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/PLCrashReporterUnifiedBinding.dll' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/PLCrashReporterUnifiedBinding.dll'
	
	Target GenerateSatelliteAssemblies:
	No input files were specified for target GenerateSatelliteAssemblies, skipping.
	
	Target CoreCompile:
		Tool /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/smcs execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/iPhone/Debug/TestBindingExpressPlay.iOS.exe Main.cs AppDelegate.cs ViewController.cs ViewController.designer.cs obj/iPhone/Debug/Xamarin.iOS,Version=v1.0.AssemblyAttribute.cs /target:exe /define:"__UNIFIED__;__MOBILE__;__IOS__;DEBUG;ENABLE_TEST_CLOUD" /nostdlib /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 /reference:../packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/Xamarin.Insights.dll /reference:../packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/PLCrashReporterUnifiedBinding.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/mscorlib.dll /warn:4
	
	Target DeployOutputFiles:
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/TestBindingExpressPlay.iOS.exe.mdb' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/TestBindingExpressPlay.iOS.exe.mdb'
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/TestBindingExpressPlay.iOS.exe' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/TestBindingExpressPlay.iOS.exe'
	
	Target _DetectSigningIdentity:
		DetectSigningIdentity Task
		  AppBundleName: TestBindingExpressPlay.iOS
		  AppManifest: Info.plist
		  RequireCodesigning: True
		  SdkPlatform: iPhoneOS
		  SdkIsSimulator: False
		  ProvisioningProfile: <null>
		  SigningKey: iPhone Developer
		Detected signing identity:
		  Code Signing Key: "iPhone Developer: Oleg Fonaryov (58CBD347DV)" (32CEC1774A6062E4421604E3A408926CFFEA518C)
		  Provisioning Profile: "CN_BOOK_dev" (91e86f8f-4b32-4aed-ab8f-64762f923a6a)
		  Bundle Id: com.companyname.testbindingexpressplay
		  App Id: 46G7WQRNEW.com.companyname.testbindingexpressplay
	
	Target _ComputeBundleResourceOutputPaths:
		ComputeBundleResourceOutputPaths Task
		  AppBundleDir: bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app
		  BundleIdentifier: com.companyname.testbindingexpressplay
		  BundleResources:
		    obj/iPhone/Debug/ibtool/LaunchScreen.nib
		    obj/iPhone/Debug/ibtool/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
		    obj/iPhone/Debug/ibtool/Main.storyboardc/Info.plist
		    obj/iPhone/Debug/ibtool/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
		    Resources/action_token.xml
		    Resources/bigbucksbunny-trailer.mlv
		  IntermediateOutputPath: obj/iPhone/Debug/
		  OutputPath: bin/iPhone/Debug/
	
	Target _CopyResourcesToBundle:
		SmartCopy Task
		  DestinationFiles:
		    bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/LaunchScreen.nib
		    bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
		    bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/Main.storyboardc/Info.plist
		    bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
		    bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/action_token.xml
		    bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/bigbucksbunny-trailer.mlv
		  DestinationFolder: 
		  SourceFiles:
		    obj/iPhone/Debug/ibtool/LaunchScreen.nib
		    obj/iPhone/Debug/ibtool/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib
		    obj/iPhone/Debug/ibtool/Main.storyboardc/Info.plist
		    obj/iPhone/Debug/ibtool/Main.storyboardc/UIViewController-BYZ-38-t0r.nib
		    Resources/action_token.xml
		    Resources/bigbucksbunny-trailer.mlv
		Creating directory '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app'
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/ibtool/LaunchScreen.nib' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/LaunchScreen.nib'
		Creating directory '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/Main.storyboardc'
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/ibtool/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib'
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/ibtool/Main.storyboardc/Info.plist' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/Main.storyboardc/Info.plist'
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/ibtool/Main.storyboardc/UIViewController-BYZ-38-t0r.nib' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/Main.storyboardc/UIViewController-BYZ-38-t0r.nib'
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/iOS/Resources/action_token.xml' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/action_token.xml'
		Copying file from '/Users/anton/Projects/TestBindingExpressPlay/iOS/Resources/bigbucksbunny-trailer.mlv' to '/Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/bigbucksbunny-trailer.mlv'
	
	Target _CreateAssetPackManifest:
		CreateAssetPackManifest Task
		  AppBundleDir: bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app
		  InitialInstallTags: <null>
		  OutputPath: bin/iPhone/Debug/
		  PrefetchOrder: <null>
	
	Target _CompileEntitlements:
		CompileEntitlements Task
		  AppBundleDir: bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app
		  AppIdentifier: 46G7WQRNEW.com.companyname.testbindingexpressplay
		  BundleIdentifier: com.companyname.testbindingexpressplay
		  CompiledEntitlements: obj/iPhone/Debug/Entitlements.xcent
		  Entitlements: Entitlements.plist
		  IsAppExtension: False
		  ProvisioningProfile: 91e86f8f-4b32-4aed-ab8f-64762f923a6a
		  SdkVersion: 9.2
		  IsProductionEnvironment: False
	
	Target _CompileAppManifest:
		CompileAppManifest Task
		  AppBundleName: TestBindingExpressPlay.iOS
		  AppBundleDir: bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app
		  AppManifest: Info.plist
		  Architecture: ARMv7, ARM64
		  AssemblyName: TestBindingExpressPlay.iOS
		  BundleIdentifier: com.companyname.testbindingexpressplay
		  DefaultSdkVersion: 9.2
		  IsAppExtension: False
		  IsWatchApp: False
		  IsWatchExtension: False
		  PartialAppManifests:
		    obj/iPhone/Debug/build-ipad4.5-9.2.1/actool/partial-info.plist
		  ResourceRules: <null>
		  SdkPlatform: iPhoneOS
		  SdkIsSimulator: False
		  TargetFrameworkIdentifier: Xamarin.iOS
	
	Target _GetNativeExecutableName:
		GetNativeExecutableName Task
		  AppManifest: bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/Info.plist
	
	Target _CompileToNative:
		MTouch Task
		  AppBundleDir: bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app
		  AppExtensionReferences:
		  AppManifest: bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app/Info.plist
		  Architectures: armv7
		  CompiledEntitlements: obj/iPhone/Debug/Entitlements.xcent
		  Debug: True
		  EnableGenericValueTypeSharing: True
		  Entitlements: Entitlements.plist
		  ExecutableName: TestBindingExpressPlay.iOS
		  ExtraArgs: --framework:${ProjectDir}/ExpressPlay.framework
		  FastDev: False
		  I18n: <null>
		  IntermediateOutputPath: obj/iPhone/Debug/build-ipad4.5-9.2.1/mtouch-cache
		  IsAppExtension: False
		  LinkMode: Full
		  MainAssembly: /Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug//TestBindingExpressPlay.iOS.exe
		  NativeReferences: <null>
		  OutputPath: bin/iPhone/Debug/
		  Profiling: True
		  ProjectDir: /Users/anton/Projects/TestBindingExpressPlay/iOS
		  References:
		    /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
		    ../packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/Xamarin.Insights.dll
		    ../packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/PLCrashReporterUnifiedBinding.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/mscorlib.dll
		    ../packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/Xamarin.Insights.dll
		    ../packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/PLCrashReporterUnifiedBinding.dll
		  SdkIsSimulator: False
		  SdkRoot: /Applications/Xcode.app/Contents/Developer
		  SdkVersion: 9.2
		  SymbolsList: obj/iPhone/Debug/build-ipad4.5-9.2.1/mtouch-symbols.list
		  TargetFrameworkIdentifier: Xamarin.iOS
		  UseFloat32: True
		  UseLlvm: False
		  UseRefCounting: True
		  UseSGen: True
		  UseThumb: False
		Tool /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch execution started with arguments: --cache /Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/build-ipad4.5-9.2.1/mtouch-cache --dev /Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug/build-ipad4.5-9.2.1/TestBindingExpressPlay.iOS.app --executable TestBindingExpressPlay.iOS --debug --profiling --sdkroot /Applications/Xcode.app/Contents/Developer --sdk 9.2 --targetver 8.0 --aot-options=-O=float32 --new-refcount --abi=armv7 --symbollist /Users/anton/Projects/TestBindingExpressPlay/iOS/obj/iPhone/Debug/build-ipad4.5-9.2.1/mtouch-symbols.list --dsym=no --framework:/Users/anton/Projects/TestBindingExpressPlay/iOS/ExpressPlay.framework -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 -r /Users/anton/Projects/TestBindingExpressPlay/packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/Xamarin.Insights.dll -r /Users/anton/Projects/TestBindingExpressPlay/packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/PLCrashReporterUnifiedBinding.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/mscorlib.dll -r /Users/anton/Projects/TestBindingExpressPlay/packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/Xamarin.Insights.dll -r /Users/anton/Projects/TestBindingExpressPlay/packages/Xamarin.Insights.1.10.6/lib/Xamarin.iOS10/PLCrashReporterUnifiedBinding.dll --target-framework Xamarin.iOS,v1.0 /Users/anton/Projects/TestBindingExpressPlay/iOS/bin/iPhone/Debug//TestBindingExpressPlay.iOS.exe 
		Xamarin.iOS 9.4.1 Business Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk
MTOUCH: error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
		System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
		  at System.IO.BinaryReader.FillBuffer (Int32 numBytes) <0x10a255770 + 0x0015e> in <filename unknown>:0 
		  at System.IO.BinaryReader.ReadUInt32 () <0x10a2d75a0 + 0x00015> in <filename unknown>:0 
		  at Xamarin.MachOFile.Read (System.IO.BinaryReader reader) <0x1110f14d0 + 0x00113> in <filename unknown>:0 
		  at Xamarin.FatEntry.ReadEntry (System.IO.BinaryReader reader) <0x1110f1410 + 0x000a3> in <filename unknown>:0 
		  at Xamarin.FatFile.Read (System.IO.BinaryReader reader) <0x1110f0fb0 + 0x001a4> in <filename unknown>:0 
		  at Xamarin.MachO.ReadFile (System.IO.BinaryReader reader, System.String filename) <0x1110f0de0 + 0x000f6> in <filename unknown>:0 
		  at Xamarin.MachO.ReadFile (System.String filename) <0x1110f0c90 + 0x000bf> in <filename unknown>:0 
		  at Xamarin.MachO.SelectArchitectures (System.String filename, ICollection`1 abis) <0x1110ef710 + 0x0017e> in <filename unknown>:0 
		  at MonoTouch.Application.BuildFinalExecutable () <0x1110ed640 + 0x00610> in <filename unknown>:0 
		  at MonoTouch.Application.Build () <0x10a25f8e0 + 0x00121> in <filename unknown>:0 
		  at MTouch.Main2 (System.String[] args) <0x10a145b00 + 0x074c7> in <filename unknown>:0 
		  at MTouch.Main (System.String[] args) <0x10a096e60 + 0x00069> in <filename unknown>:0
Comment 1 Rolf Bjarne Kvinge [MSFT] 2016-02-12 19:17:49 UTC
This is a duplicate of bug #36505.

It happens when you try to use a framework which isn't a framework, it's a static library that looks like a framework.

The workaround is to not use "-framework /Users/anton/expressplay/ExpressPlay.framework" to link with it, but instead link with it like a static library ("-gcc_flags /Users/anton/expressplay/ExpressPlay.framework/ExpressPlay").

In any case we've fixed the bug internally, and it'll be included in the next major release.

*** This bug has been marked as a duplicate of bug 36505 ***