iSibDev / ziparchive

Automatically exported from code.google.com/p/ziparchive
0 stars 0 forks source link

Compile error:invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later) #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download ziparchive here
2. create a new xcode project (just use single view template), select ios4.3 
simulator
3. drag the download unzipped folder to project, and select "copy item..." 
,"create group", and check the "add to targets" 

What is the expected output? What do you see instead?
Compiled error with error message : invalid deployment target for 
-stdlib=libc++ (requires iOS 5.0 or later)

What version of the product are you using? On what operating system?
mac, xcode4.5.1, iphone4.3 simulator

Original issue reported on code.google.com by WangBou...@gmail.com on 10 Dec 2012 at 6:05

GoogleCodeExporter commented 9 years ago
This solved my issue - 

Creating Projects
Projects created using this Xcode release use the new libc++ implementation of 
the standard C++ library. The libc++ library is available only on iOS 5.0 and 
later and OS X 10.7 and later. 12221787
To enable deployment on earlier releases of iOS and OS X in your project, set 
the C++ Standard Library build setting to libstdc++ (Gnu C++ standard library).

Taken as it is from - 
https://developer.apple.com/library/mac/#releasenotes/DeveloperTools/RN-Xcode/_i
ndex.html#//apple_ref/doc/uid/TP40001051-SW174

Original comment by capra...@gmail.com on 16 Jan 2013 at 1:01