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

Feature: cocoapods #197

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

arshiacont
Copy link

Enables distribution of MIDIKit using Cocoapods.

Before official distribution on Cocoapods and for building on XCode from this repo, you must follow two steps in your XCode Project's Podfile:

  1. Add this repo as a source (since the podspecs do not live on Cocoapods distribution yet)
  2. Add each dependency to your podfile. For example:
#pod 'TimecodeKit', :git => 'https://github.com/arshiacont/TimecodeKit.git', :branch => 'feature/cocoapods'
  pod 'MIDIKitInternals', :git => 'https://github.com/arshiacont/MIDIKit.git', :branch => 'feature/cocoapods2'
  pod 'MIDIKitCore', :git => 'https://github.com/arshiacont/MIDIKit.git', :branch => 'feature/cocoapods2'
  pod 'MIDIKitIO', :git => 'https://github.com/arshiacont/MIDIKit.git', :branch => 'feature/cocoapods2'

then run pod install and open the workspace and compile!

The project as is, builds when following the two points above.

Suggestions
A. Once merged on MIDIKit main branch Cocoapod users can simply add pods by changing the Github address above!
B. To include only (example) pod MIDIKitIO without including other dependencies, all podspecs should be validated and submitted. This requires:

  • running pod spec lint on each podspec
  • using Semantic Versioning

If there is not much demand for Cocoapod support we might stay on step (A)

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

Successfully merging this pull request may close these issues.

None yet

1 participant