-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using plutil
causes crash in Mac OS X 10.10 Yosemite Beta
#2502
Comments
Looking at the stack trace, it just looks like your project file wasn't readable. |
I just verified it was readable, by opening it in Xcode. The issue is new-host:ta-flights-ios ktran$ plutil -h
dyld: Library not loaded: /usr/local/lib/libplist.1.dylib
Referenced from: /usr/local/bin/plutil
Reason: image not found
Trace/BPT trap: 5
|
Have you installed |
That's a very good point! There isn't a homebrew formula for new-host:ta-flights-ios ktran$ brew info plutil
Error: No available formula for plutil When I deleted it, it worked! new-host:ta-flights-ios ktran$ rm -f /usr/local/bin/plutil
new-host:ta-flights-ios ktran$ bundle exec pod install
Analyzing dependencies
Fetching podspec for `TAFlights` from `.`
Downloading dependencies
Using AFNetworking (1.3.4)
Using BZipCompression (1.0.1)
...
Generating Pods project
Integrating client project
new-host:ta-flights-ios ktran$ |
We should use the full path to |
@segiddins Ah man, good find and thanks 👍 @fabiopelosin See, better to not do things for which there really is no point :) |
Glad this wasn't a total waste of time. Thanks for the feedback and help. |
There is not point in hardcoding the path either :) ... This is a rare issue, as unexpected as the user moving the binary to another location. Also I prefer to not have specific logic when not needed... looking for the full path of the executable in |
There is definitely a point in hardcoding it. We expect it to be the binary at that location, so that’s what we should try to use. Not hardcoding paths to binaries that you expect to be used inevitably always leads to issues, I have seen it happen time and time again. |
Report
When I run
bundle exec pod install
I get this crash with the Cocoapods version0.34.0.rc2
gem:new-host:ta-flights-ios ktran$ bundle exec pod install Preparing Analyzing dependencies dyld: Library not loaded: /usr/local/lib/libplist.1.dylib Referenced from: /usr/local/bin/plutil Reason: image not found
Stack
Plugins
Podfile
I expect my pods to be installed in my workspace.
Error
I noticed in one of the release notes you started to use
plutil
. I think there is an issue withplutil
in the latest Mac OS X 10.10 Yosemite beta release. I don't think this is a "bug" (since Yosemite is not supported), but I think it should be monitored, just so people know.The text was updated successfully, but these errors were encountered: