TimOliver / TOCropViewController

A view controller for iOS that allows users to crop portions of UIImage objects
http://www.timoliver.com.au/2015/06/21/tocropviewcontroller-an-open-source-image-cropper-for-ios/
MIT License
4.73k stars 954 forks source link

ITMS-91108: Invalid privacy manifest - The PrivacyInfo.xcprivacy file from the following path is invalid: “Frameworks/TOCropViewController.framework/TOCropViewControllerBundle.bundle/PrivacyInfo.xcprivacy”. #595

Open devender3110 opened 1 month ago

devender3110 commented 1 month ago

The PrivacyInfo.xcprivacy file from the following path is invalid: “Frameworks/TOCropViewController.framework/TOCropViewControllerBundle.bundle/PrivacyInfo.xcprivacy”. In addition to the privacy manifest files in the locations outlined in the documentation, starting November 12, 2024, all privacy manifests you submit must have valid content. Keys and values in any privacy manifest must be in a valid format. For more details about privacy manifest files,

billylongta commented 1 month ago

I had the same issue too. Checkout the resource by SPM, and saw the structure of PrivacyInfo.xcprivacy is not correct:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>NSPrivacyTracking</key>
    <false/>
    <key>NSPrivacyTrackingDomains</key>
    <array/>
    <key>NSPrivacyCollectedDataTypes</key>
    <array/>
    <key>NSPrivacyAccessedAPITypes</key>
    <array>
        <dict/>
    </array>
</dict>
</plist>

it should be:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>NSPrivacyTracking</key>
    <false/>
    <key>NSPrivacyTrackingDomains</key>
    <array/>
    <key>NSPrivacyCollectedDataTypes</key>
    <array/>
    <key>NSPrivacyAccessedAPITypes</key>
    <array/>
</dict>
</plist>
chrishoffman commented 1 month ago

It looks like this was fixed in 2.7.3 https://github.com/TimOliver/TOCropViewController/releases/tag/2.7.3

aureliendelrue commented 1 month ago

I also have this error with 2.7.3 today. @TimOliver could you take a look please ? This file should be in a Sources repository no ? (https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/adding_a_privacy_manifest_to_your_app_or_third-party_sdk#4336749)

aureliendelrue commented 4 weeks ago

Hi @TimOliver any news ?

Pbarth commented 3 weeks ago

Same error as @aureliendelrue

krloz5028 commented 3 weeks ago

Any update?

lgc1993-CN commented 1 week ago

I had the same issue too. Checkout the resource by SPM, and saw the structure of PrivacyInfo.xcprivacy is not correct:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>NSPrivacyTracking</key>
  <false/>
  <key>NSPrivacyTrackingDomains</key>
  <array/>
  <key>NSPrivacyCollectedDataTypes</key>
  <array/>
  <key>NSPrivacyAccessedAPITypes</key>
  <array>
      <dict/>
  </array>
</dict>
</plist>

it should be:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>NSPrivacyTracking</key>
  <false/>
  <key>NSPrivacyTrackingDomains</key>
  <array/>
  <key>NSPrivacyCollectedDataTypes</key>
  <array/>
  <key>NSPrivacyAccessedAPITypes</key>
  <array/>
</dict>
</plist>

It works! Thanks for the advice. Now, I'm just waiting for version 2.7.4 to merge it.

aleksandar-vostic commented 1 week ago

Any ideas when will 2.7.4 with the fix be?

EDIT: Okay, I just targeted the last commit on the main branch, and it passes Apple's review now.

lgc1993-CN commented 5 days ago

@TimOliver I saw that v2.7.4 has been tagged. Will it be released soon?

praveenraman commented 19 hours ago

https://stackoverflow.com/questions/79221883/itms-91056-invalid-privacy-manifest/79228978#79228978