IOS-IntegratedPhotoCapture
integrated photo capture framework use podspec
========> HOW TO USE?
In the SDK
-
Create a CocoaPods in your project:
Getting Started: [https://cocoapods.org]
-
Create a CocoaPods:
$ sudo gem install cocoapods
-
Create a Podfile:
$ pod init
-
Open the Podfile then list the dependencies:
- ex: Podfile
-
Install the dependencies in your project:
$ pod install
-
-
Create a podspec file:
Command-line Reference: Specifications
-
Summary: Specifications is A specification describes a version of Pod library. It includes details about where the source should be fetched from, what files to use, the build settings to apply, and other general metadata such as its name, version, and description.
-
Run this to generate a podspec file:
$ pod spec create <#COMMAND#>
- ex: pod spec create TakePhotoFrameWork
-
-
Config the podspec file:
Podspec Syntax Reference: [https://guides.cocoapods.org/syntax/podspec.html#specification]
-
Validation the podspec file:
-
Summary: Use this to check for errors during configuration, which should be passed when pushing the SDK to Git
-
Run this to validation:
$ pod spec lint
-
-
Package Project:
SDK for use local
- Create a [folder](https://github.com/NguyenThanhNam2710/IOS-IntegratedPhotoCapture/blob/07cd33cbbca2f17ef584c87f2e97b471a218e334/SDKDemo/SDK) with the:
SDK for use online
...
In the integrated project
-
Create a CocoaPods in your project:
Getting Started: [https://cocoapods.org]
-
Create a CocoaPods:
$ sudo gem install cocoapods
-
Create a Podfile:
$ pod init
-
Open the Podfile then list the dependencies:
- ex: Podfile
-
Install the dependencies in your project:
$ pod install
-