仲間が作業終えたファイルのチェックを行おうとpullしてreact-native link
を走らせたら以下のエラー。
rnpm-install ERR! Something went wrong while linking. Error: Expected "/* Begin ", "/*", "\"", "}" or [A-Za-z0-9_.] but "<" found.
Please file an issue here: https://github.com/facebook/react-native/issues
Expected "/* Begin ", "/*", "\"", "}" or [A-Za-z0-9_.] but "<" found.
初めは何か特定のpackageが不具合を起こしてるのかと思って、消してはlinkを試してたんだけど、どうやらiosへのlinkができないっぽいことに気づいた。
ググると、xcodeプロジェクトのheader pathがおかしいとか色々でてたので、とりあえずプロジェクトを開こうと。したら、以下のようにでてきてプロジェクト自体ひらけない。
cannot be opened because the project file cannot be parsed.
どうやら、xcodeのプロジェクトファイルで不具合?と思ってぐぐってみると、プロジェクトファイル内でconflictが起きているとこんなことが起こるらしい。
普通に開いて解消した。