Hi Team,
Need your help on solving the errSecInternalComponent error which is getting generated while doing a xcode archive command from jenkins jobs.
Currently using Sonoma-14.4, Xcode-15.2, in local it's working well both build and archive but in case of jenkins i am unable to get that, i already given security-unlock commands also before the archive stage but no use,
Commands passed:
security unlock-keychain -p xxxx /Users/ec2-user/Library/Keychains/login.keychain-db; \
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k xxxxx
Please let me know if i have missed any configuration thing.
Error
Signing Identity: "iPhone Distribution: "
Provisioning Profile: "Notification Content Dist Profile"
(ffb7be92-3e65-4be4-b161-07c7f75723f0)
/usr/bin/codesign --force --sign 1FD10D04940E92C7A212E4A27C1E11D5C3DB12E9 --preserve-metadata\=identifier,entitlements,flags --generate-entitlement-der /Users/ec2-user/Library/Developer/Xcode/DerivedData/ReferenceApp-CardAppSDK-bwgchbllhpzevwgvnuwqvjywfeju/Build/Intermediates.noindex/ArchiveIntermediates/ReferenceApp-CardAppSDK/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/NotificationContentExtension.appex/Frameworks/PushNotificationExtensions.framework
Warning: unable to build chain to self-signed root for signer "iPhone Distribution: "
/Users/ec2-user/Library/Developer/Xcode/DerivedData/ReferenceApp-CardAppSDK-bwgchbllhpzevwgvnuwqvjywfeju/Build/Intermediates.noindex/ArchiveIntermediates/ReferenceApp-CardAppSDK/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/NotificationContentExtension.appex/Frameworks/PushNotificationExtensions.framework: errSecInternalComponent
please help on this ASAP