Hello,
My application uses multiple frameworks (in ‘MyApp.app/Frameworks’ directory). Each framework in turn is dependent on one or more other frameworks (inside ‘MyApp.app/Frameworks’ directory). This is achieved using symbolic links.
See MyApp.app bundle structure as below :
myApp.app / Contents /
Frameworks/
ABC.framework /
ABC (symlink to current version)
Resources (symlink to current version)
Versions/
A /
ABC
Resources/
Current / (symlink to A)
Frameworks / (symlink to myApp.app 's Framework folder)
XYZ.framework/
ABC (symlink to current version)
Resources (symlink to current version)
Versions/
A /
ABC
Resources/
Current / (symlink to A)
Frameworks / (symlink to myApp.app 's Framework folder)
info.plist
MacOS/
pkgInfo
Resoures/
When I code sign MyApp.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 MyApp.app .
Thank you !