<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Mar 21, 2007, at 5:30 AM, Nehemiah Dacres wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Following the examples <A href="http://developer.apple.com/cocoa/pyobjc.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><SPAN class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; ">http://developer.apple.com/cocoa/pyobjc.html </SPAN></A>as well as using <FONT color="#0058dc" face="Trebuchet MS" size="4"><SPAN style="font-size: 14.7px; text-decoration: underline;; color: rgb(0, 88, 220); font-family: Trebuchet MS; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="color: rgb(0, 88, 220); font-family: Trebuchet MS; font-size: 14.7px; -khtml-text-decorations-in-effect: underline; ">PyObjC 1.4 installer for (Universal) Python 2.4 on Mac OS X 10.4 </SPAN></SPAN></FONT> I have got an error message that Xcode cannot find py2app. There is a thread on this topic but there is no answer on how to deal with it. So I raised it again. It seems that it is a common problem to newbie and for newly installed environment. </DIV><DIV><BR></DIV><DIV>It is noted if one run the source manually i.e. follow the instruction using Xcode, interface builder, drop to terminal and do the </DIV><DIV><BR></DIV><DIV>python setup.py py2app </DIV><DIV><BR></DIV><DIV>The program will works but if you compile it under Xcode, it cannot</DIV></SPAN></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV>Dennis, I have been having the exact same issue, and posted it to this mailing list two days ago. Ronald Oussoren helped me out with it yesterday. Here's what you do:<DIV>1) Create an xcode project using the PyObjC project template</DIV><DIV>2) Edit the very first line of 'setup.py' to:</DIV><DIV>#!/path/to/python</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/path/to/python should be the path to the python interpreter you have py2app installed on. If in doubt, type 'which python' in Terminal. Copy that result right in.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Good luck!</DIV><DIV>-Calder</DIV></BODY></HTML>