When trying to include version 0.0.7 to the project, I get an error first that SWIFT_VERSION is not specified in the Podfile, after which I open podfile and add version 4.1 as a dependency. Then another error appears, related to umbrella header, I have no idea how to fix:
Error output from Xcode build:
↳
BUILD FAILED
Xcode's output:
↳
=== BUILD TARGET pusher_websocket_flutter OF PROJECT Pods WITH CONFIGURATION Debug ===
While building module 'pusher_websocket_flutter' imported from /Users/aleksandarlugonja/Desktop/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/pusher_websocket_flutter-0.0.7/ios/Classes/PusherPlugin.m:2:
While building module 'PusherSwift' imported from /Users/aleksandarlugonja/Desktop/development/myApp/build/ios/Debug-iphonesimulator/pusher_websocket_flutter/pusher_websocket_flutter.framework/Headers/pusher_websocket_flutter-Swift.h:171:
In file included from :2:
/Users/aleksandarlugonja/Desktop/development/myApp/build/ios/Debug-iphonesimulator/PusherSwift/Swift Compatibility Header/PusherSwift-Swift.h:481:12: warning: parameter 'channelName' not found in the function declaration [-Wdocumentation]
/// \param channelName The name of the channel
^~~
/Users/aleksandarlugonja/Desktop/development/myApp/build/ios/Debug-iphonesimulator/PusherSwift/Swift Compatibility Header/PusherSwift-Swift.h:481:12: note: did you mean 'channel'?
/// \param channelName The name of the channel
^~~
channel
While building module 'pusher_websocket_flutter' imported from /Users/aleksandarlugonja/Desktop/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/pusher_websocket_flutter-0.0.7/ios/Classes/PusherPlugin.m:2:
While building module 'PusherSwift' imported from /Users/aleksandarlugonja/Desktop/development/myApp/build/ios/Debug-iphonesimulator/pusher_websocket_flutter/pusher_websocket_flutter.framework/Headers/pusher_websocket_flutter-Swift.h:171:
:1:1: warning: umbrella header for module 'PusherSwift' does not include header '/PusherSwift.framework/Headers/PusherSwift-umbrella.h' [-Wincomplete-umbrella]
#import "PusherSwift-umbrella.h"
^
:1:1: warning: umbrella header for module 'PusherSwift' does not include header '/PusherSwift.framework/Headers/PusherSwift-Swift.h' [-Wincomplete-umbrella]
3 warnings generated.
3 warnings generated.
/Users/aleksandarlugonja/Desktop/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/pusher_websocket_flutter-0.0.7/ios/Classes/PusherPlugin.m:4:17: error: definition of 'PusherPlugin' must be imported from module 'pusher_websocket_flutter.PusherPlugin' before it is required
@implementation PusherPlugin
^
In module 'pusher_websocket_flutter' imported from /Users/aleksandarlugonja/Desktop/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/pusher_websocket_flutter-0.0.7/ios/Classes/PusherPlugin.m:2:
/Users/aleksandarlugonja/Desktop/development/myApp/build/ios/Debug-iphonesimulator/pusher_websocket_flutter/pusher_websocket_flutter.framework/Headers/PusherPlugin.h:3:12: note: previous definition is here
@interface PusherPlugin : NSObject
^
3 warnings and 1 error generated.
What am I missing here?
Podfile has platform set to 9.0, and swift version set to 4.1. I've also tried with 4.0, 5.0, and no luck...
When trying to include version 0.0.7 to the project, I get an error first that SWIFT_VERSION is not specified in the Podfile, after which I open podfile and add version 4.1 as a dependency. Then another error appears, related to umbrella header, I have no idea how to fix:
What am I missing here? Podfile has platform set to 9.0, and swift version set to 4.1. I've also tried with 4.0, 5.0, and no luck...