Missing Info.plist value. A value for the key 'NSExtensionActivationRule' in bundle appname.app/PlugIns/appExtension.appex is required

Problem:

When i tried to archive and upload my app it shows the error below for my sharing extension.

"Missing Info.plist value. A value for the key 'NSExtensionActivationRule' in bundle appname.app/PlugIns/appExtension.appex is required"


Solution:

Add the below keys in your info.plist in the extension.


key :NSExtension -> dictionary 

key : NSExtensionAttributes -> dictionary

key : NSExtensionActivationRule ->  dictionary

key : NSExtensionActivationRule -> String       value:
TRUEPREDICATE

key : NSExtensionActivationSupportsImageWithMaxCount -> Number       value:1


key : NSExtensionActivationSupportsFileWithMaxCount -> Number       value:1

key : NSExtensionActivationSupportsMovieWithMaxCount -> Number       value:1

key : NSExtensionActivationSupportsText -> Boolean       value:YES

key : NSExtensionActivationSupportsWebURLWithMaxCount -> String       value:1

key : NSExtensionPointIdentifier -> String       value:com.apple.share-services

key : NSExtensionMainStoryboard -> String       value:MainInterface









Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift