Skip to content

Commit f3729eb

Browse files
Merge pull request livecode#7353 from montegoulding/bugfix-22729
[[ Bug 22729 ]] Fix iOS framework signing
2 parents f759bc5 + 0e5530a commit f3729eb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/notes/bugfix-22729.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# iOS frameworks are no longer signed with the app entitlements

ide-support/revsaveasiosstandalone.livecodescript

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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
828828
end 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

Comments
 (0)