Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
I am trying to submit my app to apple, but my project won't compile to native code in xamarin. Two assemblies are creating issues, one of which I can't even find any references to. Here's the log:
Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/Desktop/myMoney_iPhone/obj/iPhone/thisone/mtouch-cache" --nomanifest --nosign -dev "/Users/Desktop/myMoney_iPhone/bin/iPhone/thisone/myMoney.app" -r "/Developer/MonoTouch/usr/lib/mono/2.1/Mono.Data.Sqlite.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/MonoTouch.Dialog-1.dll" -r "/Users/Desktop/myMoney_iPhone/Components/json.net-4.5.11/lib/ios/Newtonsoft.Json.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Data.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -linksdkonly -sdk "7.0" -targetver "5.0" --abi=armv7 "/Users/Desktop/myMoney_iPhone/bin/iPhone/thisone/myMoney.exe"
Xamarin.iOS 7.0.4 Business Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
warning MT3005: The dependency 'System.Json, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31bf3856ad364e35' of the assembly 'MonoTouch.Dialog-1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' was not found. Please review the project's references.
warning MT3005: The dependency 'Mono.Data.Tds, Version=188.8.131.52, Culture=neutral, PublicKeyToken=0738eb9f132ed756' of the assembly 'System.Data, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b77a5c561934e089' was not found. Please review the project's references.
warning MT3006: Could not compute a complete dependency map for the project. This will result in slower build times because Xamarin.iOS can't properly detect what needs to be rebuilt (and what does not need to be rebuilt). Please review previous warnings for more details.
error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
System.NullReferenceException: Object reference not set to an instance of an object
at MonoTouch.Tuner.InternalPInvoke.GetEntryPoints (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0
at MonoTouch.Application.StripNativeCode () [0x00000] in <filename unknown>:0
at MonoTouch.Application.Build () [0x00000] in <filename unknown>:0
at MTouch.Main2 (System.String args) [0x00000] in <filename unknown>:0
at MTouch.Main (System.String args) [0x00000] in <filename unknown>:0
I checked the latest of System.Data, and it seems to be up-to-date. No idea about System.Json. I tried to add the "System.Json" component from xamarin store but no help. Any thoughts appreciated. Thanks
Can you try to install Xamarin.iOS 7.0.6 from the alpha channel and see if that works?
When I try to update from the beta or alpha channels, it says "error retrieving update info." To get it to work, I deleted the files in "~/Library/MonoTouch" and MonoAndroid according to this forum: http://forums.xamarin.com/discussion/2290/xamarin-update-error-retrieving-update-information
But still it doesn't work. Here are the versions..
Current XS version is 4.2.2 build 2.
current Xamarin.iOS version is 220.127.116.11. Build date: 2013-11-11.
Xcode version is 5.0.5
Operating system is OS X 10.8.5
This looks like a temporary server problem, please try again a bit later.
@Kale, it's unlikely you're running into the same issue, so please file a new bug with a complete build log and we'll have a look.