問題 pod installでRxSwiftをインポートしたつもりだが、ViewControllerでimport RxSwiftとすると、 No such module 'RxSwift' となり、もちろんビルドもRunもできない。 解決 .xcodeprojではなく、.xcworkspaceから開く。 No such module 'RestKit' with co…
※ Xcodeは変化が早いので日付に注意してください ゴール XcodeのiOSプロジェクトでFontAwesomeが使える 参考 TTFの追加: Adding a Custom Font to Your App | Apple Developer Documentation iOS : How to use FontAwesome in Xcode project. - Umair Hassan…
Problem $ bundle install --jobs=3 --retry=3 --deployment Fetching gem metadata from https://rubygems.org/........ Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Your bundle i…
「Travis CIでCIしたい」なのか「TravisでCIしたい」なのか悩みました。 参考 Automate Testing & Build Delivery with fastlane and Travis CI | Macoscope Blog iOS: Continuous Integration with Travis CI and Fastlane tl;dr gem install fastlane 必要…
let filepath = NSBundle.mainBundle().pathForResource("message", ofType:"json") // 1. Resourcesっていうグループ(と物理ディレクトリ)作ってるけど、ファイル名だけでよい // 2. 返り値はnullable(String?)なので注意 let data = NSData(contentsOf…
ios - Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError, Code = 0) - Stack Overflow ios - Installation Failed "Invalid argument" when trying to run Today application extension - Stack Over…
問題 ("Optional("10,00 €")") is not equal to ("Optional("10,00 €")" とか言われてXCTAssertEqualがコケる。 調査 Optionalとか 文字列型のポインタを比較してEqualじゃないよとか そういうのを予想してたけど、どうやら違う printしてみた出力をアサーシ…