How to show MyApp Icon to Document Folder shared by UIFileSharingEnabled in "On my iPhone"
I would like to show my app (Falcon) on Chrome, Udemy, etc. This app is currently under development. Please let me know if there are any requirements to show it. I would be happy if iCloud also solves this problem at the same time because the icon is not displayed. For example, can it be displayed even if it is not released in the AppStore?
This is my Info.plist
<?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>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>Falcon Package</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>lamina1331.Falcon</string>
</array>
</dict>
</array>
<key>NSUbiquitousContainers</key>
<dict>
<key>iCloud.lamina1331.Falcon</key>
<dict>
<key>NSUbiquitousContainerIsDocumentScopePublic</key>
<true/>
<key>NSUbiquitousContainerName</key>
<string>Falcon</string>
<key>NSUbiquitousContainerSupportedFolderLevels</key>
<string>Any</string>
</dict>
</dict>
<key>UIFileSharingEnabled</key>
<true/>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>Falcon Package</string>
<key>UTTypeIconFiles</key>
<array>
<string>DocumentIcon</string>
</array>
<key>UTTypeIdentifier</key>
<string>lamina1331.Falcon</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>flcpkg</string>
</array>
</dict>
</dict>
</array>
<key>UTImportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.data</string>
</array>
<key>UTTypeDescription</key>
<string>Falcon Package</string>
<key>UTTypeIconFiles</key>
<array>
<string>DocumentIcon</string>
</array>
<key>UTTypeIdentifier</key>
<string>lamina1331.Falcon</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>flcpkg</string>
</array>
</dict>
</dict>
</array>
</dict>
</plist>
The icon overlapping on the icon of an app's folder under "On My iPhone" or iCloud Drive is the app icon, and so I don't think that the latest Xcode not allowing specifying icons, as mentioned in your second post, is relevant here.
For an app that is already on the App Store, the icon comes from the App Store. Your app icon should show up appropriately after your app lands on the App Store.
For an app that is not on the App Store yet, the system is supposed to look up its icon locally on the device from the bundle record. I saw that worked in an earlier system version. In your case, however, that behavior doesn't happen. I believe that is a regression, and would suggest that you file a feedback report – If you do so, please share your report ID here so I can route it directly to the team.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.