Skip to content

Commit

Permalink
chore(release): 5.0.35 (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomarinocongosto authored Dec 13, 2024
1 parent c660d4f commit 36daac5
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ on:

jobs:
build:
runs-on: macos-12
runs-on: macos-14
steps:
- name: Checkout project
uses: actions/checkout@v2

- name: Build
run: xcodebuild build-for-testing -project AffirmSDK.xcodeproj -scheme AffirmSDK -destination "platform=iOS Simulator,name=iPhone 12"
run: xcodebuild build-for-testing -project AffirmSDK.xcodeproj -scheme AffirmSDK -destination "platform=iOS Simulator,name=iPhone 15"

- name: Test
run: xcodebuild clean test -project AffirmSDK.xcodeproj -scheme AffirmSDK -destination "platform=iOS Simulator,name=iPhone 12"
run: xcodebuild clean test -project AffirmSDK.xcodeproj -scheme AffirmSDK -destination "platform=iOS Simulator,name=iPhone 15"
6 changes: 3 additions & 3 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: macos-12
runs-on: macos-14
steps:
- name: Checkout project
uses: actions/checkout@v2
Expand All @@ -19,7 +19,7 @@ jobs:
run: cd Examples && pod install --verbose --repo-update && cd ..

- name: Build
run: xcodebuild build-for-testing -workspace Examples/Examples.xcworkspace -scheme ExamplesUITests -destination "platform=iOS Simulator,name=iPhone 12"
run: xcodebuild build-for-testing -workspace Examples/Examples.xcworkspace -scheme ExamplesUITests -destination "platform=iOS Simulator,name=iPhone 15"

- name: Test
run: xcodebuild -workspace Examples/Examples.xcworkspace -scheme ExamplesUITests -destination "platform=iOS Simulator,name=iPhone 12" test
run: xcodebuild -workspace Examples/Examples.xcworkspace -scheme ExamplesUITests -destination "platform=iOS Simulator,name=iPhone 15" test
2 changes: 1 addition & 1 deletion AffirmSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'AffirmSDK'
s.authors = "Affirm, Inc."
s.version = '5.0.34'
s.version = '5.0.35'
s.summary = 'Integrate Affirm into your iOS app'
s.homepage = 'https://github.com/Affirm/affirm-merchant-sdk-ios'
s.license = { :type => "BSD-3-Clause", :file => "LICENSE" }
Expand Down
4 changes: 2 additions & 2 deletions AffirmSDK/AffirmSDK.bundle/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>5.0.34</string>
<string>5.0.35</string>
<key>CFBundleVersion</key>
<string>5.0.34</string>
<string>5.0.35</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions AffirmSDK/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>5.0.34</string>
<string>5.0.35</string>
<key>CFBundleVersion</key>
<string>5.0.34</string>
<string>5.0.35</string>
</dict>
</plist>
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Affirm iOS SDK Changelog
All notable changes to the SDK will be documented in this file.

## Version 5.0.35 (Nov 26, 2024)
- Remove the promo messaging restriction for requests above $17,500

## Version 5.0.34 (Oct 9, 2024)
- Bug fixes

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ github "Affirm/affirm-merchant-sdk-ios"
From Xcode 11+ :

1. Select File > Swift Packages > Add Package Dependency. Enter `https://github.com/Affirm/affirm-merchant-sdk-ios` in the "Choose Package Repository" dialog.
2. In the next page, specify the version resolving rule as "Up to Next Major" with "5.0.34".
2. In the next page, specify the version resolving rule as "Up to Next Major" with "5.0.35".
3. After Xcode checked out the source and resolving the version, you can choose the "AffirmSDK" library and add it to your app target.

For more info, read [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app) from Apple.
Expand All @@ -38,7 +38,7 @@ Alternatively, you can also add AffirmSDK to your `Package.swift` file:

```swift
dependencies: [
.package(url: "https://github.com/Affirm/affirm-merchant-sdk-ios", .upToNextMajor(from: "5.0.34"))
.package(url: "https://github.com/Affirm/affirm-merchant-sdk-ios", .upToNextMajor(from: "5.0.35"))
]
```

Expand Down
6 changes: 3 additions & 3 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ How to upgrade?
If you want to upgrade you sdk to the lastest, please check the following points:

## Version
The latest version is `v5.0.34`, you can upgrade sdk by [CocoaPods](https://cocoapods.org/) and [Carthage](https://github.com/Carthage/Carthage).
The latest version is `v5.0.35`, you can upgrade sdk by [CocoaPods](https://cocoapods.org/) and [Carthage](https://github.com/Carthage/Carthage).

For example:

if you use [CocoaPods](https://cocoapods.org/), please make sure you pod repo contains `v5.0.34`, you can use `pod search AffirmSDK` to check it. Otherwise, you should update pod repo before upgrade.
if you use [CocoaPods](https://cocoapods.org/), please make sure you pod repo contains `v5.0.35`, you can use `pod search AffirmSDK` to check it. Otherwise, you should update pod repo before upgrade.


## Fetch updated library

If you already use specific sdk version in Podfile, please modify the line related to affirmSDK as follows:

```
pod 'AffirmSDK', '~> 5.0.34'
pod 'AffirmSDK', '~> 5.0.35'
```

Otherwise, just use `pod update AffirmSDK` in terminal to update AffirmSDK.
Expand Down

0 comments on commit 36daac5

Please sign in to comment.