cocoabits / MASShortcut

Modern framework for managing global keyboard shortcuts compatible with Mac App Store. More details:
http://blog.shpakovski.com/2012/07/global-keyboard-shortcuts-in-cocoa.html
BSD 2-Clause "Simplified" License
1.52k stars 220 forks source link

MASShortcut/MASShortcut.bundle: No such file or directory #88

Closed jhoughjr closed 8 years ago

jhoughjr commented 8 years ago

Trying to build with cocoapods. When i did a pod update, I ran into this build error. I'm not sure how to fix it, since i don't see the bundle it is looking for anywhere under the pods project.

jhoughjr commented 8 years ago

Inside of derived data ../Debug/ I have MASShortcut, and another MASShortcut folder that contains the bundle. When i manually moved it out into the top level of MASShortcut, the same level with the framework it built.

zoul commented 8 years ago

Just a week ago we were investigating a different issue regarding CocoaPods (see #87) and I tried building a fresh Xcode project with the current MASShortcut version installed through CocoaPods, with no problems. Can you please make sure that it’s not a local problem with CocoaPods? Maybe reinstall the pods afresh?

jhoughjr commented 8 years ago

I've tried reinstalling cocoa pods and am at 0.39.0. I deleted the xcworkspace and did pod install.

I'm still getting : CpResource /Users/jimmyhoughjr/Library/Developer/Xcode/DerivedData/GhostNote-aqfthowqdbdibwensghrcgbcparn/Build/Products/Debug/MASShortcut/MASShortcut.bundle /Users/jimmyhoughjr/Library/Developer/Xcode/DerivedData/GhostNote-aqfthowqdbdibwensghrcgbcparn/Build/Products/Debug/MASShortcut/MASShortcut.framework/Versions/A/Resources/MASShortcut.bundle cd /Users/jimmyhoughjr/workspace/ghostnote-Paddle/Pods builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/jimmyhoughjr/Library/Developer/Xcode/DerivedData/GhostNote-aqfthowqdbdibwensghrcgbcparn/Build/Products/Debug/MASShortcut/MASShortcut.bundle /Users/jimmyhoughjr/Library/Developer/Xcode/DerivedData/GhostNote-aqfthowqdbdibwensghrcgbcparn/Build/Products/Debug/MASShortcut/MASShortcut.framework/Versions/A/Resources

error: /Users/jimmyhoughjr/Library/Developer/Xcode/DerivedData/GhostNote-aqfthowqdbdibwensghrcgbcparn/Build/Products/Debug/MASShortcut/MASShortcut.bundle: No such file or directory

This built before i did a pod update a few days ago, and idk what is going on.

jhoughjr commented 8 years ago

Seems I needed to fully uninstall all versions, i had a few. Reinstalling and remaking the workspace appears to have fixed it.

jhoughjr commented 8 years ago

BTW thanks for the suggestion!