Framework resource bundle 'GoogleCastResources.bundle' not found


I started for second time to add chromecastios plugin ( ) to an app.
My app crashes after a few seconds ( two or three ) on the callback of the method scanForDevices.

Thats my code:

var defaultAppId = ""
defaultAppId = response;

      //successfully started scanning for devices
      console.log("devices ok") // debugger get that line, and after two seconds app crashes
      var dev2 = cordova.plugins.chromecastios.getDeviceList();
      //response is simply a string value "started";
      //failed to start scanning for devices
      //see error for details

xcode logs when crashing:

APP[612:342475] chromecast-ios plugin initializing
2018-01-08 18:56:37.921335-0300 APP[612:342475] THREAD WARNING: [‘FWChromecast’] took ‘99.056885’ ms. Plugin should use a background thread.
2018-01-08 18:56:38.087015-0300 APP[612:342717] [BoringSSL] Function boringssl_context_get_peer_sct_list: line 1757 received sct extension length is less than sct data length
2018-01-08 18:56:41.153843-0300 APP[612:342475] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Framework resource bundle ‘GoogleCastResources.bundle’ not found. Make sure that it is part of your build target under ‘Copy Bundle Resources’’
*** First throw call stack:
(0x18613dd04 0x18538c528 0x18613dc4c 0x10084e244 0x10084df48 0x101b0d45c 0x101b0e17c 0x10084df20 0x100886bb0 0x101b0d45c 0x101b0e17c 0x100886b88 0x100809714 0x1008098bc 0x18b574598 0x18b5752d0 0x18b583868 0x101b0d49c 0x101b0d45c 0x101b1c110 0x101b109a4 0x101b11e8c 0x1860e5eb0 0x1860e3a8c 0x186003fb8 0x187e9bf84 0x18f5d82f4 0x100790b78 0x185b2656c)
libc++abi.dylib: terminating with uncaught exception of type NSException

Any ideas?

ionic info:

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:

cordova (Cordova CLI) : 7.1.0
Gulp CLI : [19:04:53] CLI version 3.9.1 [19:04:53] Local version 3.9.1
local packages:

Cordova Platforms : android 5.2.2 ios 4.5.4
Ionic Framework : ionic1 1.3.1

ios-deploy : 1.9.2
Node : v6.8.1
npm : 3.10.8
OS : macOS Sierra
Xcode : Xcode 9.1 Build version 9B55
Environment Variables:

ANDROID_HOME : not set

backend : pro
Thanks, BR, Maxi.

Hi, I fixed it manually.

I have to add the manually to the “Copy bundle resources” the bundle: GoogleCastResources.bundle. I got it from

I think that bundle is missing on that plugin project…