Xcode 4.1 / 4.2 project compatibility? - backwards-compatibility

All:
I have the option to upgrade to Xcode 4.2, but my students, in their computer lab, do not. Are there any project compatibility issues? Specifically, can my Xcode 4.2 open an Xcode 4.1 project, and can an Xcode 4.1 project open an Xcode 4.2 project?
Related to this, I see that Xcode 4.2 has quite a few new features (e.g., storyboarding). If I fire up Xcode in 4.2 in class, but don't use, say, storyboarding, are my students going to see any significant differences?
Thanks much for any insights,
Michael

Yes, Xcode 4.2 projects can be opened in Xcode 4.1 and vice versa.
In fact, the Xcode file format even in Xcode 4.2 is "Xcode 3.2 compatible". So you can actually open Xcode projects created in Xcode 4.x in Xcode 3.2.x and vice versa.

To see the differences between versions, look at what is called the changelog.
http://mac.softpedia.com/progChangelog/Apple-Xcode-Changelog-7935.html

Related

Visual Studio Mac Won't Show iOS Simulators

I've got a Xamarin Forms solution with iOS and Android projects. The iOS side was working, I switched over and did a bunch of work on the Android side. Now I need to do some more iOS stuff (push notifications) and I can't get the iOS Simulator to kick in. Xcode is installed, VS says it can see the SDK. I can open the simulator from XC but inside VS no matter what Debug combination of the .iOS project I select all I get is "Generic Simulator". Any ideas?
Try Unload the IOS Project and Reload and Set as a Startup Project, it works for me
See the answer in the comment provided by #lowleetak:
Is the minimum supported version in Info.plist less than or equal to
the version of iOS Simulator that you have?
This was the issue. The project settings listed 10.2 as the target SDK but the info.plist file had 10.3 which wasn't installed on the machine via Xcode. The machine has Xcode 8.2.1 and iOS 10.2 installed.
Additionally there's now a bug opened about this behavior. If the two fields are going to allow different values there should at least be a warning next to them about the mismatch.
I also showed Generic Simulator only on my project after updating to XCode 14 early. At the release of XCode 14 the stable Visual Studio for Mac (Xamarin) release did not yet support this version of XCode. Even the preview channel was not yet ready. Guidance from Xamarin.iOS discussion group was that the special XCode14 channel could be used to evaluate. https://github.com/xamarin/xamarin-macios/issues/15954

Cannot build project when targeting device in xcode

I'm using Xcode 6.1 and I get the error Security/SecAccessControl.h file not found
plus some other errors you can see in the image here. (this is a swift project). The same happens with Objective C projects (just add 10 errors)
These errors occur only when I target my real device, and not when I target the simulator. I have iOS 8.1 installed on the device.
Deployment is set to 8.1
This happens to all projects even new empty projects.
This seems to be a bug in Xcode 6.1 but I'm not sure.
Any fixes/workarounds or preferences I need to know about?
Reinstalling Xcode solved this issue

Is there a way to remotely build Xamarin.iOS with sdk 6.1 in VS2012?

I have an iOS project that was developed for iOS6.1 and I need to be able to build it for both iOS6.1 and iOS7. I updated all tools from Xamarin and upgraded to OSX Mavericks and iOS 7.0.3 on the iPhone. So at this time I have all latest versions.
When I start to debug the project from VS2012, the app that starts on the iPhone is always an iOS7 app. I added the iOS6.1.sdk to Xcode 5 so back on the Windows machine I can select this SDK in VS2012 for compilation.
But it seems that, whatever SDK I choose in the project settings, it always returns:
-debug -linksdkonly-sdk "7.0"-targetver "6.1" --abi=armv7 (arguments taken from the mtbserver.log on the building host)
If I build the project with Xamarin Studio on the Mac the behavior is as expecting when changing the version of the SDK.
Is there a way to get around this when building remotely with VS2012?
That's a bit uncommon and it sounds like a bug - you should file it on bugzilla so it will be confirmed (and fixed if it's the case).
Most people I know install several Xcode side-by-side, i.e. they do not copy an old .sdk directory into a newer Xcode release.
You might want to try this (the trick is to rename Xcode.app before installing the new one) and then set the VS addin to the older (e.g. Xcode46.app) directory when you need to build for iOS 6.1.

Monotouch Error: The apple Iphone SDK s not installed

I am finding this error after i installed Xcode 4.6.2. I used to work with Monotouch and Xcode 4.3 and i was able to build monotouch applications.
When i upgraded Xcode to version 4.6.2 I am unable to build the application in Monotouch. I am getting the error Apple Iphone SDK is not installed. Also when i check the version information in Monodevelop i am getting Apple Developer Tools:(Not Found).
In preferences when i check the SDK locations it is displaying SDK is found in default location. I dont know what the issue is.
You can change the iPhone sdk location to your new xcode location in the options of your monotouch project.
What is the version from MonoTouch / Xamarin.iOS? Are the Xcode command line tools installed?

MonoTouch 5.0: Get MonoDevelop to use iOS 5 SDK/Simulator

I upgraded to Lion, MonoDevelop 2.8 and MonoTouch 5.0 and the Apple iOS 5 SDK. All smooth.
I installed the iOS 5 SDK into a different-than-default folder.
How do I get MonoTouch to use the new simulator? Under the menu Project/iPhone Simulator Target only 4.3 and below appear. However, I can set the OS target of the project in properties to 5.0
Perhaps MonoTouch needs to be told where 5.0 is?
How?
Have you tell MonoDevelop where to look ?
Use MonoDevelop menu;
Select Preferences...* item;
Under Others select SDK Locations in the left tree view;
Select manuall the location of the iOS5 SDK
i.e. the one at the default location is likely the iOS 4.3 SDK
UPDATE! 5. Restart MonoDevelop

Resources