Schemeを作ったら共有しよう..
はじめに
FastlaneのSnapshotでアプリのスクリーンショットを撮影しようと思い、MockSchemeを作成したのですが、コマンドを叩いたら怒られました。
Couldn't find specified scheme 'ToioController-Mock'. Please make sure that the scheme is shared, see https://developer.apple.com/library/content/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/ConfigureBots.html#//apple_ref/doc/uid/TP40013292-CH9-SW3
解決策
エラーの通り新規作成したSchemeは共有されていない状態になっているので、共有してあげる必要があります。
また、共有をしていないとチーム間で同じSchemeを使うことができなくなってしまうようです。私も違うPCでSchemeが共有されず悩んでいたのですがプロジェクトで正しく設定できていないのが問題でした。
Product > Scheme > Manage Scheme..
右側のチェックをONにするとSchemeが共有されます。
