Repository navigation
Conversation
Author
Smoke test results for AEPEdgeBridgeWhatI ran the Mobile SDK smoke tests - Edge Bridge against this branch at How
Result
|
…27.0 simulators GitHub hosted macos-14 runners used by the shared aepsdk-commons workflow only provide Xcode up to 16.2, so the Xcode 27 jobs run on CircleCI like aepsdk-edge-ios. The GitHub workflow is restored to its original settings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes AEPEdgeBridge compile cleanly under Swift 6 language mode for iOS 27 / Xcode 27. The SDK still ships in Swift 5 mode.
Jira: MOB-25785
Target
dev-ios27)Approach
Swift 6 fixes
EdgeBridgeHelper: the main thread branch now readsUIApplication.shared.applicationStatethroughMainActor.assumeIsolated, sinceUIApplicationis main actor only in Swift 6. Behavior is unchanged.@UIApplicationMainreplaced with@main.TestableExtensionRuntimeimplementsrecordHistoricalEvent(_:handler:)so the tests compile against newer AEPCore.${SRCROOT}so builds work from paths with spaces.Public API changes
None. AEPEdgeBridge has no public completion handlers or listeners, and its only public static is the immutable
extensionVersion.Consumer impact
Swift 5, Swift 6 and Obj-C callers: no change.
CI
GitHub hosted
macos-14runners used by the shared aepsdk-commons workflow only provide Xcode up to 16.2, so, like aepsdk-edge-ios, the Xcode 27 jobs run on CircleCI and the GitHub workflow keeps its original settings.validate-code, iOS and tvOS unit and functional tests oniPhone 18 Pro/Apple TV 4K (3rd generation)(27.0), and xcframework + test app build. Makefile simulator defaults updated to match.build-swift6(Xcode 27.0.0): builds the AEPEdgeBridge target in Swift 6 viaAEPEDGEBRIDGE_SWIFT_VERSION=6.0(read only by that target, dependencies keep their modes), then builds a Swift 6 consumer package (Script/test-swift6-consumer.sh).build-min-toolchain(Xcode 15.4.0, the oldest 15.x image CircleCI hosts, same Swift 5.10 compiler as 15.3).Validation
dev-ios27make build-swift6,make test-swift6-consumerDependencies and release
Depends on the ios-27 PRs of: AEPCore (adobe/aepsdk-core-ios#1248), AEPRulesEngine (
swift6-readiness), AEPEdge (adobe/aepsdk-edge-ios#548), AEPEdgeIdentity (adobe/aepsdk-edgeidentity-ios#156). AEPEdge, AEPEdgeIdentity and AEPAssurance are used only by the tests and test apps. Release after them.