Bug 21773 - While deploying application error
Summary: While deploying application error
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: master
Hardware: PC Windows
: Normal normal
Target Milestone: Untriaged
Assignee: GouriKumari
URL:
Depends on:
Blocks:
 
Reported: 2014-08-01 14:48 UTC by vishal
Modified: 2015-01-06 05:09 UTC (History)
5 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 vishal 2014-08-01 14:48:39 UTC
MT5103:Failed to compile the file '/Users/louispoulin/Library/Caches/Xamarin/mtbs/builds/GoogleMapsAdvSample/1aa78ce3-4fb5-4a85-b38c-320a5c8bdc8d/output/temp/mtouch-cache/main.armv7.m'. Please file a bug report at http://bugzilla.xamarin.com
Comment 1 Sebastien Pouliot 2014-08-01 16:13:36 UTC
There is not enough information in the description to help you. Can you tell us which version (of every software) you're using ?

The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button). 


Also having the complete build log is more helpful (than only the last lines). Thanks!
Comment 2 vishal 2014-08-01 16:49:22 UTC
Hello xamarin version is 5.1.4  and i am using visual studio 2012. 

While i trying to run the sample application on my ipad it give me these 4 error. i am new in the ios development.
 
Error	1	MT3001:Could not AOT the assembly '/Users/louispoulin/Library/Caches/Xamarin/mtbs/builds/Testing/c2f22755-42bc-4836-a4f5-cd1a1bd1b69d/output/temp/mtouch-cache/Build/monotouch.dll'
		0	0	


Error	2	MT3001:Could not AOT the assembly '/Users/louispoulin/Library/Caches/Xamarin/mtbs/builds/Testing/c2f22755-42bc-4836-a4f5-cd1a1bd1b69d/output/temp/mtouch-cache/Build/mscorlib.dll'
		0	0	


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


	Error	4	MT5103:Failed to compile the file '/Users/louispoulin/Library/Caches/Xamarin/mtbs/builds/Testing/c2f22755-42bc-4836-a4f5-cd1a1bd1b69d/output/temp/mtouch-cache/main.armv7.m'. Please file a bug report at http://bugzilla.xamarin.com
		0	0
Comment 3 Sebastien Pouliot 2014-08-04 09:46:50 UTC
Xamarin.iOS 5.1.x (more than 2 years old) was not compatible with VS.NET. Could that be the version number of something else ?

Please provide all the version information about your system. If you're not sure on how to get this information please contact your support email address (from the customer portal).
Comment 4 vishal 2014-08-04 10:47:13 UTC
This is the information that i got in the xamarin studio. i am wondering i have xcode version 4.2 i download dmg file from the different source. is that possible it is because of that is creating problem.  




=== Xamarin Studio ===

Version 5.1.4 (build 0)
Installation UUID: 36d8df8e-849c-412d-a02e-499fccc67c8c
Runtime:
	Mono 3.4.0 ((no/954ed3c)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 304000214

=== Xamarin.Android ===

Version: 4.12.6 (Business Edition)
Android SDK: /Users/louispoulin/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0.3 (API level 15)
		4.4   (API level 19)
Java SDK: /usr
No Java runtime present, requesting install.

=== Apple Developer Tools ===

Xcode 5.0.2 (3335.32)
Build 5A3005

=== Xamarin.iOS ===

Version: 7.2.5.5 (Business Edition)
Hash: 87026b6
Branch: 
Build date: 2014-07-02 19:39:08-0400

=== Xamarin.Mac ===

Version:

=== Build Information ===

Release ID: 501040000
Git revision: 7d45bbe2ee22625f125d0c52548524f02d005cca
Build date: 2014-07-14 12:15:53-04
Xamarin addins: c78f1d88e57baa928aeee1484d96e6f8edf8de33

=== Operating System ===

Mac OS X 10.9.4
Darwin mbpdestephanie.atventnet.com 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 5 Robson 2015-01-05 23:16:21 UTC
Waiting for custom tools...

Building: AppToFly (Debug)

Build started 06/01/2015 02:13:48.
__________________________________________________
Project "/Users/Robson/Projects/AppToFly/AppToFly/AppToFly.csproj" (Build target(s)):
	
	Target PrepareForBuild:
		Configuration: Debug Platform: AnyCPU
	
	Target CopyNonResxEmbeddedResources:
		Copying file from '/Users/Robson/Projects/AppToFly/AppToFly/AppMainPage.xaml' to '/Users/Robson/Projects/AppToFly/AppToFly/obj/Debug/AppToFly.AppMainPage.xaml'
	
	Target GenerateSatelliteAssemblies:
	No input files were specified for target GenerateSatelliteAssemblies, skipping.
	
	Target _CoreXamlG:
	Skipping target "_CoreXamlG" because its outputs are up-to-date.
	
	Target _CoreXamlG:
	Skipping target "_CoreXamlG" because its outputs are up-to-date.
	
	Target _CoreXamlG:
	Skipping target "_CoreXamlG" because its outputs are up-to-date.
	
	Target GenerateTargetFrameworkMonikerAttribute:
	Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
	
	Target CoreCompile:
	Skipping target "CoreCompile" because its outputs are up-to-date.
	
	Target DeployOutputFiles:
		Copying file from '/Users/Robson/Projects/AppToFly/AppToFly/obj/Debug/AppToFly.dll.mdb' to '/Users/Robson/Projects/AppToFly/AppToFly/bin/Debug/AppToFly.dll.mdb'
		Copying file from '/Users/Robson/Projects/AppToFly/AppToFly/obj/Debug/AppToFly.dll' to '/Users/Robson/Projects/AppToFly/AppToFly/bin/Debug/AppToFly.dll'
Done building project "/Users/Robson/Projects/AppToFly/AppToFly/AppToFly.csproj".

Build succeeded.
	 0 Warning(s)

Building: AppToFly.iOS (Ad-Hoc|iPhone)

Detecting signing identity...
Provisioning Profile: "AppsToFly Beta" (89d1213f-400c-4677-938b-4276caaab87c)
Signing Identity: "iPhone Developer: Robson Batista (JWCCPE4SN3)"
App ID: "5EPSXGC44B.com.appstofly.appstoflybeta"
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/3.10.0/bin/mcs /noconfig "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/mscorlib.dll" -nostdlib "/out:/Users/Robson/Projects/AppToFly/iOS/bin/iPhone/Ad-Hoc/AppToFlyiOS.exe" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.Xml.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.Core.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/monotouch.dll" "/r:/Users/Robson/Projects/AppToFly/AppToFly/bin/Debug/AppToFly.dll" "/r:/Users/Robson/Projects/AppToFly/iOS/../packages/Xamarin.Forms.1.3.0.6292/lib/MonoTouch10/Xamarin.Forms.Platform.iOS.Classic.dll" "/r:/Users/Robson/Projects/AppToFly/iOS/../packages/Xamarin.Forms.1.3.0.6292/lib/MonoTouch10/Xamarin.Forms.Core.dll" "/r:/Users/Robson/Projects/AppToFly/iOS/../packages/Xamarin.Forms.1.3.0.6292/lib/MonoTouch10/Xamarin.Forms.Xaml.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Collections.Concurrent.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Collections.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.ComponentModel.Annotations.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.ComponentModel.EventBasedAsync.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.ComponentModel.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Diagnostics.Contracts.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Diagnostics.Debug.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Diagnostics.Tools.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Dynamic.Runtime.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Globalization.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.IO.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Linq.Expressions.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Linq.Parallel.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Linq.Queryable.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Linq.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Net.NetworkInformation.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Net.Primitives.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Net.Requests.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.ObjectModel.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Reflection.Extensions.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Reflection.Primitives.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Reflection.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Resources.ResourceManager.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Runtime.Extensions.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Runtime.InteropServices.WindowsRuntime.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Runtime.InteropServices.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Runtime.Numerics.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Runtime.Serialization.Json.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Runtime.Serialization.Primitives.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Runtime.Serialization.Xml.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Runtime.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Security.Principal.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.ServiceModel.Http.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.ServiceModel.Primitives.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Text.Encoding.Extensions.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Text.Encoding.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Text.RegularExpressions.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Threading.Tasks.Parallel.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Threading.Tasks.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Threading.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Xml.ReaderWriter.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Xml.XDocument.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/Facades/System.Xml.XmlSerializer.dll" "/r:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.Core.dll" /nologo /warn:4 /debug:full /optimize+ /codepage:utf8 "/define:__MOBILE__"  "/define:__IOS__"  /t:exe "/Users/Robson/Projects/AppToFly/iOS/Main.cs" "/Users/Robson/Projects/AppToFly/iOS/AppDelegate.cs" 
Build complete -- 0 errors, 0 warnings

Compiling to native code
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/Robson/Projects/AppToFly/iOS/obj/iPhone/Ad-Hoc/mtouch-cache" --nomanifest --nosign -dev "/Users/Robson/Projects/AppToFly/iOS/bin/iPhone/Ad-Hoc/AppToFlyiOS.app" -r "/Users/Robson/Projects/AppToFly/AppToFly/bin/Debug/AppToFly.dll" -r "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.dll" -r "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.Xml.dll" -r "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/System.Core.dll" -r "/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/2.1/monotouch.dll" -r "/Users/Robson/Projects/AppToFly/iOS/../packages/Xamarin.Forms.1.3.0.6292/lib/MonoTouch10/Xamarin.Forms.Platform.iOS.Classic.dll" -r "/Users/Robson/Projects/AppToFly/iOS/../packages/Xamarin.Forms.1.3.0.6292/lib/MonoTouch10/Xamarin.Forms.Core.dll" -r "/Users/Robson/Projects/AppToFly/iOS/../packages/Xamarin.Forms.1.3.0.6292/lib/MonoTouch10/Xamarin.Forms.Xaml.dll" -linksdkonly -sdk "7.0" -targetver "7.0" --abi=armv7 "/Users/Robson/Projects/AppToFly/iOS/bin/iPhone/Ad-Hoc/AppToFlyiOS.exe"
Xamarin.iOS 8.4.0 Indie Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -gdwarf-2 -std=c99 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/8.4.0.47/SDKs/MonoTouch.iphoneos.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -Qunused-arguments -miphoneos-version-min=7.0 -arch armv7 -c -o /Users/Robson/Projects/AppToFly/iOS/obj/iPhone/Ad-Hoc/mtouch-cache/registrar.armv7.o -Wno-receiver-forward-class -x objective-c -
<stdin>:4022:86: error: cannot find interface declaration for 'UIAlertController', superclass of 'Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController'
@interface Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController : UIAlertController {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
<stdin>:4050:4: error: 'Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController' cannot use 'super' because it is a root class
                [super dealloc];
                 ^
<stdin>:4022:12: warning: class 'Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController' defined without specifying a base class [-Wobjc-root-class]
@interface Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController : UIAlertController {
           ^
<stdin>:4022:83: note: add a super class to fix this problem
@interface Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController : UIAlertController {
                                                                                  ^
                                                                                   : NSObject 
<stdin>:5896:112: warning: class method '+class' not found (return type defaults to 'id') [-Wobjc-method-access]
        __monotouch_class_map [153].handle = [Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController class];
                                                                                                                      ^~~~~
2 warnings and 2 errors generated.

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

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

Build: 1 error, 0 warnings
Comment 6 Rolf Bjarne Kvinge [MSFT] 2015-01-06 05:09:25 UTC
Robson, Xamarin.Forms requires iOS 8, and you're building with the iOS 7 SDK.