As said at the title I have a framework and I need to check with iOS SDK version was used to compile it. Is there any command to check it? Or any other way.
Thanks
Related
I am trying to use "speech-to-text" functionality in xamarin ios. But I am getting following error after adding "Using Speech;" in my class file.
Your application is using the 'Speech' framework, which isn't included in the iOS SDK you're using to build your app (this framework was introduced in iOS 10.0.0, while you're building with the iOS 10.0 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.
How I can use "Speech" in xamarin ios app?
Check your Xcode version first. Whether is the latest version.
Check also iOS project Options->iOS Build->SDK Version, whether is using correct SDK version. For mine, it is set to Default which is 10.3 now.
I create some business application on Appcelerator Studio(sdk version:6.1.0.v20161230103702).
It run iOS simulator(iPhone 7(OS 10.2)),
so sometimes popup "App May Slow Down Your iPhone.." alert.
I wanna prevent this alert.
would appreciate any comments or suggestions.
You might want to take a look at this SO Q&A, this other Q&A, and this third one. There could be something there that you could adapt to Appcelerator Studio.
This alert is supposedly shown for apps developed for the 32 bit architecture.
read here
I wonder though how the ti sdk 6.1.0 would get you this issue.
what Xcode are using ?
Update :
Where did you get that sdk version ?
For production, use one of the GA titanium sdk versions, the latest one (as of the moment of writing this) is at 6.0.2.GA
To install Ti SDKs use this command
appc ti install sdk 6.0.2.GA
If you don't have an appcelerator indie account, you can use this node package tisdk to install new titanium sdk GA releases.
You might be using the latest SDK with the compatible XCode, but are you using any external modules which may not be 64-bit comptible. Can you remove any additional modules, and see if you are getting the error or not. If not, then you need to recompile the modules with the latest SDK or atleast a minimum of 3.5.0.GA from which the 64-bit support was provided.
Recently I try to add Fabric & Crashlytics to my projects, but I got one link issue.
My base SDK is iOS7.0 and deployment target is 7.0 too, try to use the Fabric app for mac or cocoapods to add these frameworks, but always got error msg like this:
Anyone can assist?
Thanks a lot.
Add the run script provided by fabric to you. The follwing screenshot demonstrates where to add the runscript.
Reply from Mattie, Twitter Staff
Yes. It turns out that Crashlytics does not support building with a base SDK older than "latest" for any given Xcode release. It's extremely hard for us to maintain build compatibility with older SDKs, even if we can maintain runtime compatibility.
So I need change the base SDK to latest one and revamp my codes..
So a developer delivered a project that uses Swift 1.1 but I only have Xcode 6.3. There doesn't seem to be any compiler flag to force Swift 1.1 and I really don't want to reinstall an older version. This probably shouldn't be possible or would it? Would shared libraries get messed up if I did this?
What are possible solutions? I have asked the dev to upgrade it to 1.2 but we really need to verify that functionality currently works so would rather build this current version.
I'm building a library and some of the functionality is broken when the app using it is running newer base SDK (xCode 6, Base SDK iOS 8.0).
When trying to fix the issue, the Applications built with older SDKs are broken. (xCode 5, Base SDK 7.1)
It's not related to the version on the device.
Is there a way to check in code what's the Base SDK set by the App?
You can use macros. As described by rckoenes in this question you can use macro __IPHONE_7_0 to know that you are compiling with iOS 7.0 SDK. For iOS 8.0 SDK you can use __IPHONE_8_0 macro of course. These macros are defined in Availability.h header.
Also be sure to read Apple's SDK Compatibility Guide to understand more about working with multiple SDK's.