Currently I am developing ios apps in 4.3 . I have been using ASIHttprequest for my all Network activities. Now I want to use AFNetworking. My problem is that I can't get the AFNetworking classes for ios 4.3. some blogs given by google search says AFNetworking 0.10 is compatible for ios 4.3 but I can get 1.0 version only.
All I want to know is whether AFNetworking has version compatible for ios 4.3, If so direct me to the link
If you look at the GitHub account for AFNetworking. You should be able to find it. Switch the branch to the correct version (0.10.x) and you will be good.
Anyway, here is the link to the version directly: Version 0.10.x
AFNetworking is stored on Github.
You can get any commit from it's history, for example - you can select any of the tagged states for download from https://github.com/AFNetworking/AFNetworking/tags
Related
Is there any way we can find out the latest ios version available on device programmatically. Like latest ios version now is 12.2
As per Apple API list you can check latest iOS version with below command. You have to run this command in terminal.
curl -L http://phobos.apple.com./version
You will get all information about the all versions.
There is no way to find the latest iOS version released. It is totally impractical approach because how can UIDevice or Any class know which is the latest iOS was released without updating device operating system.
Now go with other possibilities
There are any apple APIs which provide latest release information?
Unfortunately, There are no such APIs which provide information like this.
Alternatives
You can create custom APIs which is providing the latest release information. Once latest iOS will release then update in server back-end. Then you can check which is the latest iOS version.
I haven't found the solution but I got it from this link: solution
Just call the API
curl -L http://phobos.apple.com./version
and search for the key such as "iPhone10, 1" or whatever device you are looking for. You will find the version under key "Product Version"
<key>ProductVersion</key>
<string>12.3.1</string>
I've a simple question. What are requirements for new app upload to latest AppStore?I mean is it required to use latest Xcode 8 and also latest swift or is it possible to upload the new application running on swift 2.2 version using Xcode 8 or maybe with Xcode 7? I'm curios if apple states informations like that somewhere.
Apple recommends you to build and submit to App store with latest SDK. However, it doesn't mean that it forces you to do that. In other words, you can use older SDK to compile you source code. For example, you can compile you app with XCode8 with Swift 3, but if you do with XCode7 and Swift 2.2, it's also fine.
Have a look at this: https://developer.apple.com/library/content/qa/qa1806/_index.html
I am working on a project based on iOS5. I want to use AFNetworking 2.0 by cocoapods. But 'iOS6+' is needed. Can I use AFNetworking 1.x when it's iOS5 while using 2.0 when it's iOS6+ ?
thanks
There's no way to use AFNetworking 2.0 with iOS 5
source: https://github.com/AFNetworking/AFNetworking#requirements
Its not worth targeting iOS 5 anymore. I don't even target iOS 6 anymore. There's just too much compatibility code you have to write to get it working nicely.
Cocoapods does not support it directly and it is not recommended.
Check Link.
After I updated Facebook iOS SDK from 3.2 to 3.5 I'm getting this error when running my app in a device with iOS older than 5 (eg 4.3.5).
dyld: Symbol not found: _OBJC_CLASS_$_NSJSONSerialization
...
Expected in: /System/Library/Frameworks/Foundation.framework/Foundation
I can avoid this crash if I set Foundation framework as Optional, but I don't think this is the best option.
Is there another way to make Facebook SDK works in devices with iOS previous to version 5?
From Facebook iOS SDK changelog v3.5:
http://developers.facebook.com/ios/change-log-3.x/
Removes support for iOS 4.* Facebook 6.0 dropped support for iOS 4.x. To stay in sync, the Facebook SDK is also does not support iOS 4.x.
So, if you update to Facebook SDK 3.5 you lose support for iOS 4.x
That class was not available until ios5 - look at the class reference in the Xcode documentation window. What you need to do is grab JSONKit, an open source class, and use it. Usage is mostly the same. You will need to build this class into your app then test dynamically if the apple class exists, then use the appropriate class, or just always use the open source class.
Note that JSONKit is not ARCified, so you need to set the appropriate compile flag for it if the rest of your app is ARC.
Edit: so you may be able to get clever and write your own stub that bridges calls to JSONKit in older releases. Conceptually you should be able to make this work, but my fear would be that if the FB code was developed for ios5 then there may be other Api problems lurking in the code too - and you old spend a lot of time continually trying to find and fix them.
I am new baby to Xcode, was trying to learn twitter integration, downloaded sample twitter source code from sample code, but when i tried to run it, it says that there is no twitter framework, and when I try to add from 'Link Binary with Libraries' there is no twitter framework!!
I am using Xcode 4.2 with ios 5.
Is it possible to manually import twitter framework into my Xcode??
Please help me.
Forget about the "Twitter.framework" from now on.
Apple has switched to "Social.framework" which was delivered with OS X 10.8 (Mountain Lion) today.
This means "Twitter.framework" is deprecated now. It's very likely that "Twitter.framework" will be replaced by "Social.framework" in iOS 6, too.
All accounts are managed by "Accounts.framework" which is available on iOS 5 AND "Mountain Lion". If you need to implement "Twitter.framework" for iOS 5, keep this in mind to write "universal code".
It is easy to add the Twitter framework for an iOS 5 project. Please follow the instructions at https://dev.twitter.com/docs/ios/how-add-twitter-framework-your-ios-project
TwitterKit provides wrappers for accessing the Twitter REST API.
Get Fabric from here this will provide you wizard to add all appropriate frameworks for twitter.
https://get.fabric.io/