Fastlane for iOS 路 Build and Packaging |

This is a companion discussion topic for the original entry at

Hi Brian, I am at Build and packaging lesson and now I am stuck with this error. I tried all possible solutions I can find online but no luck.

command 鈥渇astlane gym鈥


Thanks for the screenshot :slightly_smiling_face:. One good bet would be to make sure you鈥檝e added export_xcargs: "-allowProvisioningUpdates" to your call to gym. You can read more about this in the here in the Fastlane Docs.

Hi Brian, yes that works. I was able to build and uplaod in testflight but only once. I comeback with the same issues :frowning:

I鈥檓 using match to handle it all for certificate but this code signing is not consistent. I will continue my studies with fastlane in a bit and give you more details on my issues.

Thank you for responding.

@brian_bee here is my current issues while executing this 鈥渇astlane build_appstore鈥

Error Domain=IDEProfileQualificationErrorDomain Code=5 鈥淧rovisioning profile 鈥渕atch AppStore agency.dio.prototype鈥 doesn鈥檛 include signing certificate 鈥淎pple Distribution: Dio Development (ZV4S8CAGM3)鈥.鈥 UserInfo={NSLocalizedDescription=Provisioning profile 鈥渕atch AppStore agency.dio.prototype鈥 doesn鈥檛 include signing certificate 鈥淎pple Distribution: Dio Development (ZV4S8CAGM3)鈥., IDEDistributionIssueSeverity=3, IDEProfileQualificationError_MissingCerts={(

Thanks for letting me know, Cyrus. The most recent error you鈥檙e reporting is similar to this issue. Taking a cue from that issue, I鈥檇 suggest taking a careful read through the fastlane troubleshooting guide if you haven鈥檛 already done so (this is a great resource for all things match, gym and code signing related).

In the issue cited, it looks like the problem stems from the original poster鈥檚 not having created a dedicated account for fastlane match | gym, and also not nuking their pre-existing signing assets. You鈥檒l likely remember that these steps are included in our course, but I describe them as optional, following fastlane鈥檚 documentation. While that鈥檚 technically true, in a case like yours, I鈥檇 suggest following these optional steps if at all possible.

I鈥檇 also take a look near the bottom of this fairly lengthy issue, as the original poster lays out the exact steps that resolved this issue for them. Together with the above, that might point the way to your solution. I can pretty promise you that in spite of these persnickety issues, that the fastlane tools and workflow are solid, so don鈥檛 lose faith鈥

Last: If nothing above resolves your problem, your next step would be to submit a fastlane issue. This is the best (read: 鈥渙nly鈥 :slight_smile:) way to get your complete fastlane issue and environment attention from the fastlane team itself. If you do this, let me know, and I鈥檒l also be happy to alert the fastlane team to your issue and do what I can to make sure you get whatever help you need.

Good luck! :+1: