1.0.0 • Published 5 years ago

cordova-plugin-carthage-support v1.0.0

Weekly downloads
12
License
-
Repository
github
Last release
5 years ago

cordova-plugin-carthage-support

本プラグインはCarthageで導入したライブラリを使用してCordovaプラグインを開発するためのプラグイン。
XcodeのBuild PhasesRun Scriptの設定を行う。

Supported Platforms

  • iOS

Supported version

Ruby(>=2.3.0)
Node(>=6.13.1)
Cordova(>=6.5)
Carthage(>=0.2)

Requirement

https://github.com/Carthage/Carthage
https://github.com/CocoaPods/Xcodeproj
https://github.com/Leonidas-from-XIV/node-xml2js

Installation

cordova plugin add https://github.com/nrikiji/cordova-plugin-carthage-support.git

Usage、Example

  1. plugin.xmlのframeworkタグにcarthage属性を追加

plugin.xml

<carthage>
  <cartfile>github "line/line-sdk-ios-swift" ~> 5.0</cartfile>
  <framework src="LineSDK.framework"/>
  <framework src="LineSDKObjC.framework"/>
</carthage>
  1. cordova prepare iosのタイミングでBuild PhasesRun Scriptへ設定