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

TBXML Podspec is not working anymore after changes in the last 2 weeks #36

Open
Skyb0rg opened this issue Oct 8, 2023 · 3 comments
Open

Comments

@Skyb0rg
Copy link

Skyb0rg commented Oct 8, 2023

Hi Tom,

sorry not native english speaker…

TBXML Podspec is not working anymore, you changed the files 5 days before.

should be like this i think:

"source_files": [
"TBXML-Code/.{h,m}",
"TBXML-Headers/
.{h,m}"

but is now:

"source_files": "*.{h,m}“,

And currently the files are not found in Xcode Projects.

I hope this helps and you can fix the error soon.

Thank you and have a nice weekend.

@Skyb0rg
Copy link
Author

Skyb0rg commented Oct 8, 2023

Created my own podspec file:

Pod::Spec.new do |spec|
  spec.name          = 'TBXML'
  spec.version       = '1.5'
  spec.license       = { :type => 'MIT' }
  spec.homepage      = 'http://www.tbxml.co.uk'
  spec.authors       = { 'Tom Bradley' => '[email protected]' }
  spec.summary       = 'A fast XML parser.'
  spec.source        = { :git => 'https://github.com/codebots-ltd/TBXML.git', :tag => 'v1.5' }

  spec.ios.deployment_target  = '12.0'

  spec.source_files       = 'TBXML-Code/*.{h,m}', 'TBXML-Headers/*.{h,m}'
  spec.ios.framework  = 'UIKit'
end

using it in Xcode with:
pod 'TBXML', podspec: 'https://raw.githubusercontent.com/<GithubUsername>/TBXML/master/TBXML.podspec'

@gianfilippocisternino
Copy link

I am facing the same issue starting from 2 weeks ago. Is this pod still maintained?

@FlickerSoul
Copy link

Thanks @Skyb0rg for sharing the spec! I made a gist for it https://gist.github.com/FlickerSoul/fe931f9960d5a8a271c1d283fa8a645f so people can use it directly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants