flutter / flutter/flutter-intellij
Flutter Plugin does not gives the option to select the Certificate for code signing.
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
I am developing an application and I needed to change Bundle ID, Team ID and Code Signing Certificate. When I did that instead of Plugin chooses the same **Code Signing Certificate** of XCode it picks one that is not correct.
I thought It was a problem on Flutter framework, but after I execute the command `flutter run` It asked me to choose **Code Signing Certificate** because I have more than one on my Macbook.
This error made me think that the command `flutter config --clear-ios-signing-cert` does not work correctly because even after executing and performing `flutter run` by Android Studio nothing changed.
## Steps to Reproduce
- Have more than one Team ID.
- Have more than on Code Signing Certificate (one for each Team ID).
- Start a project with one Team ID and Code Signing Certificate.
- Perform at least one build on real ios devices using Android Studio.
- Open XCode, change Team ID, Bundle ID and Signing Certificate.
- Try to perform new build on real ios devices using Android Studio.
Even after performing these steps if the error does not appear, if Android Studio does expose the options to choose one **Signing Certificate** it is an error.
## Version info
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.5 19F101, locale pt-BR)
• Flutter version 1.17.3 at /Users/joselucas/developement/flutter
• Framework revision b041144f83 (3 weeks ago), 2020-06-04 09:26:11 -0700
• Engine revision ee76268252
• Dart version 2.8.4
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/joselucas/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 46.0.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
[!] VS Code (version 1.46.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)
• iPhone • aef8415dfc5a333332fca33b99f8e101d9d32849 • ios • iOS 13.5.1
! Doctor found issues in 1 category.
Contributor guide
Research direction
Start by reproducing the iOS device build in Android Studio with multiple Team IDs and signing certificates, then compare it with `flutter run`, which prompts for a certificate. Check the handling of `flutter config --clear-ios-signing-cert` and the Android Studio Flutter plugin flow; done means the plugin exposes the certificate choice or consistently uses the certificate selected in Xcode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter, java
- Domain
- mobile-dev, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100