Skip to content

Commit

Permalink
Define Bundle.module if not swift package
Browse files Browse the repository at this point in the history
  • Loading branch information
wacumov committed Feb 6, 2021
1 parent 6657a45 commit d307f5b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions SwiftRater/SwiftRater.swift
Original file line number Diff line number Diff line change
Expand Up @@ -341,3 +341,11 @@ import StoreKit
#endif
}
}

#if !SWIFT_PACKAGE
extension Bundle {
static var module: Bundle {
Bundle(for: SwiftRater.self)
}
}
#endif

0 comments on commit d307f5b

Please sign in to comment.