出現(xiàn)問題:
!warning:Embedded binary's NSExtensionActivationRule is TRUEPREDICATE. Before you submit your containing app to the App Store, be sure to replace all uses of TRUEPREDICATE with specific predicate statements or NSExtensionActivationRule keys. If any extensions in your containing app include TRUEPREDICATE, the app will be rejected.
解決方案:
官方文檔
添加NSExtensionActivationRule下鍵值:
分享時(shí)最大支持圖像數(shù)量:NSExtensionActivationSupportsImageWithMaxCount
如果您的共享或iOS操作擴(kuò)展需要訪問網(wǎng)頁,則必須包含具有非零值的NSExtensionActivationSupportsWebPageWithMaxCount
Example:
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<dict>
<key>NSExtensionActivationSupportsImageWithMaxCount</key>
<integer>10</integer>
<key>NSExtensionActivationSupportsMovieWithMaxCount</key>
<integer>1</integer>
<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
<integer>1</integer>
</dict>
</dict>