Bug 26424 - Starter editor limit 128kb but exe size is 69120 bytes
Summary: Starter editor limit 128kb but exe size is 69120 bytes
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 8.6.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-01-26 12:04 UTC by Adrian
Modified: 2015-04-20 10:22 UTC (History)
4 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 NORESPONSE

Description Adrian 2015-01-26 12:04:00 UTC
Environment - 

Xamarin Studio
Version 5.7 (build 661)
Runtime:
	Mono 3.12.0 ((detached/a813491)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000068

Apple Developer Tools
Xcode 6.1.1 (6611)
Build 6A2008a

Xamarin.iOS
Version: 8.6.0.51 (Starter Edition)

I can build my application an use the simulator to debug the app but if I try to upload it to a device I'm getting the following error - 

"Error MT9005: User code size, 138240 bytes, is larger than 131072 bytes and requires a Indie (or higher) license. (MT9005) (Browser)"

The size of the .exe file generated is only 66048 bytes.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-01-26 13:24:15 UTC
Do you reference any library projects or components?

Can you do a "ls -la" of the bin/iPhoneSimulator/Debug/ directory so that we can check the size of all the assemblies involved?
Comment 2 Adrian 2015-01-27 03:51:55 UTC
Fastracks-MacBook-Pro:Debug Fastrack$ ls -l
total 192
drwxr-xr-x  29 Fastrack  staff    986 26 Jan 16:48 Browser.app
-rwxr-xr-x   1 Fastrack  staff  69120 26 Jan 16:47 Browser.exe
-rw-r--r--   1 Fastrack  staff  27855 26 Jan 16:47 Browser.exe.mdb
Comment 3 Adrian 2015-01-27 03:52:26 UTC
Fastracks-MacBook-Pro:Debug Fastrack$ ls -la
total 200
drwxr-xr-x   7 Fastrack  staff    238 26 Jan 17:20 .
drwxr-xr-x   5 Fastrack  staff    170 26 Jan 16:50 ..
-rw-r--r--@  1 Fastrack  staff   6148 26 Jan 17:20 .DS_Store
drwxr-xr-x  39 Fastrack  staff   1326 26 Jan 17:20 Browser.app
drwxr-xr-x   3 Fastrack  staff    102 26 Jan 17:20 Browser.app.dSYM
-rwxr-xr-x   1 Fastrack  staff  65024 26 Jan 17:20 Browser.exe
-rw-r--r--   1 Fastrack  staff  26719 26 Jan 17:20 Browser.exe.mdb
Comment 4 Rolf Bjarne Kvinge [MSFT] 2015-01-27 04:10:25 UTC
Can you zip up and attach your project so that we can look at it?
Comment 6 Adrian 2015-01-27 04:19:36 UTC
Project attached as private. I've had to delete the bin and obj directories so its small enough to upload.

Thanks for your help
Comment 7 Sebastien Pouliot 2015-01-27 16:47:59 UTC
I do not see this error while building your attached project (tried both simulator and device builds) using starter.

Could you add "-v -v -v -v" to the "Additional mtouch arguments" in your project options, do a full Rebuild (or Clean and Build) and attach the entire build log to the bug report ?
Comment 8 Sebastien Pouliot 2015-04-20 10:22:58 UTC
Closing (no answer). If you can still duplicate this issue please provide us with the information requested in comment #7 (and also update the version information if you updated any of the software being used).