iOS build failing with Xcode 26.2 / iOS SDK 26 — cordova-plugin-advanced-http SDNetworkActivityIndicator.m

What platform are you building for?

iOS

What framework are you building with?

Cordova

What is your build ID?

cc9af05d-9a61-426e-999b-7c6f0d46d1f9

What is your error message?

SDNetworkActivityIndicator.m:46: error: use of undeclared identifier ‘UIApplication’
SDNetworkActivityIndicator.m:56: error: use of undeclared identifier ‘UIApplication’
SDNetworkActivityIndicator.m:66: error: use of undeclared identifier ‘UIApplication’

Please describe the issue:

Hi,
We’re experiencing a build failure on iOS when using Xcode 26.2 with iOS SDK 26.2. The build fails during compilation of SDNetworkActivityIndicator.m from cordova

The SDNetworkActivityIndicator.m file in cordova-plugin-advanced-http calls [UIApplication sharedApplication].networkActivityIndicatorVisible, which was deprecated since iOS 13 and has been fully removed from the iOS SDK 26 headers. The compiler can no longer resolve UIApplication in that context, causing a hard compile error.

Note: The plugin author has not released an update compatible with iOS SDK 26, and 3.3.1 is the latest version available.

Any guidance would be appreciated. Thanks!

The only real option here would be to switch to a different plugin or update the plugin. As of today, Apple requires all apps be built with XCode 26.

What requirements do you have that are causing you to use this plugin?