0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

XCodeでビルド時にModule map file not foundがでた

Posted at

やりたいこと

React Nativeのアプリをローカルでビルドしたい。(Xcode)

ビルドエラー

Xcodeからビルドしようとすると以下のエラー

module map file '/Users/hoge/Library/Developer/Xcode/DerivedData/application/Build/Products/Debug-iphoneos/FirebaseCoreInternal/FirebaseCoreInternal.modulemap' not found

解決

原因

間違えて.xcodeproj ファイルを開いていた。
.xcworkspaceファイルを開かないとエラーになる。

どう違う?

.xcodeproj
Xcodeプロジェクトの基本ファイル。
単一プロジェクトの管理に使用する。

.xcworkspace
Xcodeのワークスペースファイル。
複数プロジェクトや依存関係を含むプロジェクト群の管理に使用する

今回はCocoaPodsを使用してFirebase SDKをプロジェクトに追加しているため、.xcworkspaceを通じてプロジェクトを管理します。

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?