MacOS X application code sign issue

Hello,


My application uses multiple frameworks (in ‘MytestApp.app/Frameworks’ directory). Each framework in turn is dependent on one or more other frameworks (inside ‘MyTestApp.app/Frameworks’ directory). This is achieved using symbolic links.


See below image for reference (MyTestApp.app 's bundle structure) :


When I code sign MyTestApp.app and validate with command :

" codesign -vv / Path_To_Application_Bundle "

It gives below error all the time :

"unsealed contents present in the root directory of an embedded framework"


My Queries :

1. How to code sign application if application has Framework with symlink outside its bundle?

2. I used this structure to reduce application's size, If above case is not valid for code sign then what is alternative?

3. In my other framework I have Resource folder symlink to some Directory, which is validate on installation, but while code signing that Directory may not be there, in that case how to code sign framework?


Please provide solution to code sign my MyTestApp.app .


Note : I am unable to attach the code , let me know if you required it.


Thank you !

MacOS X application code sign issue
 
 
Q