I generated my distribution certificates ok, but when I send the app to codenameone to build it, throws this erros on log.
Signing Identity: "iPhone Distribution: XXXXXXXX"
Provisioning Profile: "IOS_DISTRIBUTION_Profile"
(647b6c28-7bd7-424f-bf1b-5e8081d7f9b8)
/usr/bin/codesign --force --sign 35998CCB7538F0F2EB73795C4F444C1DD2EC4986 --entitlements /Volumes/MacintoshHD2/temp/build1022640200136408778xxx/dist/build/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/App.build/Release-iphoneos/App.build/App.app.xcent /Volumes/MacintoshHD2/temp/build1022640200136408778xxx/dist/build/Build/Intermediates.noindex/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app
Warning: unable to build chain to self-signed root for signer "iPhone Distribution: XXXXXX"
/Volumes/MacintoshHD2/temp/build1022640200136408778xxx/dist/build/Build/Intermediates.noindex/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
Regards