accounter a problem on macOS

Issues related to VMProtect
vmp1024
Posts: 7
Joined: Sat Dec 12, 2020 12:44 pm

accounter a problem on macOS

Postby vmp1024 » Sat Dec 12, 2020 2:24 pm

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!

Admin
Site Admin
Posts: 2007
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: accounter a problem on macOS

Postby Admin » Mon Dec 14, 2020 4:33 pm

Try to use the linker flag "-headerpad_max_install_names" for compilation of your binary.

vmp1024
Posts: 7
Joined: Sat Dec 12, 2020 12:44 pm

Re: accounter a problem on macOS

Postby vmp1024 » Wed Dec 23, 2020 12:47 am

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?