“could not inspect application package” Xcode

后端 未结 10 1999
半阙折子戏
半阙折子戏 2020-12-10 05:48

For some reason I imported some files in xcode (a third party SDK), and even if the app builds successfully I receive this error: Xcode Error Message: “could not inspect app

10条回答
  •  忘掉有多难
    2020-12-10 06:32

    I was importing a framework in my bridging header that I previously removed and Xcode gave me no error I guess because I didn't call the framework anymore?

    Steps:

    • remove the unused/nonexistent framework for bridging header
    • cmd+shift+k
    • quit Xcode
    • find your project's build folder and trash the contents of the Intermediates and Products folders
    • open your project and run

    This may be overkill but it works now. I hope this helps.

提交回复
热议问题