ModuleName-Swift.h file not found in xcode8

前端 未结 7 739
余生分开走
余生分开走 2020-12-05 02:39

I\'m trying to work on a mixed Swift and ObjectiveC project with no luck.

My project is made of 6 targets:

  • App
  • Core
  • CoreTest
7条回答
  •  Happy的楠姐
    2020-12-05 02:45

    This is not a solution for the question but since many might end up on this page looking for the problem that the -Swift.h file is not found (just like me) I'd like to add one more possible reason:

    When there is a compiler issue in a swift file the header might not get generated by Xcode and thus the file is missing.

    At least in my case the -Swift.h not found was gone once I fixed the compile error in the Swift file.

提交回复
热议问题