I'm attempting to build an iOS project that uses SDWebImage which is imported via Cocoapods. The project builds just fine for the Simulator, but when selecting an actual iOS device I'm met with this error:
Run custom shell script '[CP] Embed Pods Frameworks':
Code Signing <path_to>/DerivedData/FooBar-uuid/Build/Products/Debug-iphoneos/FooBar.app/Frameworks/SDWebImage.framework with Identity iPhone Developer: Parrotmac (XXXXXXXXX)
/usr/bin/codesign --force --sign <HEX_IDENTIFIER_HERE> --preserve-metadata=identifier,entitlements "<path_to>/DerivedData/FooBar-uuid/Build/Products/Debug-iphoneos/FooBar.app/Frameworks/SDWebImage.framework"
<path_to>/DerivedData/FooBar-uuid/Build/Products/Debug-iphoneos/FooBar.app/Frameworks/SDWebImage.framework: unknown error -1=ffffffffffffffff
Command /bin/sh failed with exit code 1</code>
I've tried:
- Cleaning the project from Xcode
- Deleting
Pods/,Podfile.lockandFooBar.xcworkspacethen re-runningpod install - Deleting
DerivedData - Adding then removing my developer account from Xcode
- Installing Cocoapods version 1.1.1 manually (then recreating
everything with
pod install). - Unlocking my Keychain
But I'm at a complete loss of what to do. This SO Question seems similar, but there are no answers.
In the event it matters, I'm using macOS 10.12.4 (Beta) and Xcode 8
