-
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
pod lib create ends with SyntaxError #2616
Comments
What does the created Podfile actually look like? |
Here's the complete file: #
# Be sure to run `pod lib lint MMSync.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "MMSync"
s.version = "0.1.0"
s.summary = "A short description of MMSync."
s.description = <<-DESC
An optional longer description of MMSync
* Markdown format.
* Don't worry about the indent, we strip it!
DESC
s.homepage = "https://github.com/<GITHUB_USERNAME>/MMSync"
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
s.license = 'MIT'
s.author = { "Ken Anderson" => "emailaddress" }
s.source = { :git => "https://github.com/<GITHUB_USERNAME>/MMSync.git", :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.platform = :ios, '7.0'
s.requires_arc = true
s.source_files = 'Pod/Classes'
s.resource_bundles = {
'MMSync' => ['Pod/Assets/*.png']
}
# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end |
Same here |
|
Same |
Can anyone of you please share the contents of the Podfile ( |
|
OK, saying "No" to the first question is actually broken inside the template, let's move this to the correct repo's issues. |
In the meantime, I recommend just saying 'Yes' to the example project as a workaround. |
Thanks <3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've installed 0.34.1 on Mavericks, and I'm getting a SyntaxError:
SyntaxError - /Users/kanderson/Projects/MobileMachinations/Frameworks/MMSync/MMSync/Example/Podfile:2: syntax error, unexpected keyword_end, expecting end-of-input
'/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile.rb:247:in
eval' /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile.rb:247:in
block in from_ruby'/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile.rb:51:in
instance_eval' /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile.rb:51:in
initialize'/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile.rb:244:in
new' /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile.rb:244:in
from_ruby'/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.34.1/lib/cocoapods-core/podfile.rb:220:in
from_file' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/config.rb:176:in
podfile'/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command.rb:101:in
verify_podfile_exists!' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command/project.rb:100:in
run'/Library/Ruby/Gems/2.0.0/gems/claide-0.7.0/lib/claide/command.rb:271:in
run' /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/lib/cocoapods/command.rb:48:in
run'/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.34.1/bin/pod:33:in
<top (required)>' /usr/bin/pod:23:in
load'/usr/bin/pod:23:in `
All I did was run pod lib create MMSync in a clean directory, and answered the questions:
No, None, No, MM
Here's the additional data:
Plugins
Help!
Thanks,
Ken
The text was updated successfully, but these errors were encountered: