- Kintone iOS SDK is using google promises as dependencies frameworks
- Install homebrew
/usr/bin/ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'
- Set up Command Line Tools in Xcode > Preferences > Locations
Make sure you are running the latest version of CocoaPods by running:
gem install cocoapods
# (or if the above fails)
sudo gem install cocoapods
Note: We support any version of CocoaPods 1.0.1 or later.
Update your local specs repo by running:
pod repo update
Note: This step is optional, if you updated the specs repo recently.
Add the following lines to your Podfile:
pod 'PromisesSwift'
Run pod install
and you're all set!
You may also exclude any of these dependencies, if you do not need the features of those parts of the SDK.
Make sure you are running the latest version of Carthage by running:
brew update
brew upgrade carthage
Note: We recommend using Carthage version 0.31.1 or later.
Add the following line to your Cartfile:
github "google/promises"
Run carthage update
.
Note: This will fetch dependencies into a Carthage/Checkouts
folder, then build each one.
On your application targets' General
settings tab, in the Linked Frameworks and Libraries
section.
At a minimum, you'll need to drag & drop the following frameworks from Carthage/Build/iOS
folder on disk:
FBLPromises.framework
Promises.framework
On your application targets' Build Phases
tab:
- Click
+
icon and chooseNew Run Script Phase
. - Create a script with a shell of your choice (e.g.
/bin/sh
). - Add the following to the script area below the shell:
/usr/local/bin/carthage copy-frameworks
- Add the paths to the frameworks you want to use under
Input Files
, for example:
$(SRCROOT)/Carthage/Build/iOS/FBLPromises.framework
$(SRCROOT)/Carthage/Build/iOS/Promises.framework
We use GitHub issues to track public bugs. Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue