MIDIKit
MIDIKit copied to clipboard
Feature: cocoapods
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
:
- Add this repo as a source (since the podspecs do not live on Cocoapods distribution yet)
- 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)