Skip to content

[FSSDK-12921] Remove DemoObjcApp (Objective-C demo targets)#653

Merged
muzahidul-opti merged 2 commits into
masterfrom
muzahidul/cleanup-objc-targets
Jul 16, 2026
Merged

[FSSDK-12921] Remove DemoObjcApp (Objective-C demo targets)#653
muzahidul-opti merged 2 commits into
masterfrom
muzahidul/cleanup-objc-targets

Conversation

@muzahidul-opti

@muzahidul-opti muzahidul-opti commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removed the entire DemoObjcApp/ directory (Objective-C demo app with iOS and tvOS targets)
  • Removed DemoObjcApp.xcodeproj reference from the workspace
  • Removed DemoObjciOS and DemoObjctvOS target blocks from the Podfile

The Objective-C demo app is no longer maintained. The Swift demo app
(DemoSwiftApp) remains as the reference implementation. SDK source code,
ObjC bridging extensions, and ObjC test files are all preserved.

Test plan

  • swift build passes
  • All xcodebuild tests pass (the only failure is a pre-existing flaky test
    EventDispatcherRetryTests.testRetry_AllAttemptsExhausted unrelated to these changes)
  • Verified DemoObjciOS and DemoObjctvOS schemes are no longer listed in the workspace
  • pod install completes successfully with the updated Podfile

Issues

muzahidul-opti and others added 2 commits July 11, 2026 00:55
The Objective-C demo app (DemoObjciOS, DemoObjctvOS) is no longer needed.
This removes the entire DemoObjcApp directory, its workspace reference,
and the corresponding Podfile target blocks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
OCMock was only used in one test method (testTrackWithUserContext in
OptimizelyUserContextTests_Objc.m). Replace it with a lightweight
SpyEventDispatcher that implements OPTEventDispatcher directly.

Also removes all OCMock-related references from project.pbxproj
(xcconfigs, lib linkage, shell script build phases).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 93.909%. remained the same — muzahidul/cleanup-objc-targets into master

@muzahidul-opti muzahidul-opti changed the title Remove DemoObjcApp (Objective-C demo targets) [FSSDK-12921] Remove DemoObjcApp (Objective-C demo targets) Jul 15, 2026
@muzahidul-opti
muzahidul-opti requested a review from jaeopt July 15, 2026 16:08

@jaeopt jaeopt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@muzahidul-opti
muzahidul-opti merged commit 68eeee5 into master Jul 16, 2026
9 of 15 checks passed
@muzahidul-opti
muzahidul-opti deleted the muzahidul/cleanup-objc-targets branch July 16, 2026 17:26
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.

3 participants