2019-01-01から1年間の記事一覧

ios carhage_supportでcarthageのライブラリ管理

carthage_supportの使い方メモしておく。 Cartfileに記述した内容と「Linked Frameworks and Libraries」、「Run Script」の内容を手動で合わせるのを管理してくれる。carthage_supportインストール $ sudo gem install carthage_supportプロジェクトのルー…

cordova carthage対応のライブラリを使ったプラグイン開発

Carthageを使ったライブラリを使用して開発されたCordovaプラグインをいくつか見つけた。が、導入方法はプラグインインストール後や`platform add ios`した後にXcodeからCarthageのお決まりの作業を行わなくてはならないようだった。問題点は以下 ・手間がか…

swift4 アプリのバージョン番号とビルド番号取得

// バージョン番号 Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") // ビルド番号 Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")参考 https://qiita.com/arthur87/items/802d17387ae46fb44fc2

rails actioncable + swiftでwebsocketのhello world

iOSでWebSocketを少し試す必要があったのでそのときの手順をまとめておく。サーバー側はRails5.2のAPIモードでActionCableを使う。railsインストール $ bundle exec rails new ac_test --api Channel作成 channel作成 $ ./bin/rails g chnnel chatChannelは…

tmuxでndenvを使う

.bash_profile export PATH="$HOME/.ndenv/bin:$PATH" eval "$(ndenv init -)" ## ★ コレを追加 export PATH="$HOME/.ndenv/shims:$PATH">参考 https://dev.classmethod.jp/tool/anyenv-set-path-for-visual-studio-code/以上です

circleci2.1エラー '<<' must be escaped in config v2.1+

メモ。エスケープが必要になったcircleci2.0以前 command <<< $VALUE circleci2.1 command \<<< $VALUE 以上です