Bug 1623 - Error after installing xcode_4.2_and_ios_5_sdk_for_snow_leopard
Summary: Error after installing xcode_4.2_and_ios_5_sdk_for_snow_leopard
Status: CLOSED NOT_ON_ROADMAP
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 2.8.1
Hardware: Macintosh Mac OS
: Highest critical
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-10-21 03:49 UTC by Amanda
Modified: 2012-01-04 09:41 UTC (History)
4 users (show)

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


Attachments
Log of last build (5.77 KB, text/plain)
2011-10-21 08:18 UTC, Amanda
Details
Info.plist (473 bytes, text/plain)
2011-10-21 08:19 UTC, Amanda
Details


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:
CLOSED NOT_ON_ROADMAP

Description Amanda 2011-10-21 03:49:36 UTC
After updating to xcode_4.2_and_ios_5_sdk_for_snow_leopard, I get the following error when building:

Error merging Info.plist: The given key was not present in the dictionary

I have Monotouch 5, Monodevelop 2.8.1 and Monoframework 2.10.6_1
Comment 1 Alan McGovern 2011-10-21 06:50:36 UTC
In order to diagnose this issue we'll need to take a look at the your actual Info.plist file and also get a full copy of the stacktrace from the error. The best approach would be build your project and then attach the full stacktrace to this bug report. I think this will be presented to you in an error dialog, but if it is not, it should be stored in the log file located in the 'Library/Logs/MonoDevelop-2.8/MonoDevelop.log' file in your Home directory.

Alternatively you could zip your project and attach it as a private comment to this bug report so we can diagnose and fix the issue locally.
Comment 2 Amanda 2011-10-21 08:16:28 UTC
Hi Alan

Thanks for your prompt reply. Please find attached the Info.plist file, and the log from the last build.

Thanks and Regards
Comment 3 Amanda 2011-10-21 08:18:34 UTC
Created attachment 748 [details]
Log of last build
Comment 4 Amanda 2011-10-21 08:19:42 UTC
Created attachment 749 [details]
Info.plist
Comment 5 Mikayla Hutchinson [MSFT] 2011-10-21 08:51:30 UTC
Are you sure you're running MD 2.8.1? Some of the initial issues in the log are issues I thought we fixed before MD 2.6.

It appears that MD is having trouble reading expected values from the Apple iOS SDK manifest. Is your project set to use an Apple iOS SDK version other than "Default"? If so, what is it? Is it a simulator or device build configuration?
Comment 6 Amanda 2011-10-21 10:28:30 UTC
Hi Michael

I think you have hit the nail on the head. I have installed all updates up to and including 2.8.1, without apparent incident. However,  the Monodevelop Info states that I am on v2.4.2. I have deleted the Monodevelop.app from the Applications folder, and re-installed v2.8.1 (without it wanting to replace existing version). However, the version in info remains 2.4.2. I cannot find any clear information on how to completely uninstall Monodevelop, which is what i think I need to do now. Do you have explicit instructions, or any other ideas on how to remove v 2.4.2 completely?

btw, I am not using the default option for the SDK version, but have set it to 5.0 for iPhone and simulator

Thanks so much for your prompt replies - most appreciated
Comment 7 Amanda 2011-10-21 10:37:29 UTC
Hi Michael

Another comment for your information. The log that I sent you earlier, was from the following 'Library/Logs/MonoDevelop/MonoDevelop.log' 


please note that the folder did not have a version number, perhaps this is relevant
Comment 8 Alan McGovern 2011-10-21 10:46:51 UTC
If you click on MonoDevelop -> About MonoDevelop and it does not say that the version is 2.8.1, then you are probably installing an older version from an old dmg file.

Removing old versions of MonoDevelop can be done simply by deleting MonoDevelop from your Applications directory, which sounds like what you did. Can you confirm that you downloaded MonoDevelop-2.8.1.dmg from http://monodevelop.com/Download and copied MonoDevelop into your Applications directory from there? That should be the only thing you need to do to install MonoDevelop.

Finally, the log file you need should be found in Library/Logs/MonoDevelop-2.8. If you do not have this directory then it sounds like MonoDevelop 2.8 is not what you have installed and running.
Comment 9 Alan McGovern 2011-10-25 06:37:32 UTC
Is this still an issue for you? If so, could you run through the steps in comment 8.
Comment 10 Amanda 2011-10-26 03:59:23 UTC
Thanks for the help

I had more than one installation of monodevelop. The installation I was using was not the installation being updated
Comment 11 Amanda 2011-10-26 04:00:06 UTC
.
Comment 12 Alan McGovern 2011-10-26 05:18:06 UTC
That's great! Do let us know if you have any further problems! Thanks for the report.
Comment 13 Atin 2011-12-29 01:15:07 UTC
We are using Xcode4.2 iOS5 and don't get any error related to Xcode.

Please close this issue.

Environments:
MAC 10.7
Mono Develop 2.8.5 Stable.
Mono Touch 5.0.4 Stable
Mono Framework 2.0.7 Beta
XCode4.2 iOS5.0