Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: How can I add an sdk to Delphi?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 5 - Last Post: Sep 24, 2015 1:19 AM Last Post By: Frank Staal
Frank Staal

Posts: 115
Registered: 12/9/99
How can I add an sdk to Delphi?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 18, 2015 6:56 AM
I've installed DXS and am trying to check out multidevice projects. I've created a simple one and want to deploy it to the various flavors of OS. Apparently there is just iOS9 and OSX Capitan in sofar Delphi is concerned, which means I cannot check out my current Yosemite and iOS8 iPod. How can I add earlier SDKs to the machine? An update to iOS9 is running, but I am not putting Captain on my Mac just yet...
Borja Serrano

Posts: 172
Registered: 1/10/13
Re: How can I add an sdk to Delphi?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 18, 2015 8:01 AM   in response to: Frank Staal in response to: Frank Staal
You can use the newer SDKs. The programs will still work on your iOS8.x devices and Yosemite OSX computers. The SDK that you can get from Delphi is the one offered by XCode on your Mac. If you are using XCode 7 you will get the newer SDKs.
Frank Staal

Posts: 115
Registered: 12/9/99
Re: How can I add an sdk to Delphi?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 21, 2015 12:58 AM   in response to: Borja Serrano in response to: Borja Serrano
Borja Serrano wrote:
You can use the newer SDKs. The programs will still work on your iOS8.x devices and Yosemite OSX computers. The SDK that you can get from Delphi is the one offered by XCode on your Mac. If you are using XCode 7 you will get the newer SDKs.

Apparently your first statement isn't correct because otherwise I wouldn't have noticed. I created a slightly more intelligent Hello World project and compiled it to OSX. Didn't work as I am running Yosemite, and not El Capitan. A way to build against OSX 10.10 is not there (or at least I don't see it). That same program I build to put on an iPod. This was running iOS 8.4, and failed. When I updated the pod to iOS 9 it worked... Again no way I can find to link against iOS 8.

If the sdks offered are the ones by Xcode, where is the rest? As I can build my programs for iOS 6 and Yosemite in Objective C.
Frank Staal

Posts: 115
Registered: 12/9/99
Re: How can I add an sdk to Delphi?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 21, 2015 3:15 AM   in response to: Frank Staal in response to: Frank Staal
I figured out how. You are correct in that it simply shows what is on the Mac system.

- I downloaded the various versions of Xcode that I think I need (which is 7, 6.4 and 5.1.1.);
- ripped out the various SDKs, located at /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform and the MacOSX.platform.
- copied them to the same locations in the current Xcode.
- run Xcode, PAServer and Delphi.
- Add an SDK through Tools > Options > SDK Manager > Add.
- Select config (this case 10.10), build and run program.
- And I see it popping up its form in Yosemite.
Thomas Schulz

Posts: 62
Registered: 12/6/99
Re: How can I add an sdk to Delphi?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 23, 2015 7:00 PM   in response to: Frank Staal in response to: Frank Staal
Frank Staal wrote:
I figured out how. You are correct in that it simply shows what is on the Mac system.

- I downloaded the various versions of Xcode that I think I need (which is 7, 6.4 and 5.1.1.);
- ripped out the various SDKs, located at /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform and the MacOSX.platform.
- copied them to the same locations in the current Xcode.
- run Xcode, PAServer and Delphi.
- Add an SDK through Tools > Options > SDK Manager > Add.
- Select config (this case 10.10), build and run program.
- And I see it popping up its form in Yosemite.

I am rusty on OS X, but it appears I will need both xcode 6.4 (ios7 support) and xcode 7.0 ...

But now I am thinking I may only need to grab the SDKs and do as you described? Is your app working on both ios7, ios8, ios9 using a single SDK / app submission?

Frank Staal

Posts: 115
Registered: 12/9/99
Re: How can I add an sdk to Delphi?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 24, 2015 1:19 AM   in response to: Thomas Schulz in response to: Thomas Schulz
Thomas Schulz wrote:
I am rusty on OS X, but it appears I will need both xcode 6.4 (ios7 support) and xcode 7.0 ...

But now I am thinking I may only need to grab the SDKs and do as you described? Is your app working on both ios7, ios8, ios9 using a single SDK / app submission?

Currently we have a few apps in the AppStore that are created with Xcode. It is my bosses wish to have one codebase, so ... Off to FireMonkey we have to travel.
As I always have the latest version of Xcode on my system, and notice I can simply hit Build and it works on my system I figured it will work via FireMonkey. Not! (unless I still do something wrong). My Mac is running Yosemite, the iPods I test on are updated to iOS9, so I'm not sure whether it works on all the versions of iOS. I havent had problems with the simulators though.

I do know that Xcode 7/DXS only showed me El Capitan as OSX platform to choose and it didn't run. Now it also gives me Yosemite and Mavericks as choice and I can run it on my machine. Guess the iOS side of things will work as well.

Future may change things, but at the moment I am keeping my programs in Xcode, until I've seen that I have a reliable version from FireMonkey as I use several external libraries to decode barcodes and run inside shell casings.

Keep us posted on your progress.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02