Post

Replies

Boosts

Views

Activity

Reply to Moving file to a system folder
[quote='801666022, DTS Engineer, /thread/762256?answerId=801666022#801666022'] Even if you quit and relaunch? [/quote] Yes, even in that case. Here is a screenshot of the Build Log. Also the ~/Library/PreferencePanes/ folder in Finder doesn't have the file. This is the script: PREFPANE_SRC="${BUILT_PRODUCTS_DIR}/Dynamic Notch.prefPane" PREFPANE_DST="$HOME~/Library/PreferencePanes/" echo "PrefPane source path: $PREFPANE_SRC" echo "PrefPane destination path: $PREFPANE_DST" if [ -d "$PREFPANE_SRC" ]; then echo "Installing preference pane to ${PREFPANE_DST}" cp -R "${PREFPANE_SRC}" "${PREFPANE_DST}" else echo "Preference pane not found: ${PREFPANE_SRC}" exit 1 fi Sorry, I'm inexperienced in macOS development and thanks for your patience!
Aug ’24
Reply to Moving file to a system folder
Thank you so much! There is progress. The project compiles and the file appears in ~/Library/PreferencePanes; the only issue is that when Show Package Contents is clicked there is nothing, whereas in the original location the file contains the specific files. Tried ditto as well but didn't do anything either.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Moving file to a system folder
[quote='801666022, DTS Engineer, /thread/762256?answerId=801666022#801666022'] Even if you quit and relaunch? [/quote] Yes, even in that case. Here is a screenshot of the Build Log. Also the ~/Library/PreferencePanes/ folder in Finder doesn't have the file. This is the script: PREFPANE_SRC="${BUILT_PRODUCTS_DIR}/Dynamic Notch.prefPane" PREFPANE_DST="$HOME~/Library/PreferencePanes/" echo "PrefPane source path: $PREFPANE_SRC" echo "PrefPane destination path: $PREFPANE_DST" if [ -d "$PREFPANE_SRC" ]; then echo "Installing preference pane to ${PREFPANE_DST}" cp -R "${PREFPANE_SRC}" "${PREFPANE_DST}" else echo "Preference pane not found: ${PREFPANE_SRC}" exit 1 fi Sorry, I'm inexperienced in macOS development and thanks for your patience!
Replies
Boosts
Views
Activity
Aug ’24