Thank you for your help!😃
Post
Replies
Boosts
Views
Activity
Don't worry. I found a solution.
Thank you! That is a wonderful idea. I can understand that it happens due to the changes, so if it is normally used, they are not that likely to occur.
The project compiles with ~/Library/PreferencePanes/, but the menu doesn't appear in System Settings.
[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!
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.
Hi again! Sorry for the screen shots. Disabling the User Script Sandboxing fixes the issue. Thank you for your patience! Have a great day!