iOS Share Extension not working after deploy

匆匆过客 提交于 2019-12-22 09:42:36

问题


I have created a Share extension which working fine while I am running it though xcode on device or simulator. But when I creating IPA or using TestFlight, it is not passing my list from host app to extension.

I am creating this extension for posting an image in host app ( without uploading on server just in local sqlite ). For this I have checked, App Group and it is fine, cross checked the provisioning certificate and it is also attached with app group.

If you have any idea please let me know.


回答1:


The entitlement file needs to have the group id information and same should be reflected in build settings.

For me it was just that entitlement file was missing from build settings under code signing entitlements for release.

In debug the app does not require entitlement file.



来源:https://stackoverflow.com/questions/42703948/ios-share-extension-not-working-after-deploy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!