Skip to content

Remove DemoObjcApp (Objective-C demo targets)#653

Open
muzahidul-opti wants to merge 2 commits into
masterfrom
muzahidul/cleanup-objc-targets
Open

Remove DemoObjcApp (Objective-C demo targets)#653
muzahidul-opti wants to merge 2 commits into
masterfrom
muzahidul/cleanup-objc-targets

Conversation

@muzahidul-opti

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

  • Cleanup: removing unused Objective-C demo targets

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

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