If it works without CMake, but not with CMake, then ... clearly there's a difference between your hand-crafted Xcode project file and the CMake generated one. What is that difference? Did you do any diff-ing to find out?
Please send a link to your whole project tree, including the hand-crafted Xcode project so that we can reproduce your problem. Or... if you can't do that, then provide a minimal reproducing case for further investigation. One would have to wonder why you would want to use CMake to build iOS specific code in the first place if you already have a working non-CMake-based build. Do you hope to port your iOS app to other platforms? It looks like the source code in question will certainly not compile except for an iOS-targeted build. On Thu, Dec 2, 2010 at 5:49 AM, salwa <alqun...@hotmail.com> wrote: > thanks for your answer. > i don't think so, i'm sure my source code is correct. It's working without > CMake-genarator and not with. > > ------------------------------ > Date: Wed, 1 Dec 2010 08:48:00 -0800 > From: [hidden email]<http://user/SendEmail.jtp?type=node&node=5795506&i=0> > To: [hidden email] <http://user/SendEmail.jtp?type=node&node=5795506&i=1> > Subject: Re: CMake Xcodeproject > > > This looks like an issue with your code, rather than the build. > > Ryan > > > On Wed, Dec 1, 2010 at 5:03 AM, salwa <[hidden email]> wrote: > > > Hi, i send this message to the mailing list bevor but nobody answer!! > i create an Xcodeproject with CMake and when i build it, it get's this > error's: > In file included from > > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:13, > from > > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13, > from ../Desktop/iPad/Classes/iPadAppDelegate.h:9, > from ../Desktop/iPad/Classes/iPadAppDelegate.m:9: > > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:33: > error: expected identifier before '}' token > > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:74: > error: expected specifier-qualifier-list before 'UIUserInterfaceIdiom' > In file included from > > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:71, > from ../Desktop/iPad/Classes/iPadAppDelegate.h:9, > from ../Desktop/iPad/Classes/iPadAppDelegate.m:9: > > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:88: > error: expected specifier-qualifier-list before 'UIDataDetectorTypes' > ... > > If necessary I will send the CMakeLists.txt > Anyone know what I missed or am doing wrong please? i hope somebody answer > me. Thanks > > -- > View this message in context: > http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5791404.html > Sent from the CMake mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > > > > > -- > Ryan Pavlik > HCI Graduate Student > Virtual Reality Applications Center > Iowa State University > > [hidden email] > > http://academic.cleardefinition.com > Internal VRAC/HCI Site: http://tinyurl.com/rpavlik > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > > ------------------------------ > View message @ > http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5792557.html > To unsubscribe from CMake Xcodeproject, click here. > > ------------------------------ > View this message in context: RE: CMake > Xcodeproject<http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5795506.html> > > Sent from the CMake mailing list > archive<http://cmake.3232098.n2.nabble.com/>at Nabble.com. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake