Core Plot on iOS 5 - ios

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.

Related

How to resolve conflicts in `project.pbxproj` file while upgrading react native?

I am using Xcode 9.4 and current react native version #0.54.4 I want to upgrade the version to 0.55.4.
As I upgrade my project using react-native-git-upgrade, I see some un merged conflicts in the project.pbxproj. Some of the settings are my own that are conflicting with the changes in the new version.
I tried all the possible ways in which I could resolve the conflicts. But still X-code shows the error could not load the project, and it does not allow me to build my project.
How do I understand what those conflicts are referring to and how can I safely resolve the conflicts?
Unfortunately there is no magic way to resolve conflicts. I wish there was. The file is managed by Xcode and from personal experience I have found that you can easily mess it up performing merges.
Git is definitely your best-friend. Make sure that before you start any merge you are on a new branch and fully committed so that if you mess-up you can easily get back to your original version.
What I usually do is keep the original version of the project.pbxproj and then make the changes manually in Xcode. I know this doesn't sound ideal but it does mean you should be able to open the project in Xcode, though your project may not run - just yet.
If you’re unclear about which version to keep, I would keep ours as that is the original version of your project.pbxproj. From the documentation:
You can think of "ours" as "your team" and "theirs" as "the React Native dev team".
Then I would make the changes manually as detailed below. As that will show their changes and the should hopefully not be that many.
To help me find the changes that I have to make I find that React Native Upgrade Helper is an invaluable resource. There you can find a git diff of any two versions of react-native that you choose. (This saves you having to create two projects and then compare them yourself, a big timesaver.)
Currently you are upgrading from 0.54.4 to 0.55.4 this link shows the diff between those versions
https://react-native-community.github.io/upgrade-helper/?from=0.54.4&to=0.55.4
For additional help you could create a project in a specific react-native version, using the following will create a project for version 0.55.4.
react-native init newproject --version react-native#0.55.4
That way you can look inside the Xcode project to see what has been added, and where it was added from, as the git diff doesn't always tell where it came from.
I have never had much luck using react-native-git-upgrade and I have come to prefer doing it manually, as I have had much more success doing it that way.
After updating react native to version 0.55 from 0.51, everything seemed to function normally in the local mode. But the production build fails.
I fixed this by upgrading react native once again from 0.51, and keeping my changes instead of theirs almost all the time.
May be there should be more detailed explanation in the documentation regarding the kind of issues one run into, by picking the wrong changes.

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.

Updating Facebook SDK for 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/

Is there a CorePlot sample project for iOS 6.1 available somewhere?

CorePlot looks like the best library going for the iPad apps I'm looking into, but I've been fighting all day just to get it to compile in an OS 6.1 project set to use Core Date, ARC, and unit tests.
I want to use those specs, but I'm starting fresh, with no other code that needs salvaged, so it occurred to me that rather than fight through the tutorials that don't address installation in ARC; and through the fixes for ARC that never seem to get me all the way to compile-able; that I could easily take any bare-bones project with those basic specs and start bringing in the simpler additions I've already figured out.
Anything like that out there?
All of the CPTTestApp example apps for both Mac and iOS have been converted to use ARC. This was done after the 1.1 release, so at the moment you'll need to pull the latest code with Mercurial to see the changes.
Since the 1.0 release, no changes to the Core Plot project is required to use it in an app that uses ARC. The Core Plot header files will compile under all supported SDKs with and without ARC. Include the Core Plot static library in your app, either the pre-compiled version or one built as a dependent project, and it will link and run just fine.
Core Plot does not use ARC internally because it still supports older systems that cannot use it. It will be updated when the minimum supported system is increased to one that supports ARC on both Mac and iOS.

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