analytics-ios icon indicating copy to clipboard operation
analytics-ios copied to clipboard

Remove unused SegmentTestsTVOS scheme

Open pietropizzi opened this issue 2 years ago • 8 comments

What does this PR do?

It removes a scheme that seems to not be used anywhere.

Any background context you want to provide?

It was causing issues when building with Carthage on Xcode 14, preventing successful linking against the Segment SDK on Xcode 14.

pietropizzi avatar Jul 08 '22 13:07 pietropizzi

Hey @bsneed @alanjcharles @prayansh (tagging recent contributors),

Could you have a look at this and maybe merge it?

The tests are failing but there must be something wrong with the test setup when I briefly looked at the build output.

Thanks 🙏

pietropizzi avatar Jul 13 '22 10:07 pietropizzi

Hi @pietropizzi. I'd recommend upgrading to analytics-swift if possible. We're planning on deprecating this library relatively soon and phasing out Carthage support entirely.

bsneed avatar Aug 30 '22 17:08 bsneed

Hi @pietropizzi. I'd recommend upgrading to analytics-swift if possible. We're planning on deprecating this library relatively soon and phasing out Carthage support entirely.

Happy to use SPM. analytics-swift unfortunately does not support all the features we are using.

Is it not possible for you to merge the PR and release a new version since this codebase is not deprecated yet.

pietropizzi avatar Aug 30 '22 18:08 pietropizzi

@pietropizzi what features are missing from analytics-swift?

bsneed avatar Aug 30 '22 18:08 bsneed

@bsneed some of the customers like us don't have the luxury to transition to swift library at this point. This PR is fixing the build error in Xcode 14 so I'd be appreciated if you can merge it soon.

https://github.com/segmentio/analytics-ios/issues/1042

ozgur avatar Sep 20 '22 10:09 ozgur

If we can't remove it, can we make these schemes unshared. This will fix issue as well.

BudhirajaRajesh avatar Sep 20 '22 13:09 BudhirajaRajesh

After further research this is an issue on Carthage side as well, but who knows when that will get fixed.

Reference: https://github.com/Carthage/Carthage/pull/3293

RushanB avatar Sep 20 '22 17:09 RushanB

@bsneed As you see we are not the only ones who can't easily switch over.

At this point I really don't understand your reluctance to merge this PR and release a version 4.1.7. You have an open source repo that has not been deprecated, the work is already done for you.

Please merge and release this.

pietropizzi avatar Sep 22 '22 18:09 pietropizzi

up! the issue on Carthage was fixed https://github.com/Carthage/Carthage/pull/3293

NicolasEymael avatar Dec 20 '22 14:12 NicolasEymael

Thanks @NicolasEymael !

bsneed avatar Dec 20 '22 16:12 bsneed

@bsneed shouldn't this be merged instead of closed?

NicolasEymael avatar Dec 21 '22 18:12 NicolasEymael

Ah, did I misunderstand? I read it as a Carthage issue got fixed so this was no longer necessary. If so, let me know and I'll reopen.

My previous questions in the thread about WHY people can't upgrade to the Swift lib are still relevant, so if anyone would like to chime in with some details that would be amazing. So far all I've seen is "missing feature(s)" but no details what that means. Afaik, there's nothing missing capabilities wise, but there are some things that are different.

bsneed avatar Dec 21 '22 19:12 bsneed