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

前端 未结 8 2160
离开以前
离开以前 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:29

    It turned out that Swift Package Manager implicitly depends on the project's Configuration names. I had them at live/qa instead of Release/Debug, and changing them back resolved the issue. Very odd, but I hope it saves you some trouble dear reader.

提交回复
热议问题