piaoyongren / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

Cannot build iPad app for the simulator #204

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open the CPTestApp-iPad project.
2. Build for the simulator

What is the expected output? What do you see instead?
Before the update to iOS SDK 4.1, this project built and ran fine. After the 
update, it won't build for the simulator. Every source file in the Core Plot 
project generates the following error:

<command-line>: error: "__IPHONE_OS_VERSION_MIN_REQUIRED" redefined
<command-line>: error: this is the location of the previous definition
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 
failed with exit code 1

Original issue reported on code.google.com by eskr...@mac.com on 12 Sep 2010 at 1:52

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 95555b88b4.

Original comment by eskr...@mac.com on 13 Sep 2010 at 2:42

GoogleCodeExporter commented 8 years ago
I'm still running into this issue when compiling for an older SDK that the 4.1. 
but only for the simulator,  Any idea ?

Original comment by xrr...@gmail.com on 20 Sep 2010 at 3:58

GoogleCodeExporter commented 8 years ago
You can edit the Core Plot project build settings if needed. Change the "iOS 
Deployment Target" to whichever earlier version you're using.

Original comment by eskr...@mac.com on 20 Sep 2010 at 4:22

GoogleCodeExporter commented 8 years ago
I'm now having the same issue after upgrading to iOS 4.3 SDK. Everything worked 
fine prior, but now I'm seeing the "__IPHONE_OS_VERSION_MIN_REQUIRED" redefined 
error.

I tried switching all project iOS Deployment Targets to 4.1 (while using iOS 
4.3 base SDK), but no luck.

Anyone else experiencing the same issue?

Original comment by jaythejo...@gmail.com on 25 Apr 2011 at 2:30

GoogleCodeExporter commented 8 years ago
Can any one have idea about above issues ........ i am finding same problem... 
i have installed 4.2 sdk and now it is giving me same error as above mention.
Please help..  

Original comment by krishnar...@gmail.com on 9 Sep 2011 at 7:15