ReactiveX / RxSwift

Reactive Programming in Swift
MIT License
24.36k stars 4.16k forks source link

Build fails because of missing PrivacyInfo.xcprivacy after Upgrading to 6.8.0 #2631

Closed Lutzifer closed 1 week ago

Lutzifer commented 1 week ago

Short description of the issue:

Build fails because of missing PrivacyInfo.xcprivacy after upgrading to 6.8.0. We use xcodegen to include the dependencies via SPM.

Expected outcome:

I can build the app with 6.8.0 the same way as before 6.8.0

What actually happens:

Screenshot 2024-10-10 at 12 55 07

We get PrivacyInfo.xcprivacy errors

Self contained code example that reproduces the issue:

As the error happens on a project level, a code example is hard to provide but can try to whip up a standalone smaller project if needed.

RxSwift/RxCocoa/RxBlocking/RxTest version/commit

6.8.0, release version

Platform/Environment

How easy is to reproduce? (chances of successful reproduce after running the self contained code)

Xcode version:

Version 16.0 (16A242d)

Installation method:

I have multiple versions of Xcode installed: (so we can know if this is a potential cause of your issue)

Level of RxSwift knowledge:

freak4pc commented 1 week ago

I couldn't reproduce this in a fresh SPM project:

image

Also, we (monday.com) use Tuist (which works over XcodeGen) and we had no issues with upgrading/building.

Can you provide some reproduction I could debug further?

Lutzifer commented 1 week ago

I'll see if I can extract something tomorrow, thx for having a look.

Lutzifer commented 1 week ago

oh, and it only occurs on builds to a device, simulator runs fine.

freak4pc commented 1 week ago

Device looks fine, too. LMK if you can reproduce something - I won't be available until next week but will take a look as soon as I can :)

image
Lutzifer commented 1 week ago

Issue has somehow disappeared over night, seems to be some weird caching issue somewhere.

Thx for having a look again.