Skip to content

Conversation

@denischilik
Copy link
Contributor

Background

Creates a separate Swift target for SceneDelegateHandler to improve code organization and enable better Swift-only module distribution. This isolates Swift-specific scene delegate handling from the Objective-C core SDK.

What Has Changed

  • Created new mParticle-Apple-SDK-Swift target for Swift-only code
  • Moved SceneDelegateHandler from main target to Swift target
  • Added unit tests for SceneDelegateHandler.handleUserActivity method
  • Migrated MPLog and MPILogLevel to Swift target

Checklist

  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have tested this locally.

Reference Issue (For employees only. Ignore if you are an outside contributor)

@denischilik denischilik requested a review from a team as a code owner January 21, 2026 18:09
@denischilik denischilik force-pushed the feat/SDKE-823-Create-separate-swift-target-and-move-SceneDelegateHandler-there-2 branch from a33bf1c to eee3f5e Compare January 21, 2026 18:23
- Change default_subspec from 'mParticle' to 'mParticleNoLocation' in podspec
- Update Podfile platform to iOS 15.6
- Add post_install hook to ensure all pods use iOS 15.6 deployment target
- Update Media SDK pod to use NoLocation subspec
- Create mParticle-Apple-SDK-Swift target
- Add Swift source files and tests
- Update Xcode project configuration
- Move MPLogger.swift from mParticle-Apple-SDK to mParticle-Apple-SDK-Swift
- Update imports and references in Utils files
- Update Xcode project configuration
- Create mParticle-Apple-SDK-Swift.podspec for Swift module
- Add Swift podspec as dependency in main podspec (all subspecs)
- Add Swift podspec to Example Podfile with local path
…ndencies

- Copy Swift xcframework to temp_artifacts directory in build_framework()
- Add mParticle_Apple_SDK_Swift.xcframework dependency to Tuist project
- Update cleanup to remove both xcframeworks
@denischilik denischilik force-pushed the feat/SDKE-823-Create-separate-swift-target-and-move-SceneDelegateHandler-there-2 branch from c34049f to 18fdb0a Compare January 21, 2026 18:42
@jamesnrokt jamesnrokt changed the title feat: SDKE-823 Create separate Swift target and move SceneDelegateHandler there feat: Create separate Swift target and move SceneDelegateHandler there Jan 21, 2026
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