-
Notifications
You must be signed in to change notification settings - Fork 164
ISSUES WHILE BUILDING APP(IOS) #7
Comments
Getting the same PermissionGroup error and cannot build. Any help appreciated. Thanks |
@kaushik1710 I specified an older version: permission_handler: ^3.2.2 since it's the same time the repo was last updated. Still got errors. |
Tried all day but still have not been able to get this to build. @Singhbhavneet can you verify what version of Dart/Flutter/XCode/Cocoapods/Swift you are using to get this to work? Any tips to get this to build? |
@jtkeyva @kaushik1710 This probably happened because you didn't specify the versions in the pubspec.yaml file. Permission handler had a lot of hotfixes lately, and removed the class PermissionGroup in the latest version ^5.x.x. Either downgrade- Or replace PermissionGroup with Permission
Read the documentation for the latest version of permission_handler |
Thank you @Ishtmeet-Singh Your suggestion got rid of the permissions error but now I'm getting more errors such as:
Error launching application on iPhone. Any help greatly appreciated! |
Try Add this line Run |
Thank you very much @Ishtmeet-Singh I just keep getting new issues every time I fix one. Now it's onesignal. Any ideas how to fix this? I'm going crazy over here! Any help greatly appreciated
Error output from CocoaPods: |
Can you please copy paste your pubspec.yaml file? It feels like you haven't added most of the dependencies required for the app to run. |
I used the pubspec.yaml from the repo then today I changed speech recognition and permission handler as per your advice. Here's my pubspec file name: chat_app The following defines the version and build number for your application.A version number is three numbers separated by dots, like 1.2.43followed by an optional build number separated by a +.Both the version and the builder number may be overridden in flutterbuild by specifying --build-name and --build-number, respectively.In Android, build-name is used as versionName while build-number used as versionCode.Read more about Android versioning at https://developer.android.com/studio/publish/versioningIn iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.Read more about iOS versioning athttps://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.htmlversion: 1.0.0+1 environment: dependencies: The following adds the Cupertino Icons font to your application.Use with the CupertinoIcons class for iOS style icons.cupertino_icons: ^0.1.2 permission_handler:permission_handler: '^4.4.0+hotfix.4' speech_recognition:speech_recognition: ^0.3.0+1 For information on the generic Dart part of this file, see thefollowing page: https://www.dartlang.org/tools/pub/pubspecThe following section is specific to Flutter.flutter: The following line ensures that the Material Icons font isincluded with your application, so that you can use the icons inthe material Icons class.uses-material-design: true To add assets to your application, add an assets section, like this:assets:
An image asset can refer to one or more resolution-specific "variants", seehttps://flutter.dev/assets-and-images/#resolution-aware.For details regarding adding assets from package dependencies, seehttps://flutter.dev/assets-and-images/#from-packagesTo add custom fonts to your application, add a fonts section here,in this "flutter" section. Each entry in this list should have a"family" key with the font family name, and a "fonts" key with alist giving the asset and other descriptors for the font. Forexample:fonts:
- asset: fonts/Schyler-Italic.ttfstyle: italic- family: Trajan Profonts:- asset: fonts/TrajanPro.ttf- asset: fonts/TrajanPro_Bold.ttfweight: 700For details regarding fonts from package dependencies,see https://flutter.dev/custom-fonts/#from-packages |
@jtkeyva This looks fine, can you copy paste the error log from the terminal too? Or screenshots will help |
Thanks. Here's the debug console errors now:
Error output from CocoaPods: |
And here's the latest output from today's updated repo.
|
Hey Can anyone help me with building of this project I am new to Flutter |
I cannot find the pods folder
The text was updated successfully, but these errors were encountered: