Bug 16034 - Readonly info.plist
Summary: Readonly info.plist
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 4.0.13
Hardware: Macintosh Mac OS
: Low normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2013-11-08 03:41 UTC by Matthijs Koopman
Modified: 2014-01-21 08:40 UTC (History)
3 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:
VERIFIED FIXED

Description Matthijs Koopman 2013-11-08 03:41:22 UTC
When trying to save settings via the Xamarin Studio Project Settings editor that will be stored in the info.plist that is read only at that moment xamarin studio will show up a crash report.

Step to reproduce:

1. Make sure the info.plist file is read only
2. Edit some settings that will be stored in the info.plist file for you iOS app
3. Click OK

>> Xamarin studio will now come up with a crash report dialog and the settings wont be saved.
Comment 1 Jeffrey Stedfast 2013-11-08 17:08:18 UTC
it doesn't crash, it just shows an exception dialog
Comment 2 Matthijs Koopman 2013-11-08 17:18:01 UTC
Well allright, but it's also not saving.
And sometimes it actually does crash, I would expect a dialog asking me if I would like to make the file writable.
Comment 3 Jeffrey Stedfast 2013-11-08 18:16:15 UTC
Mike: how does the text editor normally handle read-only files? And where can I find the code?
Comment 4 Mike Krüger 2013-11-09 00:29:07 UTC
SourceEditorView.cs:668
Comment 5 Mike Krüger 2013-11-09 00:30:19 UTC
SourceEditorView.cs:203 - ReadOnlyCheckDelegate (but that's not from me)
Comment 6 Mike Krüger 2013-11-09 00:31:28 UTC
ah forget about the ReadOnlyCheckDelegate - it's not important in your case.
Comment 7 Jeffrey Stedfast 2013-11-09 10:49:10 UTC
Thanks Mike
Comment 8 Jeffrey Stedfast 2013-11-12 14:18:11 UTC
fixed in git master
Comment 9 Mohit Kheterpal 2014-01-21 08:40:30 UTC
Today we have checked this issue with following builds :

XS 4.2.3(build 146)76e7c7f6ca0e59052f2bb29f8179313510977377

Now when we make changes in read-only info.plist file then it ask to convert it in writable and save it without any error.
Screencast : http://www.screencast.com/t/saGg6mEDf 

Hence closing this issue.