Reply to 'sharedApplication' is unavailable: not available iOS (App Extension) Set Require Only App-Extension-Safe API to "NO". in build settings for that target and compile. Programming Languages General Aug ’20