I'm implementing an application on Ionic with the generation of ipa, but I'm having problems at the time of signing.
I have already performed all the procedures that I found on the internet, how will I go about the certificates, changed the permissions of the same, I am using the security unlock-keychain and the security set-key-partition- , codesign.
But still the error below is displayed:
[17:37:22]: ▸ [35mexport PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/****/Documents/jenkins_sandbox/workspace/Cesar-Mobile-IonicCalculator/APP/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/usr/local/gradle-4.4.1/bin:/Users/****/Documents/jenkins_sandbox/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_9.4.0/bin:/usr/local/openshift-origin-client-tools-v3"[0m
[17:37:22]: ▸ [35mSigning Identity: "iPhone Developer: TISistemas (3U8ACV5S74)"[0m
[17:37:22]: ▸ [35mProvisioning Profile: "br.com.localhost.sampleapp Development"[0m
[17:37:22]: ▸ [35m(8757b8ca-a396-4fd0-a254-55dc0d8bd3d2)[0m
[17:37:22]: ▸ [35m/usr/bin/codesign --force --sign 0AD5B9D77FB833AAE83836132CD9ACF78B68FA43 --entitlements /Users/****/Library/Developer/Xcode/DerivedData/myApp-hicljixaixlijjanhxzogodwbifm/Build/Intermediates.noindex/ArchiveIntermediates/myApp/IntermediateBuildFilesPath/myApp.build/Debug-iphoneos/myApp.build/myApp.app.xcent --timestamp=none /Users/****/Library/Developer/Xcode/DerivedData/myApp-hicljixaixlijjanhxzogodwbifm/Build/Intermediates.noindex/ArchiveIntermediates/myApp/InstallationBuildProductsLocation/Applications/myApp.app[0m
[17:37:22]: ▸ [35mWarning: unable to build chain to self-signed root for signer "iPhone Developer: iPhone Developer: TISistemas (3U8ACV5S74)"/Users/****/Library/Developer/Xcode/DerivedData/myApp-hicljixaixlijjanhxzogodwbifm/Build/Intermediates.noindex/ArchiveIntermediates/myApp/InstallationBuildProductsLocation/Applications/myApp.app: unknown error -1=ffffffffffffffff[0m
[17:37:22]: ▸ [35mCommand /usr/bin/codesign failed with exit code 1[0m
[17:37:22]: ▸ [35m** ARCHIVE FAILED **[0m
[17:37:22]: ▸ [35mThe following build commands failed:[0m
[17:37:22]: ▸ [35mCodeSign /Users/****/Library/Developer/Xcode/DerivedData/myApp-hicljixaixlijjanhxzogodwbifm/Build/Intermediates.noindex/ArchiveIntermediates/myApp/InstallationBuildProductsLocation/Applications/myApp.app[0m
[17:37:22]: ▸ [35m(1 failure)[0m
[17:37:22]: ▸ [35m(node:4153) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error code 65 for command: xcodebuild with args: -xcconfig,/Users/****/Documents/jenkins_sandbox/workspace/Cesar-Mobile-IonicCalculator/APP/platforms/ios/cordova/build-debug.xcconfig,-workspace,myApp.xcworkspace,-scheme,myApp,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,myApp.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/****/Documents/jenkins_sandbox/workspace/Cesar-Mobile-IonicCalculator/APP/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/****/Documents/jenkins_sandbox/workspace/Cesar-Mobile-IonicCalculator/APP/platforms/ios/build/sharedpch,EMBEDDED_CONTENT_CONTAINS_SWIFT = YES,ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO,LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"[0m
[17:37:22]: ▸ [35m(node:4153) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.[0m
Can someone help me or give me a way to figure it out?