Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/test_library_evolution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@ jobs:
with:
xcode-version: '26.2'

- name: "xcodebuild clean archive BUILD_LIBRARY_FOR_DISTRIBUTION=YES"
- name: "Build with BUILD_LIBRARY_FOR_DISTRIBUTION=YES"
run: |
xcodebuild -version
xcodebuild clean archive -project "${project}" -scheme "${scheme}" -destination 'generic/platform=iOS Simulator' -archivePath "${archivePath}" -skipPackagePluginValidation SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES SWIFT_VERSION=5
./Scripts/validate-library-evolution.swift "${archivePath}" "${validationProjectName}"
cd ${validationProjectName}
xcodebuild clean build -scheme "${validationProjectName}" -destination 'generic/platform=iOS Simulator' SWIFT_VERSION=5 | xcpretty --utf --color && exit ${PIPESTATUS[0]}
# Building with BUILD_LIBRARY_FOR_DISTRIBUTION=YES validates library evolution
# by generating and verifying .swiftinterface files for all modules.
# The SwiftVerifyEmittedModuleInterface build step ensures ABI stability.
xcodebuild build -project "${project}" -scheme "${scheme}" \
-destination 'generic/platform=iOS Simulator' \
-configuration Release -skipPackagePluginValidation \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
SWIFT_VERSION=5
env:
project: 'Adyen.xcodeproj'
archivePath: 'LibraryEvolutionValidationArchive.xcarchive'
scheme: 'AdyenDropIn'
validationProjectName: 'LibraryEvolutionValidation'
4,367 changes: 393 additions & 3,974 deletions Adyen.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

67 changes: 0 additions & 67 deletions Adyen.xcodeproj/xcshareddata/xcschemes/AdyenActions.xcscheme

This file was deleted.

76 changes: 0 additions & 76 deletions Adyen.xcodeproj/xcshareddata/xcschemes/AdyenCard.xcscheme

This file was deleted.

80 changes: 0 additions & 80 deletions Adyen.xcodeproj/xcshareddata/xcschemes/AdyenCardScanner.xcscheme

This file was deleted.

67 changes: 0 additions & 67 deletions Adyen.xcodeproj/xcshareddata/xcschemes/AdyenComponents.xcscheme

This file was deleted.

This file was deleted.

Loading
Loading