Skip to content

Bump LineSDKSwift to ~> 5.16.1 for Xcode 26 / Swift 6 support#222

Merged
joaguirrem merged 2 commits into
xmartlabs:mainfrom
ayukoyamashita:main
May 22, 2026
Merged

Bump LineSDKSwift to ~> 5.16.1 for Xcode 26 / Swift 6 support#222
joaguirrem merged 2 commits into
xmartlabs:mainfrom
ayukoyamashita:main

Conversation

@ayukoyamashita

@ayukoyamashita ayukoyamashita commented May 18, 2026

Copy link
Copy Markdown
Contributor

Bump LineSDKSwift to ~> 5.16.1 for Xcode 26 / Swift 6 support

🔄 Type of change:

  • ✨Feature/chore
  • ♻️ Refactor
  • 🔧 Bugfixes

✏️ Description:

Building this library with Xcode 26 fails because the pinned LineSDKSwift ~> 5.14.0 is not compatible with Swift 6 strict concurrency, which is the default language mode in Xcode 26.

Errors are emitted from LineSDKUI/SharingUI/TargetSelecting/ShareTargetSelectingViewController.swift:

sending 'self' risks causing data races

(3 occurrences in the same file)

LINE has already addressed this on the SDK side: LineSDKSwift 5.16.1 (released 2026-04-03) ships with the Swift 6 concurrency fixes. Bumping the podspec dependency from ~> 5.14.0 to ~> 5.16.1 unblocks Xcode 26 builds without any source-level changes here.


🎥 Screen record:

N/A — single-line dependency bump. Verified locally that the build succeeds.


📌 Notes:

  • LineSDKSwift 5.15 / 5.16 are minor releases over 5.14 with no breaking API changes affecting this wrapper.
  • Tested with Expo SDK 54 + Xcode 26.5 + iOS 26.5 Simulator. LINE login flow (including ID token retrieval via Scope.OpenId) works as expected.

✔️Tasks:

  • Bump s.dependency 'LineSDKSwift', '~> 5.14.0' to '~> 5.16.1' in react-native-line.podspec.

⚠️ Warnings:

  • Consumers using a pinned Podfile.lock will need to run pod update LineSDKSwift once after upgrading to pick up the new version.

Comment thread react-native-line.podspec Outdated
s.source_files = "ios/**/*.{h,m,mm,swift}"

s.dependency 'LineSDKSwift', '~> 5.14.0'
s.dependency 'LineSDKSwith', '~> 5.16.0'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
s.dependency 'LineSDKSwith', '~> 5.16.0'
s.dependency 'LineSDKSwift', '~> 5.16.1'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review! Applied the typo fix and bumped to 5.16.1 in 8689e6d.

@ayukoyamashita ayukoyamashita changed the title Bump LineSDKSwift to ~> 5.16.0 for Xcode 26 / Swift 6 support Bump LineSDKSwift to ~> 5.16.1 for Xcode 26 / Swift 6 support May 22, 2026
@joaguirrem joaguirrem merged commit 28f9d35 into xmartlabs:main May 22, 2026
1 check passed
@joaguirrem

Copy link
Copy Markdown
Collaborator

Hey @ ayukoyamashita, just wanted to let you know that your fix has been included in the v6.0.1 release 🎉 Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants