99The client exists in two different flavors:
1010
1111- The ** online** flavor, which is the regular API client. Its source code is located under the ` Source ` directory. It
12- gets published to Cocoapods as ` AlgoliaSearch-Client-Swift ` .
12+ gets published to CocoaPods as ` AlgoliaSearch-Client-Swift ` .
1313
1414- The ** offline** flavor, which is a superset of the online flavor. In addition to the main source code, it adds the
15- ` Source/offline ` directory. It gets published to Cocoapods as ` AlgoliaSearch-Offline-Swift ` . This flavor has a
16- dependency on the Algolia Search Offline Core module (` AlgoliaSearchOfflineCore-iOS ` in Cocoapods ).
15+ ` Source/offline ` directory. It gets published to CocoaPods as ` AlgoliaSearch-Offline-Swift ` . This flavor has a
16+ dependency on the Algolia Search Offline Core module (` AlgoliaSearchOfflineCore-iOS ` in CocoaPods ).
1717
18- Cocoapods subspecs don't allow us to have different deployment platforms for each subspec. So, instead of using
18+ CocoaPods subspecs don't allow us to have different deployment platforms for each subspec. So, instead of using
1919subspecs, we use ** two distinct pods** .
2020
2121Although the project is published as two different pods, it is essentially the same code base. Therefore we wish to
@@ -36,11 +36,11 @@ keep versioning aligned (there is only one version number for both flavors).
3636
3737- ** Dry-run the pod specs** : ` pod lib lint ` to check that everything's fine.
3838
39- WARNING: Cocoapods is a very susceptible beast, and Xcode (used behind the scenes for building) add its own layer
39+ WARNING: CocoaPods is a very susceptible beast, and Xcode (used behind the scenes for building) add its own layer
4040 of trouble on top of it. If you get weird, inexplicable behavior, try:
4141
4242 - clearing Cocapods temporary directory (usually displayed in the error messages), which appears to be reused
43- between two invocations of Cocoapods ;
43+ between two invocations of CocoaPods ;
4444
4545 - clearing Xcode derived data in ` ~/Library/Developer/Xcode/DerivedData ` .
4646
@@ -54,8 +54,8 @@ keep versioning aligned (there is only one version number for both flavors).
5454
5555 - ` git push --tags origin master `
5656
57- - Make sure you have a ** Cocoapods session** open: ` pod trunk me ` . If you have no active session, use
58- ` pod trunk register EMAIL ` to create one. (If you have never registered to Cocoapods , you need to contact one of
57+ - Make sure you have a ** CocoaPods session** open: ` pod trunk me ` . If you have no active session, use
58+ ` pod trunk register EMAIL ` to create one. (If you have never registered to CocoaPods , you need to contact one of
5959 the pod's owners; ` pod trunk info ` is your friend.)
6060
6161- ** Publish the pods.** You have to publish each pod separately:
@@ -65,6 +65,6 @@ keep versioning aligned (there is only one version number for both flavors).
6565 - ` pod trunk push --allow-warnings AlgoliaSearch-Offline-Swift.podspec `
6666
6767 NOTE: Currently, ` --allow-warnings ` is required. We get warnings about useless conditional compilation on iOS 8.0,
68- but iOS 7 is really supported; it's just that it cannot be supported via Cocoapods .
68+ but iOS 7 is really supported; it's just that it cannot be supported via CocoaPods .
6969
7070- Edit the ** release notes** : in GitHub, edit the tag and copy-paste the Change Log section for this release.
0 commit comments