   dylib files
  I'm new to xcode, and i was wondering how to create a .dylib file in it (or even out of it). It's for a game engine I'm making, and I don't want other people stealing my code. Thanks in advance!   
  man libtool man install_name_toolThese will get you pretty far.   ;  OK, thanks a lot! But how do you use libtool and install_name_tool?   ;  In Xcode go to File->New Project, then scroll down to dynamic library, and pick the one you want.   ;Quote:Original post by PhynixOK, thanks a lot! But how do you use libtool and install_name_tool?From inside XCode? I don't know as I don't use it, but I'm guessing Riraito's advice will help. From outside of XCode, use them on the command line or (more likely) add the calls to your build script.   ;  I made a new dynamic library project in xcode. I chose a carbon 6 type project. Then, I added all of the .h files to the source folder. When I built it, it built properly, with no errors. However, the dylib file is not being made. Are there any files I need to add or any settings that I need to configure, besides just adding the files?   ;  Did you include any .cpp files? It won't actually compile any .h files unless you include them in a .cpp file.  Also on the sidebar, in the products folder, is there a dylib?   ;  Yeah, I had a .cpp file, and there was a dylib. But the dylib was red, so it wasn't there as an actual file.   ;  ok, in the sidebar again click the arrow next to targets, and then the one next to your dylib inside that, make sure the 'compile sources' step has your .cpp in it, if not, you can just drag it down from above   ;  OK, I got it to work. Thanks a lot!   