Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update Apple Upcoming Requirements #1142

Conversation

selvam4274
Copy link
Contributor

Privacy Manifests:
https://developer.apple.com/support/third-party-SDK-requirements/

App Store Connect upload requirement
https://developer.apple.com/news/?id=fxu2qp7b

Why

Screenshot 2024-04-04 at 9 18 47 AM

What

  • Updated min target version
  • Added third-party-SDK-requirements

Test Case
Screenshot 2024-04-04 at 11 37 50 AM

Screenshot 2024-04-04 at 11 38 00 AM Screenshot 2024-04-04 at 11 38 09 AM

@elmetal
Copy link

elmetal commented Apr 5, 2024

Great! It seems that the empty privacy manifest might be unnecessary. What do you think?

IS PrivacyManifest.xcprivacy still required for Framework even if no privacy accessed API is used? - https://forums.developer.apple.com/forums/thread/746481?answerId=782256022#782256022

If your framework doesn't require a privacy manifest, do nothing. Avoid adding an empty privacy manifest to your framework.

@selvam4274
Copy link
Contributor Author

selvam4274 commented Apr 5, 2024

Great! It seems that the empty privacy manifest might be unnecessary. What do you think?

IS PrivacyManifest.xcprivacy still required for Framework even if no privacy accessed API is used? - https://forums.developer.apple.com/forums/thread/746481?answerId=782256022#782256022
If your framework doesn't require a privacy manifest, do nothing. Avoid adding an empty privacy manifest to your framework.

@elmetal Thanks for bringing this up. It's an interesting point regarding the necessity of the PrivacyManifest.xcprivacy file, especially, I referred Snapkit

listed under https://developer.apple.com/support/third-party-SDK-requirements

Screenshot 2024-04-04 at 11 19 31 PM

With empty privacy manifest

Screenshot 2024-04-04 at 11 20 05 PM

We can avoid unnecessary app rejection or the need to appeal a review by simply not adding this.

@tristanhimmelman tristanhimmelman merged commit d6a03f3 into tristanhimmelman:master Apr 18, 2024
@selvam4274 selvam4274 deleted the Apple-Upcoming-Requirements branch April 18, 2024 23:39
s.watchos.deployment_target = '10.0'
s.ios.deployment_target = '17.0'
s.osx.deployment_target = '12.0'
s.tvos.deployment_target = '17.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume "must be built with Xcode 15 for iOS 17..." does not mean we should set the deployment target to iOS 17 as it will break most existing clients of the library who still might support earlier iOS versions.

If you check https://developer.apple.com/ios/submit/ it just says "must be built with a minimum of Xcode 15 and the iOS 17 SDK." There is no limitation to the deployment target it just has to be built with Xcode 15 and the latest SDK which makes sense.

I believe we will have to revert most of the introduced limitations in this pull request.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tristanhimmelman
This is correct. Can you revert this code so the library can support old iOS versions? Thank you

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mvn-thanhnguyen4-dn that makes sense. Can you submit a PR please

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tristanhimmelman
Please review this PR. Thank you
#1146

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants