Closed boris-netural closed 2 years ago
I would guess that the identity
at signing
does not match. Remove the identity
parameter.
xcodebuild {
version = "9.1" // you only need to specify the version if you have multiple Xcodes installed and want to use a version that is not default
target = 'xxx'
scheme = 'xxx'
workspace = 'xxx.xcworkspace' // You do not need this parameter if your project only contains one xcworkspace
configuration = 'BETA'
simulator = false
type = 'iOS'
signing {
identity = 'iPhone Distribution: yyy' // Delete this parameter. It is not needed anymore. The Plugin take care that the proper identity is used. It is read from the p12 file.
mobileProvisionURI = 'http://codesign/yyy/yyyInhouse2014.mobileprovision'
certificateURI = 'http://codesign/yyy/yyyMobileCertificates.p12'
keychainPassword = 'aaa'
certificatePassword = 'bbb'
}
additionalParameters = "CACHEMANAGER=/Users/Jenkins/Home/workspace/CacheManager"
}
Hi René, thank you! This is not working for me. Nothing has changed. Error is still the same
Very strange. I did some googling and it looks like a problem with the keychain. Normally the plugin takes create that the keychain setup is done propery. I also have Sierra installed on all my boxes and have never run in a similar issue. Can you run gradle on a different machine to rule out that your Build-Server is the problem.
Hello!
I have also a problem with packaging my app via Jenkins and the xcode-plugin. I used to have version 0.13.+ and now I have updated to MacOS Sierra on my build server and tried to use version 0.14.+, 0.15+ and also 0.15.1.develop.+
None of them is working.
I get the following error:
What can I do or try? Is there something to consider after updating from El Capitan to Sierra. I had to upgrade to install Xcode 9.
Everything worked with the same projects, same jenkins setup, same gradle file before the upgrade to Sierra.
My gradle script is the following one:
Thank you very much!