On Apr 18, 2011, at 14:54 , Howard Siegel wrote:
> Well, since I've gotten a few private emails to reveal the secret,
> and nobody has said it is against the TOS for this list......
>
> This works for XCode 3.2.6. I don't yet use XCode 4.x so don't know
> if this will work for it or not. I would also quit XCode before doing this,
> just in case.
>
> Go to the project folder and find the .xcodeproj file. Right-click (or
> Control-click) it and select Show Package Contents. When the package
> contents window appears, find the .pbxuser file (there might be multiple
> such files if the project was worked on by multiple folks and/or multiple
> computers). Open this file, which is XML, in your preferred text editor.
> Find the section with the comment "/* Project object */". There is most likely
> not a line in that section for the key "activeSDKPreference". If there is no
> such key, add the following:
>
> activeSDKPreference = iphonesimulator4.2;
>
> I found it after the "activeExecutable" key in that section, so I've been adding
> it in that same order.
>
> If there is already an "activeSDKPreference" entry, change it to
> "iphonesimulator4.2".
>
> Close the editor and the package contents window and then double click
> the .xcodeproj file to reopen the project. Now you should have entries for
> iPhone Simulator 4.2 and iPad Simulator 4.2 in the project settings pull
> down menu, with iPhone Simulator 4.2 probably already checked.
>
> - h
>
> On Fri, Apr 15, 2011 at 17:18, Howard Siegel <
email@hidden> wrote:
> I started with Xcode 3.2.5 and I'd never seen that behaviour. But since going to Xcode 3.2.6 I sometimes see the behavior and sometimes not. I would see it happening when I started a new project or opened an old project that had never been built. But if I opened a project that had been built with 3.2.5 it would not happen and would stay at iPhone Simulator 4.2.
>
> I finally got so frustrated by it that I started poking around in the various configuration files and found a way to get back the behavior I (and we) want. This is a kludge and there is no guarantee that this will work in Xcode 4.
>
> Not that I wanna keep secrets, but not sure if posting this will violate the TOS for the list, so I'll hold off on posting it for now.
>
> - h
>
>
> On Fri, Apr 1, 2011 at 14:51, Rick Mann <
email@hidden> wrote:
> I've been having the same problem, although I think it existed in 3.2.5. In some projects, it always switches back to iPad, in others, it switches to iPhone. I have not been able to figure out why.
>
> Seems to happen on Subversion commit (which I do outside of Xcode) or update.
>
> --
> Rick
>
> On Apr 1, 2011, at 11:52 , David Hoerl wrote:
>
> > I just upgraded to 3.2.6. I created a new iPhone project to test something out, and am running it sole in simulator. For some unknown reason, the project keeps switching it to the iPad simulator. Its happened about 20 times today!
> >
> > Am I missing something or is this a known bug?
> >
> > David
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Xcode-users mailing list (
email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> >
> > This email sent to
email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (
email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to
email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (
email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to
email@hidden