@@ -814,7 +814,7 @@ private command revSaveAsMobileStandaloneMain pStack, pAppBundle, pTarget, pSett
814814 -- try
815815 -- Perform the codesigning of the main bundle
816816 local tResult
817- __CodesignFrameworks pAppBundle & "/Frameworks" , tCertificate , tEntitlementsOption
817+ __CodesignFrameworks pAppBundle & "/Frameworks" , tCertificate
818818 put shell ("/usr/bin/codesign --deep --verbose -f -s" && quote & tCertificate & quote && \
819819 tEntitlementsOption && quote & pAppBundle & quote ) into tResult
820820 -- MM-2012-10-25: [[ Bug ]] try catch finally oddness meant that any errors here were being ignored.
@@ -827,16 +827,16 @@ private command revSaveAsMobileStandaloneMain pStack, pAppBundle, pTarget, pSett
827827 end if
828828end revSaveAsMobileStandaloneMain
829829
830- private command __CodesignFrameworks pPath, pCertificate, pEntitlementsOption
830+ private command __CodesignFrameworks pPath, pCertificate
831831 local tFrameworks
832832 put folders (pPath ) into tFrameworks
833833 filter tFrameworks with "*.framework"
834834 repeat for each line tFramework in tFrameworks
835- __CodesignFrameworks pPath & "/" & tFramework & "/Frameworks" , pCertificate , pEntitlementsOption
835+ __CodesignFrameworks pPath & "/" & tFramework & "/Frameworks" , pCertificate
836836
837837 local tResult
838838 put shell ("/usr/bin/codesign --deep --verbose -f -s" && quote & pCertificate & quote && \
839- pEntitlementsOption && quote & pPath & "/" & tFramework & quote ) into tResult
839+ quote & pPath & "/" & tFramework & quote ) into tResult
840840 if not (tResult contains "signed bundle" or tResult contains "signed app bundle" ) then
841841 throw "codesigning failed with" && tResult
842842 end if
0 commit comments