accounter a problem on macOS

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

accounter a problem on macOS

Post 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!
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: accounter a problem on macOS

Post by Admin »

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

Post 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?
Post Reply