I have another problem with the OSX application. I want to link several dylibs in my last application, all of which are needed by the application and other dylibs.
I am changing my links with install_name_tool, but some of the libraries cannot be changed properly, having this error:
install_name_tool: changing installation names or rpaths cannot be redone for: aLibrary.dylib (for x86_64 architecture) because larger updated boot commands are not suitable (the program must be restarted and you may need to use -headerpad or - headerpad_max_install_names)
So, I added the option flag headerpad_max_install_names to the flags of the xcode project linker (Project Properties - Build Settings-Linking-Other Linker Flags). I was also checked in the build log if the option flag was enabled and the option flag was enabled correctly.
But still has the same error in recent dylib.
Is there a way to link all the libraries needed in a unique Framework? Or am I doing something wrong during the construction process?
Hope I understood with the main problem.
Thanks!
libraries cocoa bundle macos
QyoDeveloper
source share