Skip to content
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

Fix podspec #71

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Fix podspec #71

merged 1 commit into from
Jun 19, 2023

Conversation

cozzin
Copy link
Contributor

@cozzin cozzin commented Jun 19, 2023

The error occurred when executing pod turnk push

$ pod trunk push

[!] Found podspec `SendBirdSDK.podspec`
Updating spec repo `trunk`
Validating podspec
[!] Unable to interpret the specified path `SendBirdSDK.podspec` as a podspec (Pod::DSLError).

�The error occurred because there were elements that did not fit the podspec format.

$ pod spec lint --verbose

  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
 -> SendBirdSDK.podspec
    - ERROR | spec: The specification defined in `SendBirdSDK.podspec` could not be loaded.


[!] Invalid `SendBirdSDK.podspec` file: syntax error, unexpected string literal, expecting '}'
    'Damon Park' => 'damon.park@se...
    ^
sendbird-ios-framework/SendBirdSDK.podspec:14: syntax error, unexpected '}', expecting `end'
sendbird-ios-framework/SendBirdSDK.podspec:22: syntax error, unexpected `end', expecting end-of-input.

 #  from ~/Dev/sendbird-ios-framework/SendBirdSDK.podspec:13
 #  -------------------------------------------
 #      'Ernest Hong' => '[email protected]'
 >      'Damon Park' => '[email protected]'
 #    }
 #  -------------------------------------------


Analyzed 1 podspec.

[!] The spec did not pass validation, due to 1 error.

~/.gem/ruby/3.1.0/gems/cocoapods-1.12.1/lib/cocoapods/command/spec/lint.rb:107:in `run'
~/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
~/.gem/ruby/3.1.0/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:52:in `run'
~/.gem/ruby/3.1.0/gems/cocoapods-1.12.1/bin/pod:55:in `<top (required)>'
~/.gem/ruby/3.1.0/bin/pod:25:in `load'
~/.gem/ruby/3.1.0/bin/pod:25:in `<main>'

@cozzin cozzin requested a review from mininny June 19, 2023 05:30
@cozzin cozzin self-assigned this Jun 19, 2023
@cozzin cozzin merged commit 2642544 into master Jun 19, 2023
@cozzin cozzin deleted the feature/ernest/fix-podspec branch June 19, 2023 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants