divyavamsee / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

ignoring file /Library/SDKs/CorePlotSDK/iphoneos.sdk/usr/lib/libCorePlot.a, missing required architecture i386 in file #407

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upgraded to XCode 4.2
2. Tried to run a project using .2
3. Upgraded to .4 and same issue

It is ignoring libCoreData.a because it doesn't contain the information 
necessary to run in the simulator.

What follows are a series of linking errors where any classes referenced from 
this library are missing.

Original issue reported on code.google.com by ferrous...@gmail.com on 29 Feb 2012 at 7:27

GoogleCodeExporter commented 9 years ago
Core Plot 1.0 was just released--get it here: 
http://code.google.com/p/core-plot/downloads/detail?name=CorePlot_1.0.zip&can=2&
q=

Lots of things have changed since version 0.4, some of which will required 
changes in your code. Read the change log here: 
http://core-plot.googlecode.com/hg/documentation/changelog.txt

Original comment by eskr...@mac.com on 1 Mar 2012 at 1:32

GoogleCodeExporter commented 9 years ago
I tried 1.0 and still get the same error.  I'm using xcode 4.3 on OS X Lion 
10.7.3 with a 2 core xeon processor.

Original comment by z...@saturnodesign.com on 1 Mar 2012 at 4:10

GoogleCodeExporter commented 9 years ago
The Core Plot static library is called "libCorePlot-CocoaTouch.a". Are you sure 
this is a Core Plot issue and not with the way you've linked to Core Data?

Original comment by eskr...@mac.com on 2 Mar 2012 at 3:17

GoogleCodeExporter commented 9 years ago
This file that's it's unable to link with is located in the sdk folder.
the target produced from the core plot is the libCorePlot-CocoaTouch.a file
as you say.  I don't have any reference to core data in the project, so I'm
pretty sure that's not it.  I've updated the sdk files with the zip from
this site and now it's saying:

ignoring file /Library/SDKs/CorePlotSDK/iphoneos.sdk/usr/lib/libCorePlot.a,
file was built for archive which is not the architecture being linked (i386)

Original comment by ferrous...@gmail.com on 2 Mar 2012 at 5:02

GoogleCodeExporter commented 9 years ago
You need to remove all references to the SDK and link directly to the static 
library. Support for the Core Plot SDK was removed in the 0.4 release.

Original comment by eskr...@mac.com on 2 Mar 2012 at 11:29