-
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
xcode-select: Error: unknown command option '-p'.
in v0.36.3
#3387
Comments
I should mention that this seems not to affect the operation of It looks like the latest version of the
A saner solution might be something like: # [existing xcode-select call w/o `-p`]
xcode_developer_path = begin
path = `xcrun --find xcodebuild`
concise_path = path[%r'(/.*/)usr/bin/xcodebuild', 1]
concise_path || path
end
puts "Using Xcode directory: #{xcode_developer_path}" |
I believe the intention of that advice is not hardcoding paths to specific tools as their location inside the Xcode bundle is suspect to change. Alas, hardcoding the relative path to Back to the original issue, does the Xcode 5.x BTW, this is not a hard error, because it is used inside the Xcodeproj gem to locate the DevToolsCore.framework for writing the project file as an ASCII plist, and if that fails it'll fall back to writing XML. |
Ah, I see |
My (OS X 10.8.5)
and
and (why not)
P.S.
|
Thanks, |
Works for me. Cheers. |
🌈 As of CocoaPods 0.36.3, I'm getting the follow error whenever I run a
pod install
:The previous version of CocoaPods I had installed was 0.35.0, which did not have the issue.
I'm using:
The text was updated successfully, but these errors were encountered: