Mac application how to add Store Kit - xcode

My Xcode is 4.2. And I am not able to get Store kit in the build phase. and if i add manually taking the framework from the iOS folder I am getting error in framework itself. How can i add Storekit to my mac application for doing in App purchase in the application

In app purchase for Mac is only available for Lion version. for iOS devices we can add in app purchase in Leopard OS but for Mac we need to update to MAC OS X Lion

Related

How to choose Xcode version, SDK and toolchain to develop for Mac OS X?

Recently I installed mac OS Mojave. Now I starts my way with Xcode. So I have an application for which I use Qt5.5.1, this version was build with deployment 10.7 and sdk 10.10. Also I have another Objective-C application which was build with deployment 10.7 and sdk 10.11. I need to build both apps for minimum Mac OS X 10.7 version with any later versions supported. It is situation. Now questions:
There is a any difference which Xcode use to build?
Which version Xcode is optimal as IDE? AppStore has very negative rating for latest.
There is a any difference which toolchain use? Or I always should use one provided with Xcode?
Should I use the same SDK as SDK used in base library? Or it is free to use latest?
It is ok to use foreign SDK not provided with installed Xcode version?
Now I can build the both applications with latest Xcode and SDK 10.11. Seems no any problem. But I want to be sure that will no any problems to run and use on 10.7. And want to know correct way to decide which Xcode/SDK and when should to use?
P.S. Applications for PC only, no need any iOS support.
You should use the most recent version of Xcode that will run on your Mac and the SDK that ships with that version. Currently the most recent version of Xcode is 10.1, which ships with the macOS 10.14 SDK. By using the 10.14 SDK your app can take advantage of the features introduced in macOS 10.14, such as dark mode. If you build your app with the 10.11 SDK, your app won't be able to take advantage of anything Apple added in 10.12, 10.13, and 10.14. For one thing your app won't look good in dark mode on 10.14.
To support 10.7 in your app, you must set the deployment target for your project to 10.7. The deployment target is the earliest OS version your app supports. You also have to make sure your app doesn't use any technologies or call any functions that were added after 10.7. That means no storyboards, no Swift, and no base internationalization for localizing your app to other spoken languages. Making sure your app uses only things that are available in macOS 10.7 is not easy. That is why many apps support only the most recent version of macOS and 1-2 previous versions.

Can I develop apps for Lion on a Snow Leopard machine?

Currently I am developing a Mac OS X app with XCode 3.2.5 on Mac OS X 10.6.8, the target is Release i-386. Will my app run normally on Lion?
Do I need to use XCode 4.0+?
Thanks
Every app built under the 10.6 SDK should, theoretically, work just as well under 10.7.
And you can use Xcode 3.X too, if you want. But yes, I'd recommend using the latest and greatest versions of Xcode (version 4) for development.

Build app so it can run on different versions of OS X

I have an app that needs to be run on MAC OS X 10.5,10.6,10.7
I'm using XCode 4.02 and iOS SDK 4.3. My build settings are 10.6 MAC OS X, and Deployment target is 10.5.
Is this the right way to do it, or I should use the Mac OS X 10.5 SDK? I can't find it, I have only 10.6.
Right now my application runs on 10.5, but not properly.
If you are a serious apple developer, you should upgrade to Lion. You should also be using the latest SDK, OSX 10.7 that comes bundled with the latest version of XCode 4.2.X (It's free from the MAC APP Store). If you need to have your app run on previous versions of OSX, the correct way to do this is to set the "Deployment Target" (found in the build settings) to 10.5.
XCode/SDK updates are just like any other software update, they contain bug fixes and more importantly security patches, so you should ALWAYS be using the latest versions.

App Created in XCode 4 running in Xcode 2.5?

I've to run some security tests on an App created by an external company for my work. The app they've created will have been done in XCode 4.x, though my work only has access to a Mac capable of running Xcode 2.5 (OS X 10.4.11).
Will the app open and run correctly in XCode 2.5 or will there be compatability issues?
Thanks
It won't be able to open the project.
Since the mac you have access to is limited to OS X 10.4, I asssume it is a PowerPC mac - in this case, you can't use the iOS SDK (if this is an iOS app) anyway as this is limited to Intel machines.

Question iOS SDK 4.0

I am trying to locate IOS SDK 4.0. But I'm unable to find it. I'm currently running v10.5.6 osx and I'm unable to install the xcode iOS 4.2 cause it says I require 10.6.
Will iOS SDK 4.0 work?
Thanks
iOS SDK 4.0+ requires Snow Leopard / Mac OS 10.6+.
What are the system requirements for the iOS SDK?
To develop with iOS SDK and participate in the iOS Deeloper Program you must have an Intel-based Mac running Mac OS X Snow Leopard. Refer to the iOS SDK Read Me document for full details on system requirements. You must be registered as an Apple Developer in order to access the iOS SDK and iOS SDK Read Me document.
Compatibility: Xcode 3.2 requires an Intel-based Mac running Mac OS X Snow Leopard version 10.6.4 or later. Note: some distributions of Xcode do not include the iOS SDKs; you can verify their presence in the Installer’s “Custom Install” pane.
Taken from About Xcode and IOS SDK
No, you cannot install it on anything under 10.6: How to install iphone sdk 4 on Mac OSX 10.5.8

Resources