Forum Xamarin Cross Platform with Xamarin

Lastest releases (Alpha + stable) have become a real pain for my projects, especially MvvmCross

I now run into so much trouble, I have spent more hours on fighting Xamarin than coding the past two weeks :( This is a list of problems I encountered past two weeks, after months of running smooth stable versions:

  • Projects in VS still don't save always (not sure if the ampersand in certicates are still a problem). Always have to recheck the project after reopening if it did work or not. There was something with the version information fields that has changed and causes problems.
  • Projects are building (giving errors) even when selected not to build, this happens both in XS and VS2012. Might have to do with the solution settings not being stored correctly.
  • Using NuGet in VS2012 makes the project unbuildable in XS and needs manual project editing to remove all NuGet references (it tries to execute .nuget.exe).
  • The project options in VS2012 do not match XS, and interfere with eachother, especially PCL projects have this problem.
  • Very often VS2012 macbuild-log reports the Mac-build process is in use by another proces and it refuses to connect. Restarting VS most of the time solves this, leading to the conclusion that VS/Xamarin itself is holding the proces blocked.
  • the AOT-compile-errors still happen for certains MvvmCross libraries (most others seem to have ben resolved)
  • The always-clean-a-project before try to build it-problems seem to have been solved.
  • After installing the updates of today, errors began to stack up (constantly referring the same errors multiple times) in XS.

MT4112 seems to have been promoted to an error instead of a warning, so had to rewrite so beautifully written (and perfectly working) code.
Ran also into MT0007, but after for the nth time removing Xamarin and reinstalling, now it seems to be gone again.
Had to clean the Xamarin cache folders quite often (most of the time did not help, though, but in some cases it did).

I'm not sure if the changes in the profile104 folder that a made months ago could give trouble? Should they have been undone, or are they added by the Xamarin installer these days?

And even when I try to type this text an annoying popup "Whoops, something went wrong" is thrown at me multiple times.

Two weeks ago, I would say: Go for VS with Resharper, that really saves lots of time...

(latest binaries of MvvmCross)
[2013-09-19 15:44:39.7] Starting /Developer/MonoTouch/usr/bin/mtouch -v -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache" --nomanifest --nosign -dev "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/Debug/iPhone/JR_iOS.app" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.CrossCore.Touch.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.CrossCore.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.Binding.Touch.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.Binding.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.FieldBinding.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.Localization.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.Plugins.Email.Touch.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.Plugins.Email.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.Plugins.FieldBinding.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.Plugins.Sqlite.Touch.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.Plugins.Sqlite.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.Touch.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Cirrious.MvvmCross.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/JaarverslaggevingApp.Core.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/Newtonsoft.Json.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/TestFlight.dll" -r "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/XibFree.dll" -debug -linksdkonly -sdk "7.0" -targetver "7.0" --abi=armv7 "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/assemblies/JR_iOS.exe"
[2013-09-19 15:44:48.3] stderr: AOT Compilation exited with code 1, command:
[2013-09-19 15:44:48.3] MONO_PATH=/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build /Developer/MonoTouch/usr/bin/arm-darwin-mono-boehm --debug -O=gsharedvt --aot=mtriple=armv7-ios,full,static,asmonly,direct-icalls,soft-debug,dwarfdebug,no-direct-calls,iphone-abi,outfile=/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Cirrious.MvvmCross.dll.armv7.s "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build/Cirrious.MvvmCross.dll"
[2013-09-19 15:44:48.3] Mono Ahead of Time compiler - compiling assembly /Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build/Cirrious.MvvmCross.dll
[2013-09-19 15:44:48.3] Failed to load method 0x600009b from '/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build/Cirrious.MvvmCross.dll'.
[2013-09-19 15:44:48.3]
[2013-09-19 15:44:48.3] AOT Compilation exited with code 1, command:
[2013-09-19 15:44:48.3] MONO_PATH=/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build /Developer/MonoTouch/usr/bin/arm-darwin-mono-boehm --debug -O=gsharedvt --aot=mtriple=armv7-ios,full,static,asmonly,direct-icalls,soft-debug,dwarfdebug,no-direct-calls,iphone-abi,outfile=/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Cirrious.CrossCore.dll.armv7.s "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build/Cirrious.CrossCore.dll"
[2013-09-19 15:44:48.3] Mono Ahead of Time compiler - compiling assembly /Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build/Cirrious.CrossCore.dll
[2013-09-19 15:44:48.3] Failed to load method 0x60001cc from '/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build/Cirrious.CrossCore.dll'.
[2013-09-19 15:44:48.3]
[2013-09-19 15:44:48.3] AOT Compilation exited with code 134, command:
[2013-09-19 15:44:48.3] MONO_PATH=/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build /Developer/MonoTouch/usr/bin/arm-darwin-mono-boehm --debug -O=gsharedvt --aot=mtriple=armv7-ios,full,static,asmonly,direct-icalls,soft-debug,dwarfdebug,no-direct-calls,iphone-abi,outfile=/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/JaarverslaggevingApp.Core.dll.armv7.s "/Users/hlogmans/Library/Caches/Xamarin/mtbs/builds/JR_iOS/821069b7-8729-4388-a2d2-4066a731dc43/output/temp/mtouch-cache/Build/JaarverslaggevingApp.Core.dll"
[2013-09-19 15:44:48.3] Could not load signature of JaarverslaggevingApp.Core.Services.IGetTocService:Favorites due to: Failed for unknown reasons.
[2013-09-19 15:44:48.3] Could not load signature of JaarverslaggevingApp.Core.Services.DbTocService:Favorites due to: Failed for unknown reasons.
[2013-09-19 15:44:48.3] * Assertion at ../../../../../mono/mono/metadata/class.c:5594, condition `!mono_loader_get_last_error ()' not met

Microsoft Visual Studio Professional 2012
Version 11.0.60610.01 Update 3
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Professional

LightSwitch for Visual Studio 2012 04938-004-0034007-02524
Microsoft LightSwitch for Visual Studio 2012

Team Explorer for Visual Studio 2012 04938-004-0034007-02524
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012 04938-004-0034007-02524
Microsoft Visual Basic 2012

Visual C# 2012 04938-004-0034007-02524
Microsoft Visual C# 2012

Visual C++ 2012 04938-004-0034007-02524
Microsoft Visual C++ 2012

Visual F# 2012 04938-004-0034007-02524
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker 04938-004-0034007-02524
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

JetBrains ReSharper 8.0.1 C# Edition build 8.0.1000.2286 on 2013-09-05T07:18:00
JetBrains ReSharper 8.0.1 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2013 JetBrains, Inc.

NuGet Package Manager 2.7.40808.167
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools 11.1.20627.00
Microsoft SQL Server Data Tools

Web Developer Tools 1.2.40308.0
Microsoft Web Developer Tools contains the following components:
Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
Web Form Templates: Includes the default templates for Web Form Applications.
Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

Xamarin.Android 4.8.01013 (b76e8ec4)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS 1.3.250 (49348a51)
Visual Studio extension to enable development for Xamarin.iOS

Hope someone can make me happy again... Tried so many StackOverflow Q and A's to get it working again...

Posts

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    There are many issues here, I'll try to address one: the MT4112 message - this has not been changed to an error (I just checked our source code) - can you please verify that it's actually MT4112 and not a different error number with a similar message? If MT4112 is indeed showing up as an error for you, I'd like to see the full build output.

  • For AOT compile errors, this worked for me: http://stackoverflow.com/questions/18899518/aot-issue-with-mvvmcross

  • HugoLogmans_HugoLogmans_ NLMember ✭✭✭
    edited September 2013

    Error 6 MT4112:The registrar found a generic type: kluwermemoapp.TwoLevelListViewController2. Registering generic types with ObjectiveC is not supported, and will lead to random behavior and/or crashes. [Z:\development\kluwermemo\kluwermemoapp\kluwermemoapp.csproj] 0 0 If I look at the build-output, it is prefixed with warning:C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(156,3): error : warning MT4112: The registrar found a generic type: kluwermemoapp.TwoLevelListViewController2. Registering generic types with ObjectiveC is not supported, and will lead to random behavior and/or crashes. [Z:\development\kluwermemo\kluwermemoapp\kluwermemoapp.csproj]

    I noticed that I cannot choose deployment target 6.0 in the project settings (from 5.0 it stept to 7.0) Could it be some leftovers of the alpha/beta/wahtever version is interfering? Of course my project file could be totally messed up with al those transitions.

    I did first notice the error (instead of a warning) when trying an alpha release a month ago. I went back to SDK 6 and then it was a warning again. But now it looks like the output of the build process is not handled properly.

    BTW: I deinstalled Xamarin both from windows and Mac (on windows using the uninstallers), on Mac trying to remove leftovers from the Library path. But maybe the VS plugin is not deinstalled?

    BTW2: this project compiled fine last week, now I get lots of build errors.

Sign In or Register to comment.