Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Fix OSX codesigning on El Capitan 10.11.4 - #3817

Merged
livecodepanos merged 2 commits into
livecode:develop-6.7from
livecodefraser:fix-elcapitan-codesign
Mar 31, 2016
Merged

Fix OSX codesigning on El Capitan 10.11.4#3817
livecodepanos merged 2 commits into
livecode:develop-6.7from
livecodefraser:fix-elcapitan-codesign

Conversation

@livecodefraser

Copy link
Copy Markdown
Contributor

Apple changed the codesigning process for non-MachO executables on 10.11.4. The signatures that it generates cannot be verified by earlier versions of OSX so are reported as invalid and the affected app bundle is blocked from running.

This PR changes the installer stub from a simple text script to a compiled executable in order to avoid having non-binary files in the code directory. A similar (but un-needed) file gets removed from the CEF framework directory when building the app bundle as well.

OSX 10.11.4 uses a different method for signing non-MachO files as
code which causes signature verification to fail on earlier versions
of OSX. This commit removes the text files from the Contents/MacOS
directory and uses a MachO executable to launch the AppleScript
that opens a Finder window on the installer DMG root. The script
has been moved to the resource directory.
@livecodefraser livecodefraser added this to the 6.7.11-rc-1 milestone Mar 31, 2016
@peter-b

peter-b commented Mar 31, 2016

Copy link
Copy Markdown
Contributor

@livecode-vulcan review ok 610925e

@livecode-vulcan

Copy link
Copy Markdown
Contributor

💙 review by @peter-b ok 610925e

livecode-vulcan added a commit that referenced this pull request Mar 31, 2016
Fix OSX codesigning on El Capitan 10.11.4

Apple changed the codesigning process for non-MachO executables on 10.11.4. The signatures that it generates cannot be verified by earlier versions of OSX so are reported as invalid and the affected app bundle is blocked from running.

This PR changes the installer stub from a simple text script to a compiled executable in order to avoid having non-binary files in the code directory. A similar (but un-needed) file gets removed from the CEF framework directory when building the app bundle as well.
@livecode-vulcan

Copy link
Copy Markdown
Contributor

😎 test success 610925e

@livecodepanos
livecodepanos merged commit cfee4aa into livecode:develop-6.7 Mar 31, 2016
@livecodefraser
livecodefraser deleted the fix-elcapitan-codesign branch March 31, 2016 13:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants