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
Hi again! Sorry for the screen shots. Disabling the User Script Sandboxing fixes the issue. Thank you for your patience! Have a great day!
Replies
Boosts
Views
Activity
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
Reply to Moving file to a system folder
The project compiles with ~/Library/PreferencePanes/, but the menu doesn't appear in System Settings.
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftData confusing crash
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.
Replies
Boosts
Views
Activity
Feb ’24
Reply to Custom Slider
Don't worry. I found a solution.
Replies
Boosts
Views
Activity
Dec ’23
Reply to Swift Exercise: Leap Years
Thank you for your help!😃
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’22