Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. OSX System Integrity Protection and Qt .framework files
Forum Updated to NodeBB v4.3 + New Features

OSX System Integrity Protection and Qt .framework files

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 330 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PSI_lbc
    wrote on last edited by
    #1

    I had a number of Automator shell scripts running on OSX 10.8.5. After upgrading to OSX 10.12.2 Sierra, portions of the scripts stopped working. Specifically, when trying to remove Qt .framework files that aren’t needed from the .app bundle. Yes, I ran macdeployqt (5.8 version), but it add framework files I know the app does not use or need.

    The account the script is run from is an “admin” level account, so I should have the ability to run any command. The exact same command, as is attempted in the script, works fine when I open a bin/bash terminal and run it.

    I have tried the following versions from within the script..all commands are executed from the appropriate directory level..I “cd” to the folder prior to the “rm” command.

    These worked fine in 10.8.5
    rm -r -f Frameworks/QtMultimedia.framework
    rm -r -f QtMultimedia.framework

    I tried the originals as well as these variations in 10.12.2 Sierra with zero effect.
    rm -Rf Frameworks/QtMultimedia.framework
    rm -Rf QtMultimedia.framework

    rm -R Frameworks/QtMultimedia.framework
    rm -R QtMultimedia.framework

    rmdir Frameworks/QtMultimedia.framework
    rmdir QtMultimedia.framework

    It’s like the script just skips over the commands that refer to .framework “files”..I know they are really directories..with sub-directories

    Are the Qt .framework files considered some protected class of file?

    Is it Sierra and System Integrity Protection that’s causing the “problem”?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved