-
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
NoMethodError - undefined method `start_with?' for true:TrueClass #2923
Comments
@maddy9859 can you share the podspec you're trying to push? |
@segiddins hey I was able to create the pod, I was adding wrong source. Thanks |
@maddy9859 hi. I'm getting the same error. You said you were 'adding the wrong source'. Are you talking about the 'source' or 'source_files' in the podspec or something else? |
@timonroe can you please share your podspec? |
@segiddins I'm trying to create a private pod, here's the podspec: Pod::Spec.new do |s|
s.name = "MCAppLog"
s.version = "1.0.0"
s.summary = "Monroe Consulting Group common component - MCAppLog."
s.description = <<-DESC
MCAppLog: Monroe Consulting Group common component.
Common components used for building iOS apps.
DESC
s.homepage = "http://monroegolf.com"
s.license = 'MIT'
s.author = { "Tim Monroe" => "timonroecg@gmail.com" }
s.source = { :git => "/users/timonroe/.cocoapods/repos/mcapplog/.git", :tag => "1.0.0" }
s.platform = :ios, '8.1'
s.ios.deployment_target = '8.1'
s.requires_arc = true
s.frameworks = 'Foundation'
s.source_files = 'MCAppLog/MCAppLog.h', 'MCAppLog/MCAppLog.m'
end |
@segiddins Here's what I ran to add my private repo to the cocoapods installation: Running lint gave me the error: Stack
Plugins
Error
|
@timonroe Hi, you might get this error if your .podspec file is not located in the root of your repo. |
@segiddins I just installed 36 Beta 1 and the problem still exists so assuming your changes aren't in there. Do you know which version I can rollback to and get around this? |
@timonroe I'll need to investigate to be able to answer that, sorry. |
@velyan Hi, my podspec file is unfortunately located in the root. |
@segiddins I installed version 0.34.0 and no longer get this error. |
Thanks for the info @timonroe, I'll need to dig in to find the issue. |
@segiddins Hi. I'm now trying to use my private pod in a project and get the following error when running 'pod install' Resolving dependencies of
[!] An unexpected version directory Here's what my podfile looks like: source 'https://github.com/CocoaPods/Specs.git' Any help with this is greatly appreciated. |
That's a different issue. -Samuel E. Giddins On Jan 13, 2015, at 5:37 PM, Tim Monroe notifications@github.com wrote: @segiddins Hi. I'm now trying to use my private pod in a project and get the following error when running 'pod install' Resolving dependencies of Podfile MCAppLog (= 1.0.0) [!] An unexpected version directory Base.lproj was encountered for the /Users/timonroe/.cocoapods/repos/MCAppLog/MCAppLog Pod in the MCAppLog repository. source 'https://github.com/CocoaPods/Specs.git' Any help with this is greatly appreciated. — |
@segiddins Following up just in case someone else runs into this... |
The error here is adding your whole project to the specs repo, only the spec should be added. |
Closes #220. Closes CocoaPods/CocoaPods#3134. Closes CocoaPods/CocoaPods#2923.
Closes CocoaPods#220. Closes CocoaPods/CocoaPods#3134. Closes CocoaPods/CocoaPods#2923.
Report
Stack
Plugins
Error
The text was updated successfully, but these errors were encountered: