Manos Chorianopoulos

version 2.2.5

......@@ -4,7 +4,7 @@
**Get started with SwiftWarplyFramework in just 5 minutes!**
**Version**: 2.2.4 | **Minimum iOS**: 17.0 | **Swift**: 5.0+
**Version**: 2.2.5 | **Minimum iOS**: 17.0 | **Swift**: 5.0+
---
......@@ -53,7 +53,7 @@ Choose your preferred installation method:
```
https://git.warp.ly/open-source/warply_sdk_framework.git
```
4. Select **Version**: `2.2.4` or **Up to Next Major**
4. Select **Version**: `2.2.5` or **Up to Next Major**
5. Click **Add Package**
6. Select **SwiftWarplyFramework** and click **Add Package**
......@@ -62,7 +62,7 @@ Add to your `Package.swift` dependencies:
```swift
dependencies: [
.package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.4")
.package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.5")
]
```
......@@ -89,7 +89,7 @@ platform :ios, '17.0'
target 'YourApp' do
use_frameworks!
pod 'SwiftWarplyFramework', :git => 'https://git@git.warp.ly/open-source/warply_sdk_framework.git', :tag => '2.2.4'
pod 'SwiftWarplyFramework', :git => 'https://git@git.warp.ly/open-source/warply_sdk_framework.git', :tag => '2.2.5'
end
```
......
# SPM Implementation Plan - SwiftWarplyFramework v2.2.4
# SPM Implementation Plan - SwiftWarplyFramework v2.2.5
**Project**: SwiftWarplyFramework
**Goal**: Add Swift Package Manager (SPM) support alongside existing CocoaPods distribution
**Target Version**: 2.2.4
**Target Version**: 2.2.5
**Created**: 2025-06-17
**Status**: ✅ **COMPLETED SUCCESSFULLY**
......@@ -14,7 +14,7 @@ This document outlines the step-by-step implementation plan to add SPM support t
### **Key Requirements**
- ✅ Maintain dual distribution (CocoaPods + SPM)
- ✅ Version as 2.2.4 for SPM support
- ✅ Version as 2.2.5 for SPM support
- ✅ No breaking changes for existing clients
- ✅ All dependencies confirmed SPM-compatible (RSBarcodes_Swift, SwiftEventBus)
......@@ -37,7 +37,7 @@ This document outlines the step-by-step implementation plan to add SPM support t
### **Step 1.2: Requirements Confirmation** ✅
- [x] Maintain dual distribution (CocoaPods + SPM)
- [x] Version as 2.2.4 for SPM support
- [x] Version as 2.2.5 for SPM support
- [x] No breaking changes for existing clients
- [x] All dependencies confirmed SPM-compatible
......@@ -346,7 +346,7 @@ Resolved source packages:
### **Step 7.1: Update CLIENT_DOCUMENTATION.md** ⏳
- [ ] Add SPM installation section
- [ ] Update version to 2.2.4
- [ ] Update version to 2.2.5
- [ ] Add SPM-specific integration examples
- [ ] Maintain CocoaPods documentation
......@@ -357,18 +357,18 @@ Resolved source packages:
### Using Xcode
1. File → Add Package Dependencies
2. Enter: https://git.warp.ly/open-source/warply_sdk_framework.git
3. Select version 2.2.4+
3. Select version 2.2.5+
### Using Package.swift
```swift
dependencies: [
.package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.4")
.package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.5")
]
```
### **Step 7.2: Update framework_specifications.md** ⏳
- [ ] Add SPM distribution method
- [ ] Update version to 2.2.4
- [ ] Update version to 2.2.5
- [ ] Document dual distribution support
### **Step 7.3: Create SPM-Specific Documentation** ⏳
......@@ -389,28 +389,28 @@ dependencies: [
## **PHASE 8: VERSION MANAGEMENT** ⏳ **READY FOR RELEASE**
### **Step 8.1: Update Version Numbers** ⏳
- [ ] Update .podspec version to 2.2.4
- [ ] Update .podspec version to 2.2.5
- [ ] Update Info.plist version
- [ ] Update framework_specifications.md version
- [ ] Update CLIENT_DOCUMENTATION.md version
**Files to update:**
- `SwiftWarplyFramework.podspec` → `spec.version = "2.2.4"`
- `SwiftWarplyFramework.podspec` → `spec.version = "2.2.5"`
- `SwiftWarplyFramework/SwiftWarplyFramework/Info.plist` → CFBundleShortVersionString
- `framework_specifications.md` → Framework Version: 2.2.4
- `CLIENT_DOCUMENTATION.md` → **Version**: 2.2.4
- `framework_specifications.md` → Framework Version: 2.2.5
- `CLIENT_DOCUMENTATION.md` → **Version**: 2.2.5
### **Step 8.2: Git Tagging Preparation** ✅ **READY**
- [x] SPM implementation completed and tested
- [x] Commit message prepared for SPM support
- [x] Git tag strategy planned for v2.2.4
- [x] Git tag strategy planned for v2.2.5
- [x] Release notes documented
**Git Commands Ready for Execution:**
```bash
# Commit SPM changes
git add Package.swift
git commit -m "Add Swift Package Manager support v2.2.4
git commit -m "Add Swift Package Manager support v2.2.5
- Add Package.swift with SPM configuration
- Support for RSBarcodes_Swift and SwiftEventBus dependencies
......@@ -422,13 +422,13 @@ git commit -m "Add Swift Package Manager support v2.2.4
git push origin main
# Create and push tag
git tag -a v2.2.4 -m "Release v2.2.4 - Add Swift Package Manager support"
git push origin v2.2.4
git tag -a v2.2.5 -m "Release v2.2.5 - Add Swift Package Manager support"
git push origin v2.2.5
```
**Release Notes:**
```
# SwiftWarplyFramework v2.2.4
# SwiftWarplyFramework v2.2.5
## 🎉 New Features
- ✨ Added Swift Package Manager (SPM) support
......@@ -443,10 +443,10 @@ git push origin v2.2.4
## 🚀 Installation
### SPM
.package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.4")
.package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.5")
### CocoaPods
pod 'SwiftWarplyFramework', '~> 2.2.4'
pod 'SwiftWarplyFramework', '~> 2.2.5'
```
**Phase 8 Status**: ⏳ **READY FOR RELEASE**
......@@ -483,7 +483,7 @@ pod 'SwiftWarplyFramework', '~> 2.2.4'
- [ ] Clean up any temporary files
### **Step 10.2: Release Preparation** ⏳
- [ ] Prepare release notes for v2.2.4
- [ ] Prepare release notes for v2.2.5
- [ ] Document SPM support addition
- [ ] Plan communication to existing clients
......@@ -496,7 +496,7 @@ pod 'SwiftWarplyFramework', '~> 2.2.4'
### **Overall Progress**
- **Completed Phases**: 6/10 (60%)
- **Current Phase**: Phase 7 - Documentation Updates (Ready for Implementation)
- **Next Milestone**: Complete version management and release v2.2.4
- **Next Milestone**: Complete version management and release v2.2.5
### **Status Legend**
-**Completed** - Task finished and verified
......@@ -524,9 +524,9 @@ pod 'SwiftWarplyFramework', '~> 2.2.4'
## **NEXT IMMEDIATE STEPS**
1. **Execute Git Commands** - Commit Package.swift and create v2.2.4 tag
1. **Execute Git Commands** - Commit Package.swift and create v2.2.5 tag
2. **Update Documentation** - Add SPM installation instructions
3. **Update Version Numbers** - Sync all files to v2.2.4
3. **Update Version Numbers** - Sync all files to v2.2.5
4. **Final Testing** - End-to-end validation of both distribution methods
5. **Release Communication** - Announce SPM support to clients
......@@ -576,7 +576,7 @@ pod 'SwiftWarplyFramework', '~> 2.2.4'
#### **Quality Assurance**
-**No Breaking Changes**: Existing CocoaPods users unaffected
-**Version Consistency**: Ready for v2.2.4 release
-**Version Consistency**: Ready for v2.2.5 release
-**Platform Support**: iOS 17.0+ with Swift 5.9
-**Architecture Support**: arm64, arm64e tested
......
Pod::Spec.new do |spec|
spec.name = "SwiftWarplyFramework"
spec.version = "2.2.4"
spec.version = "2.2.5"
spec.summary = "A framework used for several functionalities."
spec.description = "This is the Warply framework used for react native or swift apps for analytics, push notifications and the functionality of the app."
......@@ -17,7 +17,7 @@ Pod::Spec.new do |spec|
spec.platform = :ios, "17.0"
spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "2.2.4" }
spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "2.2.5" }
# spec.public_header_files = "SwiftWarplyFramework.framework/Headers/*.h"
# ==> OLD
......
......@@ -9,7 +9,7 @@ SwiftWarplyFramework is an iOS SDK that provides loyalty program functionality,
- Minimum iOS Version: 17.0
- Swift Version: 5.0+
- Distribution: CocoaPods + Swift Package Manager (SPM)
- Framework Version: 2.2.4
- Framework Version: 2.2.5
### Dependencies
- RSBarcodes_Swift (~> 5.2.0) - Barcode scanning and generation
......