Creating a LiveCode IOS standalone application - xcode

I just started to use LiveCode and tried to create a standalone IOS app and get the following error:
"There was an error while saving the standalone application performing
iOS device builds requires the iOS 5.0 SDK platform to be installed"
We are using Xcode version 4.5.1 which includes the IOS 6 SDK along with LiveCode version 5.5.1 and thought that all needed SDK's would be installed when we installed Xcode.
We also don't know where to get the IOS 5.0 SDK and how to get it installed in Xcode so LiveCode can use it.

You only need iOS 5 SDK if you are deploying an armv6 or universal app. If you are deploying armv7 only then you won't get this error if you have iOS 6 or 6.1 SDKs. If you do that though your app won't support older armv6 devices from iPhone 3G back. When the standalone is built LiveCode needs the SDK that the engine was built against. This is why when a new SDK comes out LiveCode won't support it until its next release. If your using LiveCode it's worthwhile getting into the habit of retaining each version of Xcode.

Try upgrading to Xcode 4.5.2 and then take a look at this link: http://forums.runrev.com/viewtopic.php?f=49&t=9339

Related

Can I open projects built with Xcode 12 in Xcode 11?

So I received this react native project, as a devops I have to get the app out of it and deploy to play store as well as Apple AppStore. I have successfully gotten the android apk but I have been having issues getting the release bundle for iOS. It says the project was built with a higher version of Xcode (probably Xcode 12), but I am using Xcode 11. Please is there anyway around this since I can not install Xcode 12 on my Mac due to it being outdated.

Your application is using the 'HealthKitUI' framework

I recently updated Xamarin. Ever since that time, I have been unable to build my iOS application due to this error:
Your application is using the 'HealthKitUI' framework, which isn't
included in the iOS SDK you're using to build your app (this framework
was introduced in iOS 9.3, while you're building with the iOS 9.2
SDK.) This configuration is only supported with the legacy registrar
(pass --registrar:legacy as an additional mtouch argument in your
project's iOS Build option to select). Alternatively select a newer
SDK in your app's iOS Build options.
Has anyone else seen this? I haven't changed anything in my code.
Looks like you need to upgrade to Xcode 7.3. Could you perform that update and let us know?
iOS 9.3 requires Xcode 7.3 support, these were added in Xamarin.iOS 9.6.0.0: https://releases.xamarin.com/stable-release-ios-9-3-xcode-7-3-support/
Also, check out the following for information on iOS SDK releases against Xcode releases.

Is it possible to install iOS 7 SDK on Xcode 6?

I have Xcode 6 installed but realise that I am only able to develop for iOS8. I am aware that this beta development kit is meant for the development of the iOS 8 beta release but I am in a position where I don't have the time yet to develop for it but wish to take advantage of some of Xcode's new features while I am developing for my current iOS 7 apps.
What can I do to get the iOS 7 SDK installed on xcode 6?
Seems like if you symlink the relevant SDK from a previous installation of Xcode to the Xcode 6 Beta directory, Xcode 6 will be able to use it. Assuming you still have Xcode 5.1.1 on your machine, try the following in terminal:
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
This should link the iOS 7 SDK for iPhone (not sim), allowing you to select iOS 7 as the Base SDK in Xcode 6 Beta. If you want to do this for the simulator, replace iPhoneOS.platform with iPhoneSimulator.platform.
NOTE: Just because you have the iOS 7 SDK now doesn't mean it'll build. I'm personally having trouble with the fact that Xcode 6 Beta is using the Apple LLVM 6.0 compiler, which apparently isn't compatible with some of the stuff I'm trying to build.
ref: https://stackoverflow.com/a/11424966/2383003
Just posting so that someone might find it useful: I wanted to debug my app in iPhone running iOS 7.1, in XCode 6.0.1. The previous iOS version was not being listed in the settings page, to choose as base SDK/deployment target. (I'm using OS X 10.10 Yosemite). I installed both XCode 6.0.1 and Xcode 5.0.1 and copied
/Application/XCode501.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
to
/Application/XCode601.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
Now I'm able to run iOS 7 apps from XCode 6.0.1.
I changed the deployment target just fine and installed on my iOS7 iPhone 4s all the same. You can do all your development this way and then use 5.1.1 to make your relevant builds. I wouldn't advice to build apps for production in this beta environment even if you could.
Just repeating Christian's comment (on Ziewvater's answer) so it's more prominent:
What's strange is the fact that after adding the symbolic link to my Xcode folder, I see my device twice with the exact name and with some infos (iOS build number, model, device identifier) in the target selector in the upper left corner of Xcode. Depending on which of the both entries I chose, my app works fine or not, no matter which BASE SDK I chose. ??! Anybody experiencing the same?
This is exactly my experience also! Me and my team were tearing our hair out trying to understand why some builds seemed to be working and others were not.
It looks like Apple must be ignoring the base SDK (or target... or something) when you pick the wrong device from the list.
in Xcode 6.1.1 (Window -> Preferences - Downloads) you can install iOS 7.1 simulator. unfortunately it doesn't install iOS 7.1 SKD. if you set deployment target to 7.1 all builds without any trouble. be worry!!!! it is up to you to check the compatibility with 7.1 (SDK is still 8.1). so or so, all runtime trouble should be seen in simulator. i use this approach to build for my iPhone 4 in swift, where iOS 7.1.2 is the last available. (simply don't use any classes available only for newer devices :-))

Xamarin.iOS Target iOS 6 SDK

We have upgraded to XCode 5 and Xamarin.iOS 7.x, but have one app we are not quite ready to support iOS 7 for yet.
Is there a way to target the iOS 6.0 SDK, and compile the app so that it has the old iOS 6 keyboard, etc.?
We tried changing the settings in iOS Build->SDK Version, and we can change it when targeting the simulator, but the option doesn't exist for AhHoc or AppStore builds.
Any ideas?
Xcode ships with several simulator SDK but only one device SDK. So you need to install an older version of Xcode. E.g. installing Xcode 4.6 will give you the 6.1 SDK).
Both versions can coexists side-by-side if you rename the existing one before installing the 2nd.
Be sure to have XS points to the Xcode you want to use (it's not a project specific setting).

iphone app submission for iOS 6.0

I have existing iphone app which is developed using XCode 4.2 and base sdk as iOS 5.0,Compiler is APPLE LLVM compiler 3.0.
Now as the iOS 6 is upcoming am I supposed to (or rather ought to) rebuild this app with latest XCode and the base SDK (i.e. XCode 4.5, base sdk as iOS 6.0, Compiler :-Apple LLVM Compiler 4.1) or will I be OK submitting my upgrade with older XCode and base SDK settings?
Will I be facing any issue while submitting my app built with older settings?
if your app works fine with iOS5 and you don't need any futures from iOS6, then leave it like this. iOS6 suppose to support the apps build with previous iOS. So, it means your app should work.

Resources