shiburagi / Drawer-Behavior-Flutter

Drawer behavior is a library that provide an extra behavior on drawer, such as, move view or scaling view's height while drawer on slide.
MIT License
209 stars 36 forks source link

Unable to determine Swift version #6

Closed ederjavs closed 4 years ago

ederjavs commented 5 years ago

Helo, the following error appears

Launching lib/main.dart on iPhone Xʀ in debug mode... CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate UsingARCHSsetting to build architectures of targetPods-Runner: (``) Fetching external sources -> Fetching podspec forFlutterfrom.symlinks/flutter/ios -> Fetching podspec fordrawerbehaviorfrom.symlinks/plugins/drawerbehavior/ios Resolving dependencies ofPodfile` Comparing resolved specification to the sandbox manifest A Flutter A drawerbehavior Downloading dependencies -> Installing Flutter (1.0.0) -> Installing drawerbehavior (0.0.1)

arutkayb commented 5 years ago

Same :/

jaysavsani07 commented 4 years ago

I was facing the same issue and had no luck for couple of days then I tried this one which was posted in another repo's issue and seems working perfect with Xcode 11 & SWIFT 5

  1. Bridging Header must be created. Open the project with XCode. Then choose File -> New -> File -> Swift File. A dialog will be displayed when creating the swift file (You can use any name of file, it'll not be used anywhere). XCode will ask you if you wish to create Bridging Header, click yes.
  2. Make sure you have use_frameworks! in the Runner block, in ios/Podfile。
  3. Make sure you have SWIFT_VERSION 5.0 selected in you XCode -> Build Settings (When you create new swift file, it'll automatically get added if not there previously. Don't worry)
  4. Do flutter clean
  5. Go to your ios folder, deletePodfile.lock and Pods folder and then execute pod install --repo-update
  6. Now run flutter run

Hope it'll help you guys @arutkayb @ederjavs

shiburagi commented 4 years ago

17