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

Use GitHub repository for CocoaPods #514

Open
tamimattafi opened this issue Nov 23, 2024 · 0 comments
Open

Use GitHub repository for CocoaPods #514

tamimattafi opened this issue Nov 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tamimattafi
Copy link

Hello!

Is there a possibility to use your GitHub as a repository for CocoaPods instead of the main repository? I believe this will be easier for you to publish new versions than using the Specs repository.

I've read the #479 issue and fully understand your decision. But many projects still depend on CocoaPods and migration requires a lot of time and efforts, which are not always affordable by some businesses.

For the GitHub part, we tried adding LiveKitClient and directly point to your repository like this:

pod 'LiveKitClient', :git => 'https://github.com/livekit/client-sdk-swift.git', :tag => '2.0.17'

But during pod install, it can't find LiveKitWebRTC (= 125.6422.11), so we added it as well like this:

pod 'LiveKitWebRTC', :git => 'https://github.com/livekit/webrtc-xcframework.git', :tag => '125.6422.11'

The installation now completes successfully. But compilation fails since some source code can't find module LiveKitWebRTC.

It seems like if you update the podspec file to point to LiveKitWebRTC dependency using git URL and tag, it will automatically find it and link it to the project. Maybe the same is needed with some other dependencies.

@tamimattafi tamimattafi added the bug Something isn't working label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants