Error running app directly on IOS device

Asked

Viewed 112 times

0

I have an app that runs perfectly in the simulator, the same is already signed with my dev account. But when I try to build to run on a "physical" device some errors happen, I already tried to reinstall the libraries used by Pods and tbm tried to delete the Deriveddata folder but without success. What could be causing this mistake?

Follows stack of error:

Phasescriptexecution [CP] Embed Pods Frameworks /Users/diego/Library/Developer/Xcode/Deriveddata/my-project-hcjzjblytpxfyucbgwmphvetikwt/Build/Intermediates.noindex/my-project.build/Debug-iphoneos/my-project.build/Script-615B2B9C4AAE04ED75B72A96.sh cd /Users/diego/Desenvolvimento/project/my-project /bin/sh -c /Users/diego/Library/Developer/Xcode/Deriveddata/my-project-hcjzjblytpxfyucbgwmphvetikwt/Build/Intermediates.noindex/my-project.build/Debug-iphoneos/my-project.build/Script-615B2B9C4AAE04ED75B72A96.sh

mkdir -p /Users/diego/Library/Developer/Xcode/Deriveddata/my-project-hcjzjblytpxfyucbgwmphvetikwt/Build/Products/Debug-iphoneos/my-project.app/Frameworks rsync --delete -av --filter P . *.??????? -filter "- CVS/" -filter "--filter . svn/" -filter "- . git/" -filter "- . Hg/" -filter "- Headers" --filter "- Privateheaders" -filter "- Modules" "/Users/diego/Library/Developer/Xcode/Deriveddata/my-project-hcjzjblytpxfyucbgwmphvetikwt/Build/Products/Debug-iphoneos/Alamofire/Alamofire.framework" "/Users/diego/Library/Developer/Xcode/Deriveddata/my-project-hcjzjblytpxfyucbgwmphvetikwt/Build/Products/Debug-iphoneos/my-project.app/Frameworks" building file list ... done Alamofire.framework/ Alamofire.framework/Alamofire Alamofire.framework/Info.plist

sent 1624660 bytes Received 70 bytes 3249460.00 bytes/sec total size is 1624230 Speedup is 1.00 Code Signing /Users/diego/Library/Developer/Xcode/Deriveddata/my-project-hcjzjblytpxfyucbgwmphvetikwt/Build/Products/Debug-iphoneos/my-project.app/Frameworks/Alamofire framework. with Identity iPhone Developer: Diego Augusto (4L5839GH78) /usr/bin/Codesign --force --Sign 720B129FDEA6BFFF9AF1810B80DB6BC0A7DED204 --preserve-Metadata=Identifier,entitlements '/Users/diego/Library/Developer/Xcode/Deriveddata/my-project-hcjzjblytpxfyucbgwmphvetikwt/Build/Products/Debug-iphoneos/my-project.app/Frameworks/Alamofire.framework' /Users/diego/Library/Developer/Xcode/Deriveddata/my-project-hcjzjblytpxfyucbgwmphvetikwt/Build/Products/Debug-iphoneos/my-project.app/Frameworks/Alamofire framework.:

errSecInternalComponent Command /bin/sh failed with Exit code 1

1 answer

1


Problem solved, I had to delete the contents of the folder Keychains

rm -rf ~/Library/Keychains

Then I downloaded the certificates and keys again.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.