Comments (5)
@dsarfati What are the build errors you are receiving specifically? Attach pictures if you are able to as that will tremendously help. I'm unfamiliar with Carthage must maybe my syntax in the README is wrong? Since github "Daltron/NotificationBanner" == 1.3.3
worked, have you tried github "Daltron/NotificationBanner" == 1.4.0
? Thanks!
from notificationbanner.
I don't have any experience with Carthage either. ==1.4.0 fails as well. Here is the log file from the failed build. I created a sample project here so you can try it out. For other reasons, I have decided to stay with CocoaPods, but I wanted to let you know in case others run into the same problem when using Carthage.
from notificationbanner.
same issue
from notificationbanner.
/Users/purkylinking/Work/Repos/Assistant/Carthage/Checkouts/NotificationBanner/NotificationBanner/Classes/BaseNotificationBanner.swift:102:38: error: use of undeclared type 'BannerPosition'
private(set) var bannerPosition: BannerPosition!
^~~~~~~~~~~~~~
/Users/purkylinking/Work/Repos/Assistant/Carthage/Checkouts/NotificationBanner/NotificationBanner/Classes/BaseNotificationBanner.swift:105:38: error: use of undeclared type 'BannerPositionFrame'
private var bannerPositionFrame: BannerPositionFrame!
^~~~~~~~~~~~~~~~~~~
/Users/purkylinking/Work/Repos/Assistant/Carthage/Checkouts/NotificationBanner/NotificationBanner/Classes/BaseNotificationBanner.swift:155:62: error: use of undeclared type 'BannerPosition'
private func createBannerConstraints(for bannerPosition: BannerPosition) {
^~~~~~~~~~~~~~
/Users/purkylinking/Work/Repos/Assistant/Carthage/Checkouts/NotificationBanner/NotificationBanner/Classes/BaseNotificationBanner.swift:213:38: error: use of undeclared type 'BannerPosition'
bannerPosition: BannerPosition = .top,
^~~~~~~~~~~~~~
/Users/purkylinking/Work/Repos/Assistant/Carthage/Checkouts/NotificationBanner/NotificationBanner/Classes/BaseNotificationBanner.swift:228:31: error: use of undeclared type 'BannerPosition'
bannerPosition: BannerPosition = .top) {
^~~~~~~~~~~~~~
/Users/purkylinking/Work/Repos/Assistant/Carthage/Checkouts/NotificationBanner/NotificationBanner/Classes/BaseNotificationBanner.swift:233:35: error: use of unresolved identifier 'BannerPositionFrame'
bannerPositionFrame = BannerPositionFrame(bannerPosition: bannerPosition,
^~~~~~~~~~~~~~~~~~~
/Users/purkylinking/Work/Repos/Assistant/Carthage/Checkouts/NotificationBanner/NotificationBanner/Classes/BaseNotificationBanner.swift:105:17: note: did you mean 'bannerPositionFrame'?
private var bannerPositionFrame: BannerPositionFrame!
^
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
from notificationbanner.
I found the file BannerPositionFrame.swift is not included in the Project
from notificationbanner.
Related Issues (20)
- Banner style extension
- StatusBarNotificationBanner onTap not working
- Main Thread crash HOT 3
- iPhone Dynamic Island HOT 1
- NotificationBannerQueue needs to depend on a protocol (Liskov principle)
- SwiftUI HOT 4
- The position of the banner on the screen when changing orientation HOT 2
- Why disallow background color for custom views? HOT 1
- App crashes on nil bannerPosition when using `.applyStyling` HOT 1
- The banner has the wrong width when it is displayed on the primary view
- closure #2 in BaseNotificationBanner.dismiss(forced:) NSInternalInconsistencyException - Must have a keyboard layer tracked.
- could not find module 'NotificationBannerSwift' for target 'x86_64-apple-ios-simulator' HOT 1
- customize the height
- Issue regarding position When 2 Banner whowing same time HOT 1
- sideViewSize no longer available
- CarPlay blocks the NotificationBanner
- How can I add layer border? HOT 1
- Screen flicker on ios 17 HOT 4
- SnapKit dependency issues
- Request for updated iOS SDK version with the xcprivacy manifest HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notificationbanner.