Well, as soon as I include this plugin and try to build on REAL device (iOS9, iOS8 just works fine) (simulator just works fine) I get:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /private/var/mobile/Containers/Bundle/Application/...
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/1.../Frameworks/libswiftCore.dylib: mmap() error 1 at address=0x100CD0000, size=0x0015C000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/.../Frameworks/libswiftCore.dylib
As soon as I remove this plugin, everything works fine. Now I've submitted my app to the app store yesterday before trying on a real device with iOS 9 (just updated today) , so I'm dead sure that Apple will also will reject my app as it will crash. Do you have a fast fix here @nikDemyankov? Some guys on SO said its related due to old mobile-provisionings (missing OU in subject, but my certs are fine)
Some embedded-framework problem here?
Issue happens only on real device. And only since I've upgrade to iOS 9. iOS 8 worked well. (iPhone 6)
Xcode 7.0.1, newest, Cordova
By the way. I already tried project from scratch, deleted iOS Platform, reinstalled plugin (from npm and from github). Nothing changed. Swift is making problems here.
Also checked the flag "Embedded Code contains Swift". It was already checked. But as soon as I try to run it on my real device, I get this problems.