| name | ios-persistence-platform |
|---|---|
| description | CocoaPods, Xcode workspace, Realm vs Core Data, and iOS deployment for this repo |
- You change CocoaPods integration (
Podfile,Podfile.lock, podspecs) - You choose or explain Realm vs Core Data delivery paths
- You adjust iOS deployment target or linker settings (
OTHER_LDFLAGS, etc.)
- Install:
pod installfrom repo root; openContentstackPersistence.xcworkspace. - Consumable pods:
ContentstackPersistence(core),ContentstackPersistenceCoreData,ContentstackPersistenceRealm— see README.md forPodfilelines. - Lockfile: Commit
Podfile.lockwhen dependency resolution should be reproducible for CI or the team (follow existing repo practice).
- Realm:
ContentstackPersistenceRealmpod; depends on Realm (seeContentstackPersistenceRealm.podspec); implementation inContentstackPersistenceRealm/. - Core Data:
ContentstackPersistenceCoreDatapod; no Realm dependency; implementation inContentstackPersistenceCoredata/. - Core pod
ContentstackPersistenceis shared; apps pick one persistence backend or structure their app module graph accordingly.
- Scheme: Use
ContentstackPersistencefor build/test of the main framework (scheme may be generated in Xcode if not checked in—create/share schemes if the team standardizes on committed schemes). - SDK:
iphonesimulatorfor typical local builds; device builds when validating arm64/device-only issues.
- Podspecs specify
s.ios.deployment_target = '12.0'— keep podspecs aligned when raising the minimum iOS version.
- Base dependency on Contentstack iOS SDK with ranges in podspecs (
~> 3.12core / Core Data,~> 3.6Realm podspec for historical range—verify compatibility when bumping).