HomeiOS Developmentios - Share Sheet doesn't embrace my app when constructing for gadget,...

ios – Share Sheet doesn’t embrace my app when constructing for gadget, however it does in simulator


After I construct my app for a tool with xcode, the app doesn’t present up within the share sheet. Nevertheless, once I construct and run it on the simulator the app does present up within the share sheet.

I added the share extension to my xcode challenge. I attempted modifying my information.plist for the share extension to incorporate particular varieties, however this doesn’t resolve the problem:

<key>NSExtension</key>
<dict>
    <key>NSExtensionAttributes</key>
    <dict>
        <key>NSExtensionActivationRule</key>
        <dict>
            <key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
            <integer>1</integer>
            <key>NSExtensionActivationSupportsImageWithMaxCount</key>
            <integer>1</integer>
            <key>NSExtensionActivationSupportsFileWithMaxCount</key>
            <integer>0</integer>
            <key>NSExtensionActivationSupportsMovieWithMaxCount</key>
            <integer>0</integer>
            <key>NSExtensionActivationSupportsText</key>
            <false/>
        </dict>
    </dict>
    <key>NSExtensionMainStoryboard</key>
    <string>MainInterface</string>
    <key>NSExtensionPointIdentifier</key>
    <string>com.apple.share-services</string>
</dict>

Additionally, if I run it as a desktop app, I’m able to allow sharing and it reveals up as within the mac share sheet:

desktop app share sheet

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments