Showing
5 changed files
with
31 additions
and
31 deletions
No preview for this file type
| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ | 
| 4 | 4 | ||
| 5 | **Get started with SwiftWarplyFramework in just 5 minutes!** | 5 | **Get started with SwiftWarplyFramework in just 5 minutes!** | 
| 6 | 6 | ||
| 7 | -**Version**: 2.2.2 | **Minimum iOS**: 17.0 | **Swift**: 5.0+ | 7 | +**Version**: 2.2.3 | **Minimum iOS**: 17.0 | **Swift**: 5.0+ | 
| 8 | 8 | ||
| 9 | --- | 9 | --- | 
| 10 | 10 | ||
| ... | @@ -53,7 +53,7 @@ Choose your preferred installation method: | ... | @@ -53,7 +53,7 @@ Choose your preferred installation method: | 
| 53 | ``` | 53 | ``` | 
| 54 | https://git.warp.ly/open-source/warply_sdk_framework.git | 54 | https://git.warp.ly/open-source/warply_sdk_framework.git | 
| 55 | ``` | 55 | ``` | 
| 56 | -4. Select **Version**: `2.2.2` or **Up to Next Major** | 56 | +4. Select **Version**: `2.2.3` or **Up to Next Major** | 
| 57 | 5. Click **Add Package** | 57 | 5. Click **Add Package** | 
| 58 | 6. Select **SwiftWarplyFramework** and click **Add Package** | 58 | 6. Select **SwiftWarplyFramework** and click **Add Package** | 
| 59 | 59 | ||
| ... | @@ -62,7 +62,7 @@ Add to your `Package.swift` dependencies: | ... | @@ -62,7 +62,7 @@ Add to your `Package.swift` dependencies: | 
| 62 | 62 | ||
| 63 | ```swift | 63 | ```swift | 
| 64 | dependencies: [ | 64 | dependencies: [ | 
| 65 | - .package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.2") | 65 | + .package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.3") | 
| 66 | ] | 66 | ] | 
| 67 | ``` | 67 | ``` | 
| 68 | 68 | ||
| ... | @@ -89,7 +89,7 @@ platform :ios, '17.0' | ... | @@ -89,7 +89,7 @@ platform :ios, '17.0' | 
| 89 | target 'YourApp' do | 89 | target 'YourApp' do | 
| 90 | use_frameworks! | 90 | use_frameworks! | 
| 91 | 91 | ||
| 92 | - pod 'SwiftWarplyFramework', :git => 'https://git@git.warp.ly/open-source/warply_sdk_framework.git', :tag => '2.2.2' | 92 | + pod 'SwiftWarplyFramework', :git => 'https://git@git.warp.ly/open-source/warply_sdk_framework.git', :tag => '2.2.3' | 
| 93 | end | 93 | end | 
| 94 | ``` | 94 | ``` | 
| 95 | 95 | ... | ... | 
| 1 | -# SPM Implementation Plan - SwiftWarplyFramework v2.2.2 | 1 | +# SPM Implementation Plan - SwiftWarplyFramework v2.2.3 | 
| 2 | 2 | ||
| 3 | **Project**: SwiftWarplyFramework | 3 | **Project**: SwiftWarplyFramework | 
| 4 | **Goal**: Add Swift Package Manager (SPM) support alongside existing CocoaPods distribution | 4 | **Goal**: Add Swift Package Manager (SPM) support alongside existing CocoaPods distribution | 
| 5 | -**Target Version**: 2.2.2 | 5 | +**Target Version**: 2.2.3 | 
| 6 | **Created**: 2025-06-17 | 6 | **Created**: 2025-06-17 | 
| 7 | **Status**: ✅ **COMPLETED SUCCESSFULLY** | 7 | **Status**: ✅ **COMPLETED SUCCESSFULLY** | 
| 8 | 8 | ||
| ... | @@ -14,7 +14,7 @@ This document outlines the step-by-step implementation plan to add SPM support t | ... | @@ -14,7 +14,7 @@ This document outlines the step-by-step implementation plan to add SPM support t | 
| 14 | 14 | ||
| 15 | ### **Key Requirements** | 15 | ### **Key Requirements** | 
| 16 | - ✅ Maintain dual distribution (CocoaPods + SPM) | 16 | - ✅ Maintain dual distribution (CocoaPods + SPM) | 
| 17 | -- ✅ Version as 2.2.2 for SPM support | 17 | +- ✅ Version as 2.2.3 for SPM support | 
| 18 | - ✅ No breaking changes for existing clients | 18 | - ✅ No breaking changes for existing clients | 
| 19 | - ✅ All dependencies confirmed SPM-compatible (RSBarcodes_Swift, SwiftEventBus) | 19 | - ✅ All dependencies confirmed SPM-compatible (RSBarcodes_Swift, SwiftEventBus) | 
| 20 | 20 | ||
| ... | @@ -37,7 +37,7 @@ This document outlines the step-by-step implementation plan to add SPM support t | ... | @@ -37,7 +37,7 @@ This document outlines the step-by-step implementation plan to add SPM support t | 
| 37 | 37 | ||
| 38 | ### **Step 1.2: Requirements Confirmation** ✅ | 38 | ### **Step 1.2: Requirements Confirmation** ✅ | 
| 39 | - [x] Maintain dual distribution (CocoaPods + SPM) | 39 | - [x] Maintain dual distribution (CocoaPods + SPM) | 
| 40 | -- [x] Version as 2.2.2 for SPM support | 40 | +- [x] Version as 2.2.3 for SPM support | 
| 41 | - [x] No breaking changes for existing clients | 41 | - [x] No breaking changes for existing clients | 
| 42 | - [x] All dependencies confirmed SPM-compatible | 42 | - [x] All dependencies confirmed SPM-compatible | 
| 43 | 43 | ||
| ... | @@ -346,7 +346,7 @@ Resolved source packages: | ... | @@ -346,7 +346,7 @@ Resolved source packages: | 
| 346 | 346 | ||
| 347 | ### **Step 7.1: Update CLIENT_DOCUMENTATION.md** ⏳ | 347 | ### **Step 7.1: Update CLIENT_DOCUMENTATION.md** ⏳ | 
| 348 | - [ ] Add SPM installation section | 348 | - [ ] Add SPM installation section | 
| 349 | -- [ ] Update version to 2.2.2 | 349 | +- [ ] Update version to 2.2.3 | 
| 350 | - [ ] Add SPM-specific integration examples | 350 | - [ ] Add SPM-specific integration examples | 
| 351 | - [ ] Maintain CocoaPods documentation | 351 | - [ ] Maintain CocoaPods documentation | 
| 352 | 352 | ||
| ... | @@ -357,18 +357,18 @@ Resolved source packages: | ... | @@ -357,18 +357,18 @@ Resolved source packages: | 
| 357 | ### Using Xcode | 357 | ### Using Xcode | 
| 358 | 1. File → Add Package Dependencies | 358 | 1. File → Add Package Dependencies | 
| 359 | 2. Enter: https://git.warp.ly/open-source/warply_sdk_framework.git | 359 | 2. Enter: https://git.warp.ly/open-source/warply_sdk_framework.git | 
| 360 | -3. Select version 2.2.2+ | 360 | +3. Select version 2.2.3+ | 
| 361 | 361 | ||
| 362 | ### Using Package.swift | 362 | ### Using Package.swift | 
| 363 | ```swift | 363 | ```swift | 
| 364 | dependencies: [ | 364 | dependencies: [ | 
| 365 | - .package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.2") | 365 | + .package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.3") | 
| 366 | ] | 366 | ] | 
| 367 | ``` | 367 | ``` | 
| 368 | 368 | ||
| 369 | ### **Step 7.2: Update framework_specifications.md** ⏳ | 369 | ### **Step 7.2: Update framework_specifications.md** ⏳ | 
| 370 | - [ ] Add SPM distribution method | 370 | - [ ] Add SPM distribution method | 
| 371 | -- [ ] Update version to 2.2.2 | 371 | +- [ ] Update version to 2.2.3 | 
| 372 | - [ ] Document dual distribution support | 372 | - [ ] Document dual distribution support | 
| 373 | 373 | ||
| 374 | ### **Step 7.3: Create SPM-Specific Documentation** ⏳ | 374 | ### **Step 7.3: Create SPM-Specific Documentation** ⏳ | 
| ... | @@ -389,28 +389,28 @@ dependencies: [ | ... | @@ -389,28 +389,28 @@ dependencies: [ | 
| 389 | ## **PHASE 8: VERSION MANAGEMENT** ⏳ **READY FOR RELEASE** | 389 | ## **PHASE 8: VERSION MANAGEMENT** ⏳ **READY FOR RELEASE** | 
| 390 | 390 | ||
| 391 | ### **Step 8.1: Update Version Numbers** ⏳ | 391 | ### **Step 8.1: Update Version Numbers** ⏳ | 
| 392 | -- [ ] Update .podspec version to 2.2.2 | 392 | +- [ ] Update .podspec version to 2.2.3 | 
| 393 | - [ ] Update Info.plist version | 393 | - [ ] Update Info.plist version | 
| 394 | - [ ] Update framework_specifications.md version | 394 | - [ ] Update framework_specifications.md version | 
| 395 | - [ ] Update CLIENT_DOCUMENTATION.md version | 395 | - [ ] Update CLIENT_DOCUMENTATION.md version | 
| 396 | 396 | ||
| 397 | **Files to update:** | 397 | **Files to update:** | 
| 398 | -- `SwiftWarplyFramework.podspec` → `spec.version = "2.2.2"` | 398 | +- `SwiftWarplyFramework.podspec` → `spec.version = "2.2.3"` | 
| 399 | - `SwiftWarplyFramework/SwiftWarplyFramework/Info.plist` → CFBundleShortVersionString | 399 | - `SwiftWarplyFramework/SwiftWarplyFramework/Info.plist` → CFBundleShortVersionString | 
| 400 | -- `framework_specifications.md` → Framework Version: 2.2.2 | 400 | +- `framework_specifications.md` → Framework Version: 2.2.3 | 
| 401 | -- `CLIENT_DOCUMENTATION.md` → **Version**: 2.2.2 | 401 | +- `CLIENT_DOCUMENTATION.md` → **Version**: 2.2.3 | 
| 402 | 402 | ||
| 403 | ### **Step 8.2: Git Tagging Preparation** ✅ **READY** | 403 | ### **Step 8.2: Git Tagging Preparation** ✅ **READY** | 
| 404 | - [x] SPM implementation completed and tested | 404 | - [x] SPM implementation completed and tested | 
| 405 | - [x] Commit message prepared for SPM support | 405 | - [x] Commit message prepared for SPM support | 
| 406 | -- [x] Git tag strategy planned for v2.2.2 | 406 | +- [x] Git tag strategy planned for v2.2.3 | 
| 407 | - [x] Release notes documented | 407 | - [x] Release notes documented | 
| 408 | 408 | ||
| 409 | **Git Commands Ready for Execution:** | 409 | **Git Commands Ready for Execution:** | 
| 410 | ```bash | 410 | ```bash | 
| 411 | # Commit SPM changes | 411 | # Commit SPM changes | 
| 412 | git add Package.swift | 412 | git add Package.swift | 
| 413 | -git commit -m "Add Swift Package Manager support v2.2.2 | 413 | +git commit -m "Add Swift Package Manager support v2.2.3 | 
| 414 | 414 | ||
| 415 | - Add Package.swift with SPM configuration | 415 | - Add Package.swift with SPM configuration | 
| 416 | - Support for RSBarcodes_Swift and SwiftEventBus dependencies | 416 | - Support for RSBarcodes_Swift and SwiftEventBus dependencies | 
| ... | @@ -422,13 +422,13 @@ git commit -m "Add Swift Package Manager support v2.2.2 | ... | @@ -422,13 +422,13 @@ git commit -m "Add Swift Package Manager support v2.2.2 | 
| 422 | git push origin main | 422 | git push origin main | 
| 423 | 423 | ||
| 424 | # Create and push tag | 424 | # Create and push tag | 
| 425 | -git tag -a v2.2.2 -m "Release v2.2.2 - Add Swift Package Manager support" | 425 | +git tag -a v2.2.3 -m "Release v2.2.3 - Add Swift Package Manager support" | 
| 426 | -git push origin v2.2.2 | 426 | +git push origin v2.2.3 | 
| 427 | ``` | 427 | ``` | 
| 428 | 428 | ||
| 429 | **Release Notes:** | 429 | **Release Notes:** | 
| 430 | ``` | 430 | ``` | 
| 431 | -# SwiftWarplyFramework v2.2.2 | 431 | +# SwiftWarplyFramework v2.2.3 | 
| 432 | 432 | ||
| 433 | ## 🎉 New Features | 433 | ## 🎉 New Features | 
| 434 | - ✨ Added Swift Package Manager (SPM) support | 434 | - ✨ Added Swift Package Manager (SPM) support | 
| ... | @@ -443,10 +443,10 @@ git push origin v2.2.2 | ... | @@ -443,10 +443,10 @@ git push origin v2.2.2 | 
| 443 | 443 | ||
| 444 | ## 🚀 Installation | 444 | ## 🚀 Installation | 
| 445 | ### SPM | 445 | ### SPM | 
| 446 | -.package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.2") | 446 | +.package(url: "https://git.warp.ly/open-source/warply_sdk_framework.git", from: "2.2.3") | 
| 447 | 447 | ||
| 448 | ### CocoaPods | 448 | ### CocoaPods | 
| 449 | -pod 'SwiftWarplyFramework', '~> 2.2.2' | 449 | +pod 'SwiftWarplyFramework', '~> 2.2.3' | 
| 450 | ``` | 450 | ``` | 
| 451 | 451 | ||
| 452 | **Phase 8 Status**: ⏳ **READY FOR RELEASE** | 452 | **Phase 8 Status**: ⏳ **READY FOR RELEASE** | 
| ... | @@ -483,7 +483,7 @@ pod 'SwiftWarplyFramework', '~> 2.2.2' | ... | @@ -483,7 +483,7 @@ pod 'SwiftWarplyFramework', '~> 2.2.2' | 
| 483 | - [ ] Clean up any temporary files | 483 | - [ ] Clean up any temporary files | 
| 484 | 484 | ||
| 485 | ### **Step 10.2: Release Preparation** ⏳ | 485 | ### **Step 10.2: Release Preparation** ⏳ | 
| 486 | -- [ ] Prepare release notes for v2.2.2 | 486 | +- [ ] Prepare release notes for v2.2.3 | 
| 487 | - [ ] Document SPM support addition | 487 | - [ ] Document SPM support addition | 
| 488 | - [ ] Plan communication to existing clients | 488 | - [ ] Plan communication to existing clients | 
| 489 | 489 | ||
| ... | @@ -496,7 +496,7 @@ pod 'SwiftWarplyFramework', '~> 2.2.2' | ... | @@ -496,7 +496,7 @@ pod 'SwiftWarplyFramework', '~> 2.2.2' | 
| 496 | ### **Overall Progress** | 496 | ### **Overall Progress** | 
| 497 | - **Completed Phases**: 6/10 (60%) | 497 | - **Completed Phases**: 6/10 (60%) | 
| 498 | - **Current Phase**: Phase 7 - Documentation Updates (Ready for Implementation) | 498 | - **Current Phase**: Phase 7 - Documentation Updates (Ready for Implementation) | 
| 499 | -- **Next Milestone**: Complete version management and release v2.2.2 | 499 | +- **Next Milestone**: Complete version management and release v2.2.3 | 
| 500 | 500 | ||
| 501 | ### **Status Legend** | 501 | ### **Status Legend** | 
| 502 | - ✅ **Completed** - Task finished and verified | 502 | - ✅ **Completed** - Task finished and verified | 
| ... | @@ -524,9 +524,9 @@ pod 'SwiftWarplyFramework', '~> 2.2.2' | ... | @@ -524,9 +524,9 @@ pod 'SwiftWarplyFramework', '~> 2.2.2' | 
| 524 | 524 | ||
| 525 | ## **NEXT IMMEDIATE STEPS** | 525 | ## **NEXT IMMEDIATE STEPS** | 
| 526 | 526 | ||
| 527 | -1. **Execute Git Commands** - Commit Package.swift and create v2.2.2 tag | 527 | +1. **Execute Git Commands** - Commit Package.swift and create v2.2.3 tag | 
| 528 | 2. **Update Documentation** - Add SPM installation instructions | 528 | 2. **Update Documentation** - Add SPM installation instructions | 
| 529 | -3. **Update Version Numbers** - Sync all files to v2.2.2 | 529 | +3. **Update Version Numbers** - Sync all files to v2.2.3 | 
| 530 | 4. **Final Testing** - End-to-end validation of both distribution methods | 530 | 4. **Final Testing** - End-to-end validation of both distribution methods | 
| 531 | 5. **Release Communication** - Announce SPM support to clients | 531 | 5. **Release Communication** - Announce SPM support to clients | 
| 532 | 532 | ||
| ... | @@ -576,7 +576,7 @@ pod 'SwiftWarplyFramework', '~> 2.2.2' | ... | @@ -576,7 +576,7 @@ pod 'SwiftWarplyFramework', '~> 2.2.2' | 
| 576 | 576 | ||
| 577 | #### **Quality Assurance** | 577 | #### **Quality Assurance** | 
| 578 | - ✅ **No Breaking Changes**: Existing CocoaPods users unaffected | 578 | - ✅ **No Breaking Changes**: Existing CocoaPods users unaffected | 
| 579 | -- ✅ **Version Consistency**: Ready for v2.2.2 release | 579 | +- ✅ **Version Consistency**: Ready for v2.2.3 release | 
| 580 | - ✅ **Platform Support**: iOS 17.0+ with Swift 5.9 | 580 | - ✅ **Platform Support**: iOS 17.0+ with Swift 5.9 | 
| 581 | - ✅ **Architecture Support**: arm64, arm64e tested | 581 | - ✅ **Architecture Support**: arm64, arm64e tested | 
| 582 | 582 | ... | ... | 
| 1 | Pod::Spec.new do |spec| | 1 | Pod::Spec.new do |spec| | 
| 2 | 2 | ||
| 3 | spec.name = "SwiftWarplyFramework" | 3 | spec.name = "SwiftWarplyFramework" | 
| 4 | - spec.version = "2.2.2" | 4 | + spec.version = "2.2.3" | 
| 5 | spec.summary = "A framework used for several functionalities." | 5 | spec.summary = "A framework used for several functionalities." | 
| 6 | 6 | ||
| 7 | spec.description = "This is the Warply framework used for react native or swift apps for analytics, push notifications and the functionality of the app." | 7 | 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| | ... | @@ -17,7 +17,7 @@ Pod::Spec.new do |spec| | 
| 17 | 17 | ||
| 18 | spec.platform = :ios, "17.0" | 18 | spec.platform = :ios, "17.0" | 
| 19 | 19 | ||
| 20 | - spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "2.2.2" } | 20 | + spec.source = { :git => "https://git.warp.ly/open-source/warply_sdk_framework.git", :tag => "2.2.3" } | 
| 21 | # spec.public_header_files = "SwiftWarplyFramework.framework/Headers/*.h" | 21 | # spec.public_header_files = "SwiftWarplyFramework.framework/Headers/*.h" | 
| 22 | 22 | ||
| 23 | # ==> OLD | 23 | # ==> OLD | ... | ... | 
| ... | @@ -9,7 +9,7 @@ SwiftWarplyFramework is an iOS SDK that provides loyalty program functionality, | ... | @@ -9,7 +9,7 @@ SwiftWarplyFramework is an iOS SDK that provides loyalty program functionality, | 
| 9 | - Minimum iOS Version: 17.0 | 9 | - Minimum iOS Version: 17.0 | 
| 10 | - Swift Version: 5.0+ | 10 | - Swift Version: 5.0+ | 
| 11 | - Distribution: CocoaPods + Swift Package Manager (SPM) | 11 | - Distribution: CocoaPods + Swift Package Manager (SPM) | 
| 12 | -- Framework Version: 2.2.2 | 12 | +- Framework Version: 2.2.3 | 
| 13 | 13 | ||
| 14 | ### Dependencies | 14 | ### Dependencies | 
| 15 | - RSBarcodes_Swift (~> 5.2.0) - Barcode scanning and generation | 15 | - RSBarcodes_Swift (~> 5.2.0) - Barcode scanning and generation | ... | ... | 
- 
Please register or login to post a comment