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?<br>
<br>Please send a link to your whole project tree, including the hand-crafted Xcode project so that we can reproduce your problem.<br><br>Or... if you can't do that, then provide a minimal reproducing case for further investigation.<br>
<br>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.<br>
<br><br><div class="gmail_quote">On Thu, Dec 2, 2010 at 5:49 AM, salwa <span dir="ltr"><<a href="mailto:alqundus@hotmail.com">alqundus@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
thanks for your answer.<div>i don't think so, i'm sure my source code is correct. It's working without CMake-genarator and not with. <br><br><hr>Date: Wed, 1 Dec 2010 08:48:00 -0800<br>From: <a href="http://user/SendEmail.jtp?type=node&node=5795506&i=0" rel="nofollow" target="_blank">[hidden email]</a><br>
To: <a href="http://user/SendEmail.jtp?type=node&node=5795506&i=1" rel="nofollow" target="_blank">[hidden email]</a><br>Subject: Re: CMake Xcodeproject<div class="im"><br><br>
        This looks like an issue with your code, rather than the build.<div><br></div></div><div>Ryan<div><div></div><div class="h5"><br><br><div>On Wed, Dec 1, 2010 at 5:03 AM, salwa <span dir="ltr"><<a rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style="border-left: 2px solid rgb(204, 204, 204); padding: 0pt 1em;"><br>
Hi, i send this message to the mailing list bevor but nobody answer!!<br>
i create an Xcodeproject with CMake and when i build it, it get's this<br>
error's:<br>
In file included from<br>
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:13,<br>
from<br>
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13,<br>
from ../Desktop/iPad/Classes/iPadAppDelegate.h:9,<br>
from ../Desktop/iPad/Classes/iPadAppDelegate.m:9:<br>
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:33:<br>
error: expected identifier before '}' token<br>
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:74:<br>
error: expected specifier-qualifier-list before 'UIUserInterfaceIdiom'<br>
In file included from<br>
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:71,<br>
from ../Desktop/iPad/Classes/iPadAppDelegate.h:9,<br>
from ../Desktop/iPad/Classes/iPadAppDelegate.m:9:<br>
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h:88:<br>
error: expected specifier-qualifier-list before 'UIDataDetectorTypes'<br>
...<br>
<br>
If necessary I will send the CMakeLists.txt<br>
Anyone know what I missed or am doing wrong please? i hope somebody answer<br>
me. Thanks<br>
<br>
--<br>
View this message in context: <a rel="nofollow" link="external">http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5791404.html</a><br>
Sent from the CMake mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a rel="nofollow" link="external">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a rel="nofollow" link="external">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a rel="nofollow" link="external">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" link="external">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Ryan Pavlik<br>HCI Graduate Student<br>Virtual Reality Applications Center<br>Iowa State University<br><br></div></div><a rel="nofollow" link="external">[hidden email]</a><div class="im">
<br>
<a rel="nofollow" link="external">http://academic.cleardefinition.com</a><br>Internal VRAC/HCI Site: <a rel="nofollow" link="external">http://tinyurl.com/rpavlik</a><br>
</div></div>
<br>_______________________________________________
<br><div class="im">Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a rel="nofollow" link="external">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the CMake FAQ at: <a rel="nofollow" link="external">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>Follow this link to subscribe/unsubscribe:
<br><a rel="nofollow" link="external">http://www.cmake.org/mailman/listinfo/cmake</a>
        <br>
        <br>
        </div><hr color="#cccccc" size="1">
        <div style="color: rgb(102, 102, 102); font: 11px tahoma,geneva,helvetica,arial,sans-serif;">
                View message @ <a rel="nofollow" link="external">http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5792557.html</a><br>
                
                To unsubscribe from CMake Xcodeproject, <a rel="nofollow" link="external">click here</a>.
        </div></div>                                           
<br><hr width="300" align="left">
View this message in context: <a href="http://cmake.3232098.n2.nabble.com/CMake-Xcodeproject-tp5791404p5795506.html" target="_blank">RE: CMake Xcodeproject</a><div><div></div><div class="h5"><br>
Sent from the <a href="http://cmake.3232098.n2.nabble.com/" target="_blank">CMake mailing list archive</a> at Nabble.com.<br>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>