peter-iakovlev / TelegramCore

235 stars 83 forks source link

Header "Postbox-Swift.h" not found error while compiling #47

Closed Mr-Alirezaa closed 1 year ago

Mr-Alirezaa commented 5 years ago

Hi guys, I've already builded and added all frameworks to the project. while compiling telegramCore I receive an error:

Header 'Postbox-Swift.h' not found

module.modulemap:

framework module Postbox {
  umbrella header "Postbox.h"

  export *
  module * { export * }
}

module Postbox.Swift {
    header "Postbox-Swift.h"  //error shows up at this line
    requires objc
}

another error just shows up right after this one:

Could not build Objective-C module 'Postbox'

when I check the folder, i see that there is a Postbox-Swift.h under Postbox.framework > Header. can you help me with this?