Updating Facebook SDK for iOS - ios

Hi how do I update facebook sdk for iOS? Do I just simply delete the whole folder in Document or is it okay to overwrite it? I currently have 3.6 and the latest version is 3.8. Do I have to uninstall the old one to install the latest update?

Typically, you'd just delete the folder and then add the new folder, keeping in mind that you'll have to link the SDK library within your Xcode project again. I'd really recommend using a dependency manager like Cocoapods to simplify this situation in the future.
Also, make sure you read the official upgrade documents:
3.6 to 3.7: https://developers.facebook.com/docs/ios/upgrading-from-3.6-to-3.7/
3.7 to 3.8: https://developers.facebook.com/docs/ios/upgrading-from-3.7-to-3.8/

Related

Test flight SDK Updated but deprecated in ios

I had using TestFlight SDK 2.0 before,After that I had download TestFlight SDK 2.2.1 and replace the all files, integrated in my App.And removes the old files also.
But I'm facing a problem while uploading latest build to TestFlight.
Still The SDK is showing 2.0 and deprecated.
Please suggest me to resolve this.
I had the same problem where I updated the SDK, but the old SDK was still showing up in TestFlight. Turns out I had to go into Build Settings --> Search Paths --> Library Search Paths and sure enough, this was still pointing to the old SDK folder. I just updated this to the new folder.
The odds are pretty good the old one is still around somewhere in your project.
Once trick that I've used before to find out if something is still in the project somewhere is to open the project file with a text editor. (BareBones Softeware's BBEdit is great, but their freeware Text Wrangler will also work just fine for this.)
Once it is open just search for the "bad" file and search the entire project. You might find it there and that will help you track it down. You can edit this file but be careful, it is XML and it had better still be valid XML when you save it.

Big Problems upgrading Cordova

well I have to update from cordova 2.5.0 to cordova 2.9.0 - so I have to update first from 2.5. to 2.6 to...2.9.0
I'm always having troubles with these upgrades, because I'm not a native speaker and might get the documentation on cordova.apache.org wrong
Ok here is where I'm stuck right now:
I have to run the create command with the following parameters:
- Path to your new Cordova iOS project
- Package name, following reverse-domain style convention
- Project name
2 questions:
- is the command-line-tool the terminal
- what is meant by package-name? Is is important, that this new project should have the same package-name and reverse-domain-style like my real project i want to upgrade from 2.5 to 2.x?
Sorry if this is a ridicolous question, but I'm really desperate right now :(
Hope someone could help me.
Here is the link which will help you to upgrade your existing PhoneGap application.
http://docs.phonegap.com/en/2.9.0/guide_upgrading_android_index.md.html
Yes you need to use the terminal for using command line tool.
Package name is used for unique identification for your app. So it is important as the same package name you also need to declare in your provisioning certificate for iOS . So you need to give the same package name as in your existing project.

How do you update SignalR-Objc

I'm very new to iOS/Objective C development, so this is very probably a very easy question to answer. I'm building a project whih uses the SignalR-ObjC library, which is an Objective C implementation of SignalR.
To download and install the library, the SignalR-ObjC website says to use Cocoapods, which I have duly done. However the version of SignalR-ObjC available over Cocoapods is not the most recent version, and there's a more recent version on GitHub. I need to use the latest version as I'm told that there are some bugs in the old version, and I want to use some of the more recently added features.
I've tried as couple of ways of updating the SignalR-ObjC library, but can't quite seem to get it right.
For an iOS ObjectiveC project which uses libraries downloaded through Cocoapods, how do I update one of the Cocoapods libraries with code downloaded from GitHub?
You can write 'SignalR-ObjC', '2.0.0.beta3' to your Podfile. This will download the latest SignalR library and subsidiary libraries that are needed to run the library.

Core Plot on iOS 5

I have faced a bug using CorePlot on iOS5. I have installed Mercurial, launched Terminal and downloaded the latest version of the source using this command
hg clone https://code.google.com/p/core-plot/
I have compiled a new library and have copied over with the files from the CorePlotHeaders folder that came with the source. I have cleaned my project and reinstalled the app.
However, I'm still facing a problem typical to this
What might I be doing wrong?
maybe you can use an early version of core plot and wait fix unless you really need new features of 1.2. I have used 1.0 with iOS5. It's good enough for most senario I need.

Doing a make on OSX using Xcode 4.5.2 with the Makefile supplied with PhoneGap 2.3.0 doesn't create the PhoneGapLibInstaller.pkg file

I downloaded the latest version of Phonegap for IOS and ran "make" from Terminal. I ran make in the following subdir.
phonegap-2.3.0/lib/ios
I get these two lines back on stdout:
Xcode.app: '/Applications/Xcode.app'
Using Developer folder: '/Applications/Xcode.app/Contents/Developer'
and my shell prompt is back.
However, no PhoneGapLibInstaller.pkg file is created as it describes on the github site instructions.
https://github.com/infil00p/phonegap-iphone
The file wasn't in my ios directory but when I did a search on my entire hard drive there is nothing there. I wanted to check in case it put it in the Xcode.app package contents for some reason.
In case this make file did something other than in the guides and actually worked, I loaded Xcode but PhoneGap doesn't show up as a Framework/template to choose from when making a new package.
Any thoughts or suggestions?
Thanks,
Dano
That Github repo is from 3 years ago. You would probably be better off looking at the actual current documentation.
Adobe "value add" distribution page: http://phonegap.com
Docs: http://docs.phonegap.com
Latest Cordova information (the open source project PhoneGap is based on): http://cordova.apache.org/
Current Github: https://github.com/apache/cordova-ios

Resources