Need help compiling XMLSEC under xCode

view story

http://www.unix.com – Dear friends, I have an xCode project that needs to sign an XML file, and in shell I can achieve the result by running this command: export LD_LIBRARY_PATH=/opt/local/lib; /opt/local/bin/xmlsec1 sign --id-attr:Id infNFe --output /path/to/signed.xml --pkcs12 /path/to/my/p12.pfx --pwd XXXXPASSWORDXXXX --trusted-pem /path/to/my.pem /path/to/unsigned.xml When installing XMLSEC via Mac Ports, files are linked in /opt directory as you an notice by running the command: bernardo$ otool -L /opt/local/bin/xmlsec1 /opt/local/bin/xmlsec1: /opt/local/lib/libxmlsec1.1.dylib (compatibility version (HowTos)