Native build for iOS fail (signing issue, code 65)
Hello, I’m running into an issue when trying to build an iOS version of my native app. I've done everything according to the Mendix manuals: correct provisioning profile, created with a certificate via the Mendix SSL manual (https://docs.mendix.com/refguide/managing-app-signing-keys#2-2-on-other-platforms), added the files in the native builder: https://docs.mendix.com/howto/mobile/deploying-native-app#signing-a-build. The native builder accepts my files, but after a couple of minutes into my build, the build fails. The log files says the following: error: No certificate for team '63A3ZR57EK' matching 'Apple Distribution: Cape Systems Integration BV (63A3ZR57EK)' found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. (in target 'nativeTemplate' from project 'nativeTemplate') This error comes with the following code: Error: /usr/bin/xcodebuild failed with return code: 65 Googling the code I found something regarding signing issues, but nothing Mendix specific. I was wondering if anyone else has had the same issue, and how to fix this. Thanks in advance, Martin
After 3 weeks we seem to have located the origin of the issue, although we don't know why it causes an issue.
The Mendix documentation about signing your builds (https://docs.mendix.com/refguide/managing-app-signing-keys) talks about using OpenSSL for generating key, CSR, PEM and p12 files.
After a lot of testing, another colleague was suddenly able to successfully finish an Iphone-build and generate an .ipa file.
I replicated every step, but still got the same error. Finally we took a look at the tools and saw that I was using OpenSSL 3.0.0 and he was using 1.1.1
After I removed 3.0.0 and installed version 1.1.1 I too was able to generate an .ipa