LoginSignup
1
1

More than 3 years have passed since last update.

UE4 ERROR: Not expecting project ... to already have a target rules of with configuration name Game (AppNameTarget) while trying to add

Last updated at Posted at 2021-01-12

UE4でIOSリモートビルドをしようとした時に、ERROR: Not expecting project ... to already have a target rules of with configuration name Game (AppNameTarget) while trying to add

英語で調べても全然ドキュメント出てこないから苦戦した。

解決方法

同じ名前で何回もリモートビルドしていたのが原因。MAC側に前のターゲットファイルが有るよっていう事らしい。
/Users/MacUserName/UE4/Builds/WindowsPCname/C/Users/WindowsUserName/Documents/Unreal_Projects/Appname/Intermediate/ProjectFilesIOS/AppName.xcodeproj
が既に有ることが原因だった。
Windows側のプロジェクトフォルダにProjectFilesIOSなんてフォルダねーじゃん!って思ってたらこれMAC側のルートだったのね。MACでリモートビルド用フォルダを全部消せば直る。↑のルートの場合は

rm -rf /Users/MacUserName/UE4/Builds/WindowsPCname/C/Users/WindowsUserName/Documents/Unreal_Projects/*

をしてからまたビルドしてみよう!

1
1
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
1
1