Skip to content

Fix build compatibility with Xcode 26#839

Closed
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:fix/778-xcode26-build-failure
Closed

Fix build compatibility with Xcode 26#839
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:fix/778-xcode26-build-failure

Conversation

@franco-zalamena-iterable
Copy link
Copy Markdown

@franco-zalamena-iterable franco-zalamena-iterable commented Apr 7, 2026

Summary

  • Update Swift version from 5.0/5.3 to 5.9 in podspec and Xcode project settings to eliminate dependency on removed swiftCompatibility56 and swiftCompatibilityPacks libraries
  • Add s.swift_version = '5.9' for proper CocoaPods Swift version resolution
  • Add ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = $(inherited) to pod target xcconfig to fix linking issues

Test plan

  • Build with Xcode 26 on ARM64
  • Build with Xcode 16.4 still works

🤖 Generated with Claude Code

Update Swift version from 5.0/5.3 to 5.9 across podspec and Xcode
project settings. Xcode 26 removed the swiftCompatibility56 and
swiftCompatibilityPacks libraries that were required by older Swift
versions, causing linker failures. Swift 5.9 does not depend on
these compatibility libraries.

Also adds ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = $(inherited) to
the pod target xcconfig and declares s.swift_version in the podspec
for proper CocoaPods Swift version resolution.

Fixes Iterable#778

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@franco-zalamena-iterable franco-zalamena-iterable deleted the fix/778-xcode26-build-failure branch April 8, 2026 14:49
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.

1 participant