Getting 'no such module' error when importing a Swift Package Manager dependency

前端 未结 8 2147
离开以前
离开以前 2021-01-30 14:37

I\'m running Xcode 11 Beta 4. I\'m using CocoaPods, and wanted to use one of my dependencies with Swift Package Manager as a static library instead of as a framework. On a fresh

8条回答
  •  清歌不尽
    2021-01-30 15:23

    Clearing the derived data solved the issue in my case. I have Microsoft Azure Devops CI Pipeline, to clear the derived data I have to edit the Xcode build task and in the "Actions" field add this command: clean.

提交回复
热议问题