
ziparchive - issue #30
Compile error:invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
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
Comment #1
Posted on Jan 16, 2013 by Helpful BearThis 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/_index.html#//apple_ref/doc/uid/TP40001051-SW174
Status: New
Labels:
Type-Defect
Priority-Medium