Core Plot And Arc
If you want to use core plot 0.9 framework in a iOS project with arc, you will have problems! Also if you are using iOS 6 and you have an old build of CorePlot you will get an error message like: ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/.../CorePlot/libCorePlot-CocoaTouch.a for architecture armv7sclang: error: linker command failed with exit code 1 (use -v to see invocation)Many errors and incompatibilities. You can’t edit the code manually but someone else did it for you. You have to download the latest core plot version which is available only using Mercurial Source Code control system. 1. Download Mercurial from here. 2. Install it. 3. Open Terminal and run the following command: hg clone??https://core-plot.googlecode.com/hg/??core-plot You will get an output like:
requesting all changes
adding change sets??
adding manifests??
adding file changes??
added 406 changesets with 3444 changes to 1861 files??
updating working directory??
1018 files updated, 0 files merged, 0 files removed, 0 files unresolved
Just wait.. 4. If it finished successfully, you will find a new folder in /Users/User-Name/core-plot/ with the latest version. 5. Now, it’s time to build the binaries. In order to succeed it you have to create the release package. So change to scripts folder 6. Run the create release script by typing: python createrelease.py <version> 7.??The release products were placed in a folder called CorePlot_<version> and located on your desktop. 8. Use the binaries following this post and your project will use core plot in arc environment.