[lldb-dev] Enabling python SWIG generation on Xcode

Greg Clayton gclayton at apple.com
Fri Feb 20 10:59:16 PST 2015


> On Feb 18, 2015, at 12:05 PM, Zachary Turner <zturner at google.com> wrote:
> 
> I've hinted a few times that I'd like to deprecate the swig generate shell scripts and move to the python-based scripts.  Python scripts have been the default on every OS except the Mac Xcode build for some time now, so I think it's stable enough that we can try putting this on the Xcode build.
> 
> I'm willing to do this and test it out, but I don't know much about editing Xcode projects beyond adding files.  Can someone show me where in Xcode I need to look to make this change?
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

if you click on the LLDB project file in the left hand files view, and then click on the the LLDB framework icon and select "Build Phases" you will see the "Build swig wrapper classes" build phase, this is a shell script build phase. 



If you expand it you will see the shell script it runs:




Also look for the "Finish swig wrapper classes" and edit accordingly.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150220/e60377cf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-02-20 at 10.56.59 AM.png
Type: image/png
Size: 88092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150220/e60377cf/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-02-20 at 10.58.22 AM.png
Type: image/png
Size: 38876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150220/e60377cf/attachment-0001.png>


More information about the lldb-dev mailing list