Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3390846
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:44:19+00:00 2026-05-18T03:44:19+00:00

I am trying to use core-plot and I followed the instruction from the following

  • 0

I am trying to use core-plot and I followed the instruction from the following project page to use it.

http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications, which is

You can install the SDK with a standard Mac installer package, or by hand. Here is how you install by hand.

  1. Copy the CorePlotSDK directory to ~/Library/SDKs/

  2. Add to your project’s .PCH file:

    #import < CorePlot/CorePlot.h >

  3. Open Project -> Edit Project Settings and for All Configurations:

3a. Add to Additional SDKS:
$HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk

3b. Add to Other Linker Flags:
-ObjC -all_load -lCorePlot

  1. Add the QuartzCore framework to the project.

  2. Add a CPGraph to your application.

I went with the SDK install options: I installed it with Mac installer Package, it got installed in the following location /Library/SDKs/iphoneos.sdk and /Library/SDKs/iphonesimulator.sdk

Then i did step 2 as mentioned.

For 3a i added /Library/SDKs/iphonesimulator.sdk

Then i did 3b and then 4.

After that I tried to do a build and see how does it works and i get the following errors:

:1:0 :1:1: warning: “__IPHONE_OS_VERSION_MIN_REQUIRED” redefined

:1:0 :1:1: warning: this is the location of the previous definition

/var/folders/+r/+rBG+BziF1OqK12XNyw1ak+++TM/-Caches-/com.apple.Xcode.502/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-cztutytisanvsqaptkdkpoyyctln/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250:0 /var/folders/+r/+rBG+BziF1OqK12XNyw1ak+++TM/-Caches-/com.apple.Xcode.502/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-cztutytisanvsqaptkdkpoyyctln/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: syntax error before ‘^’ token

/var/folders/+r/+rBG+BziF1OqK12XNyw1ak+++TM/-Caches-/com.apple.Xcode.502/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-cztutytisanvsqaptkdkpoyyctln/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250:0 /var/folders/+r/+rBG+BziF1OqK12XNyw1ak+++TM/-Caches-/com.apple.Xcode.502/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-cztutytisanvsqaptkdkpoyyctln/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: ‘type name’ declared as function returning a function

This appears 20 times. and it points all to UIView.h

There are same question in the stackoverflow and people suggested to change the compiler to 4.2 and for lot of people it worked, but for me the compiler was always set to 4.2 and still I get the same error.

On 3a if do /Library/SDKs/iphoneos.sdk

I get the following error

error: Composite SDK failed: The base SDK uses platform ‘iphonesimulator’, but an additional SDK uses platform ‘iphoneos’. All SDKs must use the same platform (PLATFORM_NAME).

Please help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T03:44:19+00:00Added an answer on May 18, 2026 at 3:44 am

    Finally, I have figured out the solution for this error:

    Thanks to the developer on core-plot project and sebastien.leduc a google code user for their help.

    I am using CorePlotInstaller_0.2.2.zip, and one important steps that is missing on the installation guide is you have to use LLVM GCC 4.2 and not GCC 4.2.

    The other important steps which was little confused me was 3a.

    Add to Additional SDKS: $HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk

    Here you have to literally add the above line, I was changing the ${PLATFORM_NAME} with iphoneos or iphonesimulator, but no we don’t have to do that.

    One last thing if you don’t find the sdk on the following path $HOME/Library/SDKs/CorePlotSDK

    Check out /Library/SDKs/CorePlotSDK.

    I hope this will help people, it took me about a week to figure out with the help of all the people who came forward to help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use Apple Core Data Sample code as a basis for my
I'm trying to use core data in a multi thread way. I simply want
I am trying to use two different Core Data Models in a iPhone application,
What actually happens behind the scenes when you select the Use Core Data for
I am trying to use the Jets3t library within an Android application, and I
I'm using Core Data in my first iPhone application and trying to understand NSFetchedResultsController.
I am trying to plan out a few iOS/server apps for internal use. On
I just noticed while trying to learn to read GHC Core, that the automatically
I'm trying to connect to MySQL database from node.js using db-mysql library. Everything works
I have a few questions about Core Location. 1) Should the user refuse permission

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.