Monday, 15 July 2013

osx - Qt 5 causes gatekeeper block my app -



osx - Qt 5 causes gatekeeper block my app -

i utilize qt 5 app on mac, , since apple released 10.9.5 , 10.10, app blocked gatekeeper. reports "xxx can't opened because identity of developer cannot confirmed". after research found this explains problem qt 5 frameworks, illustration qtcore, qtgui, etc. solution reorganize layout of frameworks. utilize python script process , works on machine. when run "spctl -a -t exec -vv myapp.app", reports accepted, rejected before.

here link apple explain layout.

https://developer.apple.com/library/mac/documentation/macosx/conceptual/bpframeworks/concepts/frameworkanatomy.html

but when create image (using hdiutil) , distribute it. loses symbolic links in app, makes gatekeeper block 1 time again same report.

is there way around this? either utilize way create image or way solve qt framework layout problem.

thanks in advanced.

jerry

finally find out problem.

it not hdiutil command removes symbolic links. python script used, shutil.copytree. re-create tree or other re-create functions deep copy, substitutes symbolic link object points to.

an easiest way or alternative solution utilize shutil.move if possible in case.

thanks, jerry

osx qt frameworks

No comments:

Post a Comment