Test OSX App on Yosemite from ElCapitan - xcode

I have developed an OSX for 10.10 and above. This app works with a device in which whenever I connect device and perform some operation, the data on device gets updated on the server. This works fine on El Capitan but one of our client has mentioned an issue on Yosemite, but I've update my Mac from OS X Yosemite 10.10.4 to OS X El Capitan 10.11.1 recently. I've heard that Xcode scheme can be used to define targets for build, but I'm not much aware of using schemes. Is there anyway to simulate Yosemite on El Capitan for testing? Is there anyway to do this through Xcode?

You can choose the Deployment Target in the project settings:
However, it's not 100% reliable even if 10.10 SDK was used to compile on 10.11.
Some XIB files produced on 10.11 in Xcode were sometimes not compatible with 10.10 and not detectable when testing on 10.11, but will crash on 10.10.
e.g. When I use 10.9 SDK to compile a project on 10.10 result in crashes when the NIB files get loaded on 10.9. Some other 10.10 users reported crashes running 10.11 compiled binaries for unknown reason...etc.
To be sure it's 100% working, you should consider setup virtual machines of older versions of OS X.

Related

Xcode El Capitan Extensions not Compatible with Yosemite

So i have built a finished app using xcode 7.1 and el capitan, it works fine when running on el capitan but the today extension doesnt work on yosemite. If i take the exact same project and build it on xcode using yosemiti then it works fine on both operating systems.
My Questions.
Why doesnt building it on yosemtie make it forwards compatible El Capitan and not the other way around
Why does building it on El Capitan break the today view on yosemiti.
This is really starting to annoy me know because i know its a xcode problem and not a coding bug.

I want to run xcode project on OS X Yosemite as if it was run on OS X El Capitan

I am working on a Mac project and have xcode v 7.0.0, OS X Yosemite. But when my unit tests are running under OS X El Capitan, there are some methods that returns another number, and my tests fails. My Build Setting > Base SDK is setted to OS X 10.11.
I don’t know if there’s a better way, but we use virtualization (VMware) to test on older OS X releases. It’s a heavyweight solution, but it’s almost perfect in reproducing the behaviour of a real Mac with the older OS X version, which is crucial for testing.

Compile for 10.5/10.6 & PPC

I'm needing to compile a C++/C/Objective-C project for 10.5 (ppc, intel)+ however Xcode 4+ (using 4.6) drops support for 10.6 and i believe Xcode 4 completely dropped support for 10.4/ppc. I have read existing StackOverflow and other posts about installing Xcode 3.2.6 on Mountain Lion but i don't want to do this if it's unconfirmed/will break my system..
I've tried virtualising Snow Leopard in a VMware Fusion 5 Pro VM but it doesn't allow me to as it is not a server version.
Besides buying a Snow Leopard Server DVD, how else can i compile my project for 10.4+ (ppc,intel)? I am currently running OS X Mountain Lion 10.8.3. Setting the deployment target does not work in my Xcode version, doesn't compile. I've also considered virtualising Lion, however i do not have a backup copy of (my purchased via app store) install dmg/app and i can't seem to find the download in the App Store.
Can anyone suggest what i should do or am i basically left with one option.. Dual boot Snow Leopard?.
Thanks!

Mac application with snow leopard canot run in leopard os

I am working in a mac application with snowleopard.This application is created with leopard os,but this not support in lion due to some external application.So we converted this to snow leopard and work fine .Now the client need to convert this application to leopard version ,for that i am using the xcode 4.2 and lion os and convert the bsec SDK to Mac osx 10.5 and Architecture to 32_bit intel ,but we getting an error "The run destination My Mac 64-bit is not valid for Running the scheme 'AppName'."
How can avoid this error ?
I want to test this application with 10.5 os, but we have only the 10.6 & 10.7 osx,
1)where we get the leopard osx ?
2)Has the Apple issue leopard osx now?
3)Is any problem for instal the leopard os to new MAC system(iMac,Macmini,Macbook)?
I had the same problem a while back, but I'm recalling the solution from memory, as my company dropped 10.5 support meanwhile. The details might be a little bit off, but it should get you going in the right direction:
Grab the latest version of Xcode 3 from the Apple Website
Install it on a Mac. (Make sure you removed the Developer directory if this Mac had another version of Xcode already installed).
Under /Developer, locate the 10.5.sdk directory. Move this directory to a save place (outside of /Developer).
Install Xcode 4.2.
Look where Xcode 4.2 installed its sdk's. Put your previously saved 10.5.sdk directory next to it.
Restart Xcode. There should be 10.5 SDK option in the SDK drop down menu now.

Is there a workaround for Qt 4.4 visual artefacts on Mac OS X 10.6 (snow leopard)

My software is written in Qt 4.4.2 using XCode on Mac OS X 10.5. It runs fine on Mac OS X 10.5. But when it is run on Mac OS X 10.6 it shows some strange visual artefacts when drawing the drop-down menus of QComboBoxes. Apparently it affects every QComboBox.
4 people with Mac OS X 10.6 who have tried it have reported the same behaviour, so it isn't a quirk on one machine. Everything else apparently looks fine.
The combo boxes function OK, but it doesn't look great. Aesthetics are important for commercial apps, especially on Mac OS X.
Has anyone else seen this behaviour with Qt apps on Mac OS X 10.6?
Is there a workaround?
There is a patch:
http://labs.trolltech.com/blogs/2009/08/31/qt-46-on-mac-os-106/
But it appears to only partially address the problem on Qt 4.4. See:
http://successfulsoftware.net/2009/09/03/qt-visual-artefacts-on-mac-os-x-10-6/

Resources