Coder Social home page Coder Social logo

crosswalk-project / ios-extensions-crosswalk Goto Github PK

View Code? Open in Web Editor NEW
14.0 12.0 20.0 246 KB

repo to host iOS crosswalk extensions

License: BSD 3-Clause "New" or "Revised" License

JavaScript 38.63% Swift 4.92% Objective-C 46.77% HTML 7.84% Ruby 1.84%

ios-extensions-crosswalk's Introduction

Introduction

The iOS Extension Crosswalk project implements the iOS Crosswalk APIs on top of the Crosswalk app runtime and its extension framework.

This repository is going to hold all the officially published Crosswalk iOS extensions, as well as the extension demos and samples.

Extensions

Cordova

Presentation

Quickstart

For hybrid developers, the easiest way to integrate Crosswalk extensions is using CocoaPods. You need to make sure you've already installed the CocoaPods on your computer. For the installation and usage of CocoaPods, please refer to: https://cocoapods.org/.

Basically the only thing you need to do is to create a Podfile in your project directory, and add a line of pod dependency which you need to use:

pod 'crosswalk-extension-cordova', '~> 1.1'

And in your app's manifest.json, add a line in xwalk_extensions to load the extension:

'xwalk_extensions': [
  'xwalk.cordova'
],

Please refer to the instruction of each extension for more details.

Development

  • Clone the repo with command:
git clone https://github.com/crosswalk-project/ios-extensions-crosswalk.git
  • Initialize the repo with command:
cd ios-extensions-crosswalk
git submodule update --init --recursive
  • Install the pods for extension development with command:
pod install
  • Open the iOSExtension.xcworkspace, build the extension targets.

Demos

There are several demo applications to illustrate the usage of each extension, please refer to the directory demos for more details.

License

This project is available under the BSD license. See the LICENSE file for more info.

ios-extensions-crosswalk's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-extensions-crosswalk's Issues

add CordovaPluginFile happen follow the crosswalk-project.org guide

when i add CordovaPluginFile happen follow the crosswalk-project.org guide

i try to just CordovaPluginFile not with xwalk ,it works!

can i have a help?

duplicate symbol _kCDVFilesystemURLPrefix in:
/Users/XXXXX/Library/Developer/Xcode/DerivedData/cordova-xwalk-gbfvvzzlqxxtbkbdbjoxhgcgzpvz/Build/Intermediates/cordova-xwalk.build/Debug-iphonesimulator/cordova-xwalk.build/Objects-normal/x86_64/CDVAssetLibraryFilesystem.o
/Users/XXXXX//Library/Developer/Xcode/DerivedData/cordova-xwalk-gbfvvzzlqxxtbkbdbjoxhgcgzpvz/Build/Intermediates/cordova-xwalk.build/Debug-iphonesimulator/cordova-xwalk.build/Objects-normal/x86_64/CDVLocalFilesystem.o
duplicate symbol _kCDVAssetsLibraryPrefix in:
/Users/XXXXX//Library/Developer/Xcode/DerivedData/cordova-xwalk-gbfvvzzlqxxtbkbdbjoxhgcgzpvz/Build/Intermediates/cordova-xwalk.build/Debug-iphonesimulator/cordova-xwalk.build/Objects-normal/x86_64/CDVAssetLibraryFilesystem.o
/Users/XXXXX//Library/Developer/Xcode/DerivedData/cordova-xwalk-gbfvvzzlqxxtbkbdbjoxhgcgzpvz/Build/Intermediates/cordova-xwalk.build/Debug-iphonesimulator/cordova-xwalk.build/Objects-normal/x86_64/CDVLocalFilesystem.o
duplicate symbol _kCDVFilesystemURLPrefix in:
/Users/XXXXX//Library/Developer/Xcode/DerivedData/cordova-xwalk-gbfvvzzlqxxtbkbdbjoxhgcgzpvz/Build/Intermediates/cordova-xwalk.build/Debug-iphonesimulator/cordova-xwalk.build/Objects-normal/x86_64/CDVAssetLibraryFilesystem.o
/Users/XXXXX//Library/Developer/Xcode/DerivedData/cordova-xwalk-gbfvvzzlqxxtbkbdbjoxhgcgzpvz/Build/Intermediates/cordova-xwalk.build/Debug-iphonesimulator/cordova-xwalk.build/Objects-normal/x86_64/CDVFile.o
duplicate symbol _kCDVAssetsLibraryPrefix in:
/Users/XXXXX//Library/Developer/Xcode/DerivedData/cordova-xwalk-gbfvvzzlqxxtbkbdbjoxhgcgzpvz/Build/Intermediates/cordova-xwalk.build/Debug-iphonesimulator/cordova-xwalk.build/Objects-normal/x86_64/CDVAssetLibraryFilesystem.o
/Users/XXXXX//Library/Developer/Xcode/DerivedData/cordova-xwalk-gbfvvzzlqxxtbkbdbjoxhgcgzpvz/Build/Intermediates/cordova-xwalk.build/Debug-iphonesimulator/cordova-xwalk.build/Objects-normal/x86_64/CDVFile.o
ld: 4 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

i try to just CordovaPluginFile not with xwalk ,it works!

can i have a help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.