문제

I want to sign my OSX app, but getting this error, any idea?

fatal error: codesign_allocate: can't allocate code signature data for: 
            /...../X.app/Contents/Frameworks/libtiff.5.dylib
 (for architecture x86_64) 

because larger updated load commands do not fit (the program must be relinked using a larger -headerpad value)

                /..../Products/Debug/X.app: 

the codesign_allocate helper tool cannot be found or used
In subcomponent: /..../Products/Debug/X.app/Contents/Frameworks/libtiff.5.dylib
도움이 되었습니까?

해결책

You can get this error if you build your app on mac with different architecture(ex x86_64) and try to codesign that app on different architechture machine(ex i386).

Solution is to build and codesign on same machine.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top