Skip to content
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

this library doesn't work well at iOS Module #28

Closed
shashoug opened this issue Aug 31, 2020 · 6 comments
Closed

this library doesn't work well at iOS Module #28

shashoug opened this issue Aug 31, 2020 · 6 comments

Comments

@shashoug
Copy link

i have Laravel Websockets on my backend, i want to connect it with mobile client which is Pusher, i found this library and when i press 'run' it shows me this error:
`Running pod install...
CocoaPods' output:

Preparing

Analyzing dependencies

Inspecting targets to integrate
Using ARCHS setting to build architectures of target Pods-Runner: (``)

Fetching external sources
-> Fetching podspec for Flutter from Flutter
-> Fetching podspec for connectivity from .symlinks/plugins/connectivity/ios
-> Fetching podspec for flutter_pusher_client from .symlinks/plugins/flutter_pusher_client/ios
[!] No podspec found for flutter_pusher_client in .symlinks/plugins/flutter_pusher_client/ios

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/external_sources/path_source.rb:14:in block in fetch' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/external_sources/path_source.rb:11:in fetch' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:980:in fetch_external_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:959:in block (2 levels) in fetch_external_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:958:in each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:958:in block in fetch_external_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:957:in fetch_external_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:117:in analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:410:in analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:235:in block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:234:in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:156:in install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in <top (required)>' /usr/local/bin/pod:23:in load'
/usr/local/bin/pod:23:in `

'

Error running pod install
Error launching application on iPhone 8.
`
my pubsec.yaml:
cupertino_icons: ^0.1.3

#Checkboxes Library

grouped_buttons: ^1.0.4

#Google Maps Library.

google_maps_flutter: ^0.5.28+1

#Flutter Map Picker

google_map_location_picker: ^3.3.3

#Flutter GeoLocator

geolocator: 5.3.2+2

#Flutter Permissions

permission: ^0.1.7

#Flutter Lottie Animations

lottie: ^0.5.1

#Flutter Inner Navigation Drawer

flutter_inner_drawer: ^0.5.6+1

#Flutter Native Navigation Drawer

drawerbehavior: ^1.0.3

#Flutter Numeric Keyboard

numeric_keyboard: ^1.0.0

#Flutter Provider Library

provider: ^4.0.4

#Mobx For Flutter

mobx: ^1.1.1
flutter_mobx: ^1.1.0

#Flutter Curved Navigation Drawer

curved_navigation_bar: ^0.3.3

#Flutter Drop Down Field

dropdownfield: 1.0.0

#Flutter BLOC

flutter_bloc: ^6.0.1

#Flutter EQUATABLE

equatable: ^1.0.2

#Flutter DIO

dio: ^3.0.9

#Json Serialization

json_annotation: ^3.0.1

#Flutter Validator

validators: ^2.0.0+1

#Flutter SharedPrefs

shared_preferences: ^0.5.8

#Flutter Poly Lines

flutter_polyline_points: ^0.2.2

#FLutter Location Library

location: ^2.3.5

#Flutter Map PolyLine

google_map_polyline:

#Flutter Google Fonts

google_fonts: ^1.1.0

#Flutter Progress Dialog

progress_dialog: ^1.2.4

#Flutter Toast

toast: ^0.1.5

#rxDart
rxdart: ^0.24.1

#GET NAVIGATOR
get: ^3.5.1

#FLUTTER ANIMATED MARKER
flutter_animarker: ^0.1.1+1

#FLUTTER OFFLINE
flutter_offline: "^0.3.0"

#FLUTTER WEB SOCKETS
laravel_echo: ^0.2.2
flutter_pusher_client: ^0.1.0

@heywhy
Copy link
Collaborator

heywhy commented Aug 31, 2020

You should install the latest version of the flutter_pusher_client library. 0.3.1 at this moment.

@heywhy heywhy closed this as completed Aug 31, 2020
@heywhy heywhy reopened this Aug 31, 2020
@shashoug
Copy link
Author

MissingPluginException was thrown while activating platform stream on channel
this what happened next :'(

@heywhy
Copy link
Collaborator

heywhy commented Aug 31, 2020

Exclude the library, run pub get, include flutter_pusher_client: ^0.3.1 then pub get. That should fix it

@shashoug
Copy link
Author

can you explain away more "Exclude the library"!

@heywhy
Copy link
Collaborator

heywhy commented Aug 31, 2020 via email

@shashoug
Copy link
Author

I did it, but the app crashes without any messages on the log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants