Name: cordova-plugin-moodstocks
Owner: Wizcorp
Description: Cordova plugin to use Moodstocks (https://moodstocks.com/)
Created: 2015-04-23 07:58:42.0
Updated: 2015-09-26 12:43:45.0
Pushed: 2015-04-23 07:59:32.0
Homepage: null
Size: 3353
Language: Objective-C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Under active development, and not production ready
The iOS part of this plugin is written in Swift; please
make sure to set IPHONEOS_DEPLOYMENT_TARGET
to at least 7.0 under
your platforms/ios/[YOUR-PROJECT].xcodeproj/project.pbxproj
.
You will also need to add a bridging header file, so that this plugin may see Cordova's Obj-C code. Simply follow the instructions here:
https://bohemianpolymorph.wordpress.com/2014/07/11/manually-adding-a-swift-bridging-header/
And in the header file, make sure the following lines are present:
ort <Cordova/CDV.h>
ort <Moodstocks/Moodstocks.h>
If you get a fatal error like the following at runtime:
: Library not loaded: @rpath/libswiftCore.dylib
ferenced from: /private/var/mobile/Containers/Bundle/Application/.../my.app/my
Reason: image not found
Please have a look at http://stackoverflow.com/questions/24002836/dyld-library-not-loaded-rpath-libswift-stdlib-core-dylib to fix the issue. Namely:
Runpath Search Path
includes @executable_path/Frameworks
Embedded Content Contains Swift Code
is set to Yes
ova plugin add https://github.com/Wizcorp/cordova-plugin-moodstocks.git
Sync events