Bug 543 - Xcode 4 prompts to upgrade new projects
Summary: Xcode 4 prompts to upgrade new projects
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 2.8 Alpha 2
Hardware: Macintosh Mac OS
: High normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-08-30 13:18 UTC by Joseph Hill
Modified: 2012-01-26 16:27 UTC (History)
3 users (show)

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


Attachments
Full warnings from Xcode 4 (and yield sign) (95.67 KB, image/png)
2011-08-30 13:18 UTC, Joseph Hill
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:
RESOLVED FIXED

Description Joseph Hill 2011-08-30 13:18:34 UTC
Created attachment 215 [details]
Full warnings from Xcode 4 (and yield sign)

When MonoDevelop opens a XIB in Xcode 4, the user is prompted to upgrade to the latest project format, as well as to make some other meaningless changes to the project.

Steps to reproduce: 
1) Create a new MonoTouch Single View Application - iPhone
2) Double click the xib

When xcode opens, it will prompt you to upgrade the project.  

Target 'tmpXib1' - Upgrade Compiler configuration to LLVM
...
Target 'tmpXib1' - Remove Obsolete Build Setting
...
Target 'tmpXib1' - Upgrade to latest Project Format
...

If you have dismissed the warning in the past, the warning may only show up as a yellow yield sign in the status area in the top of the main window.  

Screenshot of both attached.
Comment 1 Alan McGovern 2011-08-30 13:23:04 UTC
Perfect, thanks! I was looking for a repro for this. I'll get this fixed by tomorrow. I may not get round to it today as it is 18:30 ;)
Comment 2 Alan McGovern 2011-09-21 06:40:02 UTC
Jeff, did you do some commits to fix this or does it need to be worked on still? I vaguely remember seeings some commit messages which looked like they dealt with this.

If it hasn't been fixed, just reassign back to me and I'll do it.
Comment 3 Jeffrey Stedfast 2011-09-21 10:22:28 UTC
I don't think I've fixed anything regarding this issue.
Comment 4 Jeffrey Stedfast 2011-12-20 18:56:09 UTC
Alan: do you know what the issue is with this? If so, and you are busy, give me what info you have and I can look into fixing it.
Comment 5 Alan McGovern 2011-12-20 21:16:22 UTC
I've covered most of this already. I've regenerated all the xib files using Xcode 4.2. To verify I haven't missed any, just generate a 'universal' project of each type, open the xibs in xcode and verify that xcode does not try to upgrade/rewrite them.

The other half of the work, which I haven't started yet, is to modify the output of your xcproj generator to generate xcode 4.2 style project files. It seemed a low enough priority that I didn't think it worthwhile.
Comment 6 Alan McGovern 2011-12-22 05:50:15 UTC
Xcode 4.2 is not available for SL users unless they have a paid apple developer account. If we wish to continue supporting MonoMac on SL we cannot make a wholesale change to update the xcproj files.
Comment 7 Jeffrey Stedfast 2011-12-22 13:57:44 UTC
Perhaps I'm missing something (or because I'm not on Lion?), but Xcode doesn't give me any offers to upgrade any .xcproj files for me.

Do you have a list of what the differences in the xcproj file format are?

I'd actually like to hack on this if so.
Comment 8 Alan McGovern 2012-01-04 10:17:07 UTC
I have no idea what the changes are, but I also don't think there's any benefit to modifying the generated xcproj format. We still need to be compatible with Xcode 3 unless we want to officially remove support for MonoMac development on Snow Leopard. I'd say we should just close this one as the important part has been done (updating monotouch to xcode 4 xibs/storyboards).
Comment 9 Alan McGovern 2012-01-16 08:36:07 UTC
As we do not want to modify the project format so we retain backwards compatibility with xcode 3 (for now), I am closing this.
Comment 10 Mikayla Hutchinson [MSFT] 2012-01-16 15:48:31 UTC
That doesn't make sense. We have never supported Xcode 3 syncing.
Comment 11 Jeffrey Stedfast 2012-01-26 16:27:06 UTC
This seems to have been fixed. The project.pbxproj files that we generate have all the correct values.