xcodeios-app-extension

Xcode - check the type of extension


In iOS there are several app extensions described here and I would like to know how to distinguish each type.

In my current project I have a lot of extensions without a descriptive name. How could i figure out what type of extension is each one of them?

enter image description here


Solution

  • I finally I figure out that I can check the type of extension in the Info.plist of each extension.

    For example, these identifiers belongs to Notification Service Extension and Notification Content Extension respectively.

    NSExtension -> NSExtensionPointIdentifier = com.apple.usernotifications.service 
    NSExtension -> NSExtensionPointIdentifier = com.apple.usernotifications.content-extension