2014-05-15 87 views
2

我想籤我的OSX的應用程序,但得到這個錯誤,任何想法?codesign_allocate:不能分配代碼簽名數據

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 

回答

0

,如果你建立與不同的體系結構(如x86_64的),您的Mac應用程序,並嘗試不同的協同設計機器architechture(前386)上的應用程序,您可以得到這個錯誤。

解決方案是建立和協同設計的同一臺機器上。