InjectionIII icon indicating copy to clipboard operation
InjectionIII copied to clipboard

Bookmarking

Open ryanx2002 opened this issue 1 year ago • 8 comments

Hey, running into an issue with newest Injection version:

Bookmarking failed for file:///Users/ryanx2002/Downloads/practice/, Error Domain=NSCocoaErrorDomain Code=256 "Failed to retrieve app-scope key" UserInfo={NSDebugDescription=Failed to retrieve app-scope key}

What could be the cause?

ryanx2002 avatar Oct 04 '24 15:10 ryanx2002

@johnno1962 I saw this on his machine and it was very weird, tried downloading new version of app, restarting etc. It got stuck on another project path that we opened initially and would never switch to new one, always throwing this error

krzysztofzablocki avatar Oct 04 '24 16:10 krzysztofzablocki

Strange, What version of Xcode & macOS & InjectionIII is this? Probably to do with "recent items" list? This shouldn't be a problem with the non-sandboxed versions (GitHub releases)

https://github.com/johnno1962/HotReloading/blob/main/Sources/injectiond/AppDelegate.swift#L332

johnno1962 avatar Oct 04 '24 17:10 johnno1962

Newest Injection from GitHub, I thought he had Mac App Store but we downloaded GH version and the issue happens there, Xcode doesn't matter since this happens at tool level, @ryanx2002 what's your OSX version?

krzysztofzablocki avatar Oct 04 '24 22:10 krzysztofzablocki

i have exactly the same problem (osx 15.0.1, xcode 16.0 and injection 1.5.2)

jgonibemobile avatar Oct 08 '24 08:10 jgonibemobile

I've verified switching projects is still working for me with osx 15.0 so I'm at a loss to explain what the problem might be here. Have you tried resetting the defaults .plist. Sometimes switching from sandboxed to un-sandboxed it can get confused.

rm ~/Library/Preferences/com.johnholdsworth.InjectionIII.plist ~//Library/Containers/com.johnholdsworth.InjectionIII/Data/Library/Preferences/com.johnholdsworth.InjectionIII.plist

johnno1962 avatar Oct 08 '24 09:10 johnno1962

I don't know why, but 1h later, the app works fine 🤷🏻‍♂️

jgonibemobile avatar Oct 08 '24 09:10 jgonibemobile

Weird, what version is that? InjectionIII 1.5.2 is from 5 years ago!

johnno1962 avatar Oct 08 '24 09:10 johnno1962

5.0.2, excuse me

jgonibemobile avatar Oct 08 '24 09:10 jgonibemobile

Same here. CleanShot 2024-10-18 at 15 15 49@2x

Perjan avatar Oct 18 '24 13:10 Perjan

Hi, this is on Sonoma? Which version of Xcode/the app?

johnno1962 avatar Oct 18 '24 13:10 johnno1962

I have Sonoma and Xcode 16.

On 18. Oct 2024, at 15:24, John Holdsworth @.***> wrote:

Hi, this is on Sonoma? Which version of Xcode/the app?

— Reply to this email directly, view it on GitHub https://github.com/johnno1962/InjectionIII/issues/522#issuecomment-2422470810, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWK7OAR6PCVYCRSOP46VHLZ4EDXRAVCNFSM6AAAAABPMET7YCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGQ3TAOBRGA. You are receiving this because you commented.

Perjan avatar Oct 18 '24 14:10 Perjan

There doesn't seem to be a ready explanation for this. Any chance you would be prepared to switch to https://github.com/johnno1962/InjectionNext in the interim which shouldn't give you this problem.

johnno1962 avatar Oct 18 '24 15:10 johnno1962

I've uploaded a new release candidate that should at least make this error "go away" though I'm still not sure what the underlying problem is with Sequoia/Xcode 16. https://github.com/johnno1962/InjectionIII/releases/tag/5.0.4RC1

johnno1962 avatar Oct 19 '24 04:10 johnno1962

Did anybody get a chance to try the new release candidate? It shouldn't report this error but does it work with Sequoia?

johnno1962 avatar Oct 23 '24 10:10 johnno1962