Bug 16345 - Adding library to Bindings Project hangs
Summary: Adding library to Bindings Project hangs
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2013-11-19 14:47 UTC by kenny goers
Modified: 2014-01-21 06:16 UTC (History)
6 users (show)

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

Library that fails (4.43 MB, application/octet-stream)
2013-11-19 14:47 UTC, kenny goers

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:

Description kenny goers 2013-11-19 14:47:10 UTC
When I add a library to a bindings project, the environment hangs and needs to be "force quit"  I've attached the library for you convenience.
Comment 1 kenny goers 2013-11-19 14:47:54 UTC
Created attachment 5476 [details]
Library that fails
Comment 2 Jeffrey Stedfast 2013-11-19 16:23:56 UTC
Strange... it works for me. Do you maybe not have the Command-Line tools installed (from Xcode)?
Comment 3 kenny goers 2013-11-19 16:49:37 UTC
I did install the command line tools, HOWEVER, I had a problem with LIPO going into a infinite loop from the command line, this seems to be a known bug with Mavericks.  Does the import use LIPO to get info on the contents?
Comment 4 Jeffrey Stedfast 2013-11-19 16:59:08 UTC
yes, it uses the lipo command.

I'm not on Mavericks, so that might explain why I don't get the hang.
Comment 5 narayanp 2013-11-20 07:06:20 UTC
I have checked this issue with following builds and I am unable to reproduce this issue:

Maverick and Lion
X.S 4.2.1 (build 1)
Mono 3.2.4

I am successfully able to add attached library in iOS Binding project and XS does not get hang. This is the screencast for the same: http://screencast.com/t/sP5rvXXwaZgG

Could you provide more steps or screencast over here?
Comment 6 Hoa 2013-11-22 05:17:46 UTC
I have the same problem, here is my config:

Mac OS X 10.9.0
Xamarin: Version 4.2.1 (build 1)
	Mono 3.2.4 ((no/294f999)
	GTK+ 2.24.20 theme: Raleigh
	GTK# (
	Package version: 302040000
Apple Developer Tools
Xcode 4.6.1 (2067) 
Build 4H512

Version: (Business Edition)
Hash: 23a0827
Build date: 2013-11-11 16:04:00-0500

I've updated Mono to the version 3.2.5 but the problem is not solved.

I've install command line tools in Xcode too. My Xcode is 4.6.1 but not 5
Comment 7 narayanp 2013-11-26 06:18:55 UTC
I have again checked this issue with following builds:

Maverick 10.9
X.S 4.2.1 (build 1)
Mono 3.2.4
Xcode 5.0

I am also able to reproduce this issue on Maverick only. This is the IDE log for the same: https://gist.github.com/AkhileshKumar01/2e251d390c5f71f37a00
Comment 8 Jeffrey Stedfast 2013-12-02 15:08:47 UTC
I just had a coworker on Mavericks try and he cannot reproduce the hang either, so I don't know...

I've changed the code to kill lipo after 1 second and also changed the code to use the Xcode lipo instead of the system lipo, so maybe that will fix this?
Comment 9 narayanp 2014-01-21 06:16:34 UTC
I have checked this issue with following builds

Maverick and Lion
X.S 4.2.3 (build 146)
Mono 3.2.4

I am successfully able to add attached library in iOS Binding project and XS
does not get hang.