How to enable UIFileSharingEnabled in XCode13?

I've set up a simple SwiftUI app and now want to enable UIFileSharingEnabled. I can't see it anwhere in XCode and it's not possible to add that entry to the Info.plist Values section in Build Settings.

Answered by robnotyou in 702860022

In Xcode, go to Target > Info

Under Custom iOS Target Properties, add a new row, then:

  • Type UIFileSharingEnabled, and press Return...
  • ...it changes to "Application supports iTunes file sharing"
  • Enter the value "YES"
Accepted Answer

In Xcode, go to Target > Info

Under Custom iOS Target Properties, add a new row, then:

  • Type UIFileSharingEnabled, and press Return...
  • ...it changes to "Application supports iTunes file sharing"
  • Enter the value "YES"
How to enable UIFileSharingEnabled in XCode13?
 
 
Q