Bug 3282 - --new-refcount won't build on iPhone only Simulator
Summary: --new-refcount won't build on iPhone only Simulator
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2012-02-08 23:20 UTC by David N. Junod
Modified: 2012-02-10 06:34 UTC (History)
2 users (show)

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:

Description David N. Junod 2012-02-08 23:20:47 UTC
In 5.2 there is a new Build flag --new-refcount which works fine on the simulator.  But when I tried to build any flavor (debug, release, adhoc) for the iPhone, it won't build.

Error: mtouch exited with code 1 (wtkJams)
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-02-09 04:22:39 UTC
You need to enable sgen for it to work (in the iPhone Build -> Advanced tab).

If this doesn't fix it, please add -v -v -v to the additional mtouch arguments, rebuild and include the full build log.
Comment 2 David N. Junod 2012-02-10 06:34:39 UTC
You need to update the doc for --new-refcount to include that information.