snowplow / snowplow-ios-tracker

Snowplow event tracker for Swift and Objective-C. Add analytics to your iOS, macOS, tvOS and watchOS apps and games
http://snowplow.io
Apache License 2.0
81 stars 93 forks source link

snowplow-ios-tracker podspec resource bundles doesn't include the PrivacyInfo.xcprivacy file #888

Closed tottakai closed 6 months ago

tottakai commented 6 months ago

Is your feature request related to a problem? Please describe. Apple requires the PrivacyInfo.xcprivacy privacy manifest file which you already have in the root of this repo, however, its not included in the built package.

Describe the solution you'd like you need to add something like: s.resource_bundles = {'SnowplowTracker_Privacy' => ['PrivacyInfo.xcprivacy']} to the SnowplowTracker.podspec. Other dependencies we have export the privacy manifest file fine using the above resource_bundle declaration.

I need the PrivacyInfo.xcprivacy to be exported during the build of my framework and i have a dependency to snowplow. My real dependency is to snowplow but that depends on this package.

Describe alternatives you've considered I just forked the repo as a workaround, which is not ideal in the long run.

Additional context

matus-tomlein commented 6 months ago

Hi @tottakai, thank you for reporting the issue! Would you be up for contributing a PR seeing that you have already forked the repo and fixed it?