Compatability issues with Mac OS X 10.6 application - xcode

I tried to test the USBPrivateDataSample application downloaded from developer.apple.com. I tried to run the application but it is showing error like, "error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk".
I am using mac osx 10.6. And target the application to 10.6. But still I am getting the same error, I don't know where I need to change the target OSX, I have already changed the targets of MACOSX_DEPLOYMENT_TARGET = 10.6. Still I am getting the same error,
Can you guys please help me on this?
Thanks in advance,
Chandra.

Change the Base SDK to the 10.6 SDK.

If you are using xcode 3.x with mac os x 10.6 then double click on target in project navigator. There will be open build setting change base sdk to 10.5

Related

Mac OS X exported .app won't run

I am adding functionality to an existing OS X application. I can run the app within Xcode (6.1) just fine. However, when I archive the application, then click "Export...", then select "Export as a Mac Application" (I don't have an account to sign with), then try to run the resulting .app file, I get a problem report saying my app can't be opened because of a problem:
"Check with the developer to make sure MyApp works with this version of OS X. You may need to reinstall the application. Be sure to install any available updates for the application and OS X."
The base SDK of my project is 10.10. The OS X deployment target is also 10.10. My machine is running OS X 10.10. Anyone know what could be going wrong? Is my exporting procedure wrong? Any incite is much appreciated.

Where to find SDK 10.7 for Xcode

I am using Xcode 5.1 and want to compile my app against Base SDK 10.7. However I just see SDK 10.8 and 10.9.
Where can I find the 10.7 base SDK ? I use
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1080
command to check sdk version at compilation time. Thanks.
https://download.developer.apple.com/Developer_Tools/xcode_4.3.3_for_lion/xcode_4.3.3_for_lion.dmg
You'll need an Apple login to download the file, but you don't need a paid App Store developer account.
Mount the image, right-click Xcode.app, then Show Package Contents. You will find MacOSX10.7.sdk in Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs.
Read the "Compatibility" section in the following link:
https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/00-Introduction/Introduction.html
Xcode 5.1.1 requires a Mac running OS X v10.8.4 (or later), or OS X
v10.9. It includes SDKs for OS X v10.8, OS X v10.9, and iOS v7.1. To
develop apps targeting prior versions of OS X or iOS, see “About SDKs
and the iOS Simulator.”
Also with release of new OS's and SDK's, Apple deprecate the old deployment targets, and restrict us to submit using new Xcode version only. In such a case you cannot go back to 10.7.

Xcode for mac OS X 10.6.3?

Is there a version of xcode available for mac OS X 10.6.3? I did several searches on google but the only versions that i find is for 10.6.6 and up.
And xcode 3.2.5 is for leopard and not snow leopard.
I want to use it for developing for Iphone and Ipad.
Thanks.
Have you checked here: http://connect.apple.com/
You need to login using your Apple ID. Also, as Analog File mentioned, that version is probably deprecated and you won't be able to submit your app to the App Store if you build one with it.

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.

OS X App - deployment target set to 10.6 in Xcode, but app only runs on 10.7

I've just discovered that my current version of the app doesn't launch on 10.6.
It used to work fine in 10.6 before. So I must have changed something in recent versions. So before I dive in and start comparing the source codes, is there a way to find out what cause the app not to launch in 10.6 but works fine in 10.7.
Details:
Xcode 4.3
LLVM compiler 3.1
Deployment target set to 10.6
Also, would Xcode warn me if I'm using a 10.7-only API in my code?

Resources