RUEDAMINUTE > COM

Category: Uncategorized

CoreData + Codable “Cannot find type in scope”

Follow initial steps from this post: https://medium.com/swlh/core-data-using-codable-68660dfb5ce8 Check targets of generated classes. For MacOS that target was not automatically added leading to the above error. This gist: https://gist.github.com/Akhu/5ea1ecbd652fb269f7c4e7db27bc79cc includes what you need for the rest!    

AppIntents notes

if Shortcuts are not refreshing even with changes in AppShortcuts, look at build log and search for “intent” to see if there are any problems with the app intents metadata being extracted Sometimes Siri will work without this, but add a phrase in your AppShortcuts that uses \(.applicationName) this will prompt iOS to send a notification […]

delete Mac catalyst app data

find all the app data locations: https://askubuntu.com/questions/153144/how-can-i-recursively-search-for-directory-names-with-a-particular-string-where delete defaults data for Mac catalyst apps: https://sarunw.com/posts/how-to-delete-userdefaults-data-on-macos-catalyst/

search within stashes

git stash list -G some_string   git stash list -p | grep ‘diff –git’ | grep ProgressiveRolloutUtils.swift   git stash list | while IFS=: read STASH ETC; do echo “$STASH: $ETC”; git diff –stat $STASH~..$STASH –; done | grep -e ‘stash\|ProgressiveRolloutUtilsTests’  

git server on droplet

Make sure you have ssh key access to your remote server. Make sure git is installed: git version Follow the steps here: https://www.inmotionhosting.com/support/website/git/setting-up-your-remote-repository-with-git/ except at end, just do: git clone usera5@destination:home/userna5/production.git

Back to top