-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS build Error #34
Comments
Same error here. |
@cryptonator000 No, I removed the plugin and started using native api for android toast widget. For iOS still struggling to integrate Cocoa Pods plugin :( |
Hey @shivgolani , |
I have the same problem, @cryptonator000 if I do that, I'm able to build but I have runtime errors saying the |
I have Same error in iOS Build Error Any Solution |
ERROR ReferenceError: Can't find variable: Toaster |
Hello friends, I had this problem yesterday and I was able to solve it. I was able to solve it in two ways: Option 1:
Option 2: |
Fixed in Version 2.0.0 |
Can this be applied to some file in app/App_Resources instead of opening the project from the generated platform/device files? |
Hello using Xcode Version 9.3 (9E145)
and macOS High Sierra.
Getting the following error
/Users/shivgolani/ngasceapp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:41:20: error: 'dynamic' var 'cornerRadius' must also be '@objc'
open dynamic var cornerRadius: CGFloat {
~~~~~~~ ^
@objc
/Users/shivgolani/ngasceapp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:47:20: error: 'dynamic' var 'textInsets' must also be '@objc'
open dynamic var textInsets = UIEdgeInsets(top: 6, left: 10, bottom: 6, right: 10)
~~~~~~~ ^
@objc
/Users/shivgolani/ngasceapp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:50:20: error: 'dynamic' var 'textColor' must also be '@objc'
open dynamic var textColor: UIColor? {
~~~~~~~ ^
@objc
/Users/shivgolani/ngasceapp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:56:20: error: 'dynamic' var 'font' must also be '@objc'
open dynamic var font: UIFont? {
~~~~~~~ ^
@objc
/Users/shivgolani/ngasceapp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:62:20: error: 'dynamic' var 'bottomOffsetPortrait' must also be '@objc'
open dynamic var bottomOffsetPortrait: CGFloat = {
~~~~~~~ ^
@objc
/Users/shivgolani/ngasceapp/platforms/ios/Pods/Toaster/Sources/ToastView.swift:73:20: error: 'dynamic' var 'bottomOffsetLandscape' must also be '@objc'
open dynamic var bottomOffsetLandscape: CGFloat = {
~~~~~~~ ^
@objc
/Users/shivgolani/ngasceapp/platforms/ios/Pods/Toaster/Sources/ToastWindow.swift:108:16: error: 'dynamic' instance method 'statusBarOrientationWillChange()' must also be '@objc'
dynamic func statusBarOrientationWillChange() {
The text was updated successfully, but these errors were encountered: