Yes. Thanks. That works. I should have figured this out since it need not leave Xcode at all. :-)
2012/10/4 Jean-Luc Jumpertz
<jean-luc@zenocloud.eu>
Le 4 oct. 2012 à 15:18, jean-luc@zenocloud.eu a écrit :
> In this case, what you need to do is just to add the readline library to your lua target.
> To do so:
> - select the lua target
> - go to the "Build Phase" tab
> - click on the "+" button and add "libreadline.dylib" (it is part of the standard provided libraries)
> - rebuild; there should be no error anymore.
Oops! Missing information in the 3rd step. It should read:
- click on the "+" button in the "Link Binary with Libraries" section, and add "libreadline.dylib" (it is in the proposed list of libraries)