Page 1 of 1

accounter a problem on macOS

Posted: Sat Dec 12, 2020 2:24 pm
by vmp1024
Hi :)
i'm a Chinese mac developer, when i use VMProtect to protect my app, it suggests "文件头无足够空间容纳新分段信息" which means "the file header has no enough space to include the new segment infomation", i'm really confused how to solve this problem. Looking forward to your reply, thanks very much!

Re: accounter a problem on macOS

Posted: Mon Dec 14, 2020 4:33 pm
by Admin
Try to use the linker flag "-headerpad_max_install_names" for compilation of your binary.

Re: accounter a problem on macOS

Posted: Wed Dec 23, 2020 12:47 am
by vmp1024
Admin wrote:Try to use the linker flag "-headerpad_max_install_names" for compilation of your binary.
Thanks, it works! :D
However, after protection, the app cannot be launched and the OSX suggests an inner error. I have removed the "_vmp" of the binary file. Should I re-sign the app manually or something else?