Bug 19072 - When mtouch fails (on build host), Visual Studio stays in "building" mode and can not be stopped.
Summary: When mtouch fails (on build host), Visual Studio stays in "building" mode and...
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Dominique Louis
URL:
Depends on:
Blocks:
 
Reported: 2014-04-16 02:07 UTC by softlion
Modified: 2014-05-28 09:37 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 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 FIXED

Description softlion 2014-04-16 02:07:49 UTC
To reproduce:

create a new ios project in visual studio 2013
add google analytics component from store
add code using analytics component so it is not optimized away:

            GAI.SharedInstance.TrackUncaughtExceptions = false;

build/run



result: visual studio is stuck, build host does not show any error,but does not go past the mtouch command line.

If you paste/execute the generated command line in a mac console you'll see:

Undefined symbols for architecture i386:
  "_GAIErrorDomain", referenced from:
     -u command line option
  "_GAIProduct", referenced from:
     -u command line option
  "_GAIVersion", referenced from:
     -u command line option
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

error MT5210: Native linking failed, undefined symbol: _GAIErrorDomain. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
error MT5210: Native linking failed, undefined symbol: _GAIProduct. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
error MT5210: Native linking failed, undefined symbol: _GAIVersion. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
error MT5202: Native linking failed. Please review the build log.
Comment 1 softlion 2014-04-16 02:09:30 UTC
version to reproduce: beta channel, 7.2.1.34

=== Xamarin Studio ===

Version 4.2.4 (build 32)
Runtime:
	Mono 3.2.6 ((no/9b58377)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 302060000

=== Apple Developer Tools ===

Xcode 5.1 (5084)
Build 5B130a

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Xamarin.iOS ===

Version: 7.2.1.34 (Business Edition)
Hash: 87ada0c
Branch: 
Build date: 2014-04-08 14:27:10-0400

=== Xamarin.Android ===

Not Installed

=== Build Information ===

Release ID: 402040032
Git revision: a160c35dac9ab9fd32eeadaa171216316d5a5133
Build date: 2014-03-12 13:55:08-04
Xamarin addins: a779416ceabd54981ce812771a4061c942e8b872

=== Operating System ===

Mac OS X 10.9.2
Darwin mac-de-minimac 13.1.0 Darwin Kernel Version 13.1.0
    Thu Jan 16 19:40:37 PST 2014
    root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
Comment 2 softlion 2014-05-07 01:46:13 UTC
Fixed in latest stable version