This repository serves as a CocoaPod specs host for MoEngage pods.
This is a spec repository that contains podspec files for MoEngage's pods. It allows MoEngage to distribute and manage its CocoaPods independently from the public CocoaPods trunk.
To use pods from this specs repository, you need to add it to your CocoaPods installation.
pod repo add moengage-specs https://github.com/moengage/PodSpecs.gitAdd the following line at the top of your Podfile:
source 'https://github.com/moengage/PodSpecs.git'
source 'https://github.com/CocoaPods/Specs.git'Note: When using specs repositories, you must explicitly include the public CocoaPods specs repository as well.
Once you've added this specs repository, you can use MoEngage pods in your Podfile just like any other pod:
source 'https://github.com/moengage/PodSpecs.git'
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '13.0'
target 'YourApp' do
use_frameworks!
pod 'MoEngage-iOS-SDK', '~> 10.0.0'
# Add other MoEngage pods as needed
endThen run:
pod installTo publish a new version of a pod to this specs repository:
-
Ensure your podspec file is valid:
pod spec lint YourPod.podspec --allow-warnings --skip-import-validation
-
Push the podspec to this repository:
pod repo push moengage-specs YourPod.podspec --allow-warnings --skip-import-validation --use-json
Alternatively, you can manually add the podspec:
- Clone this repository
- Create the appropriate directory structure:
[POD_NAME]/[VERSION]/ - Add your
.podspecfile - Commit and push the changes
PodSpecs/
├── [PodName]/
│ ├── [Version1]/
│ │ └── [PodName].podspec
│ ├── [Version2]/
│ │ └── [PodName].podspec
│ └── ...
└── README.md
For issues or questions related to MoEngage pods, please contact the MoEngage SDK team.
See LICENSE file for details.