Please use cocoapod resource_bundles for PrivacyInfo
RayJiang16 opened this issue · comments
蒋惠 commented
like sentry getsentry/sentry-cocoa#3651
otherwise we cannot build project
baiyidjp commented
How did you adapt this library? @RayJiang16
蒋惠 commented
I added PrivacyInfo.xcprivacy to the main project.
This is a demo that cannot be build.
TestPrivacyInfo.zip
li-jun commented
please use
s.resource_bundles = {"DeviceKit" => ["Source/PrivacyInfo.xcprivacy"]}
instead of
s.resources = 'Source/PrivacyInfo.xcprivacy'
Otherwise, the PrivacyInfo file in the main project will be overwritten.
Anton Plebanovich commented
Resolved in #397
I guess we may use fork repo as a workaround for now
# TODO: Restore when the issue is resolved
# https://github.com/devicekit/DeviceKit/issues/396
# https://github.com/devicekit/DeviceKit/pull/397
pod 'DeviceKit', :git => 'https://github.com/RayJiang16/DeviceKit', :commit => 'd0033296a30edfb294b78a64a26e708e8fff6339'
Zandor Smith commented
Thanks @RayJiang16 for your fix. Merged and released just now in v5.2.3!