Getting error “No such module” using Xcode, but the framework is there

前端 未结 30 2198
小蘑菇
小蘑菇 2020-11-22 05:02

I\'m currently coding in Swift, and I\'ve got an error:

No such module Social

But I don\'t understand, because the module is in

30条回答
  •  一个人的身影
    2020-11-22 05:47

    If you're building for a platform like tvOS, make sure you have an Apple TV (i.e. matching) simulator selected.

    Building a tvOS app with an iOS simulator selected gave me exactly this error. Spent the better part of an hour looking for all sorts of build issues... doh.

提交回复
热议问题