xcode-project use-profiles failing due to certificate length #2663
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceRun Expected resultsFor it to utilize the valid certificate. Actual resultsOur signing action (which just uses xcode-project use-profiles) fails with:
Build id (optional)66abcddaf98e86168c45e3b8 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @pstromberg98 , thanks for reporting this. We are looking into it. |
Beta Was this translation helpful? Give feedback.
-
@pstromberg98, actually there is nothing wrong with the certificate. It is just that RFC-5280 specifies min and max lengths for certificate's common name, which isn't respected/enforced by Apple. Recent version of cryptography reports about such cases as a warning. The actual failure reason is in your project file
which I believe should instead be
You can use the switch --code-signing-setup-verbose-logging with |
Beta Was this translation helpful? Give feedback.
-
@priitlatt Ahh got it. I just tested reverting back to |
Beta Was this translation helpful? Give feedback.
@pstromberg98, actually there is nothing wrong with the certificate. It is just that RFC-5280 specifies min and max lengths for certificate's common name, which isn't respected/enforced by Apple. Recent version of cryptography reports about such cases as a warning.
The actual failure reason is in your project file
ios/Runner.xcodeproj/project.pbxproj
, where code signing entitlements are not defined properly. According to our logs the problematic line is 463:which I believe should instead be
You can use the switch --code-…