Alamofire: Code Sign Error occurred while running alamofire on my iphone

Created on 29 Dec 2017  路  6Comments  路  Source: Alamofire/Alamofire

I am using Alamofire and AlamofireImage for my app and while using simulator, it works really well.
But Today, I am trying to run it on my iphone, code sign error occurred.

this is the error message.

CodeSign /Users/admin/Library/Developer/Xcode/DerivedData/TicketingApp-btjnzulfdhjwkaatpcsjsmkxxnja/Build/Products/Debug-iphoneos/TicketingApp.app/Frameworks/AlamofireImage.framework
cd /Users/admin/Documents/Ticketing_app/TicketingApp
export CODESIGN_ALLOCATE="/Applications/Xcode 9.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate"
export PATH="/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode 9.2.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity: "iPhone Developer: [email protected] (8DVUKPBSDP)"

/usr/bin/codesign --force --sign D76A8EE1054C83A06B5F2361F4D02E0501F39126 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/admin/Library/Developer/Xcode/DerivedData/TicketingApp-btjnzulfdhjwkaatpcsjsmkxxnja/Build/Products/Debug-iphoneos/TicketingApp.app/Frameworks/AlamofireImage.framework

/Users/admin/Library/Developer/Xcode/DerivedData/TicketingApp-btjnzulfdhjwkaatpcsjsmkxxnja/Build/Products/Debug-iphoneos/TicketingApp.app/Frameworks/AlamofireImage.framework: unknown error -1=ffffffffffffffff
Command /usr/bin/codesign failed with exit code 1

Alamofire Environment

Alamofire version: 4.6
Xcode version: 9.2 beta
Swift version: 4.0

support

All 6 comments

Sorry, we use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on Stack Overflow and tag alamofire.

Cheers. 馃嵒


From our Contribution Guidelines

Asking Questions

We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.

I have exactly the same issue... and no (usual) solution seems to work...

I'm too facing this issue. any update on this issue ?

Same issue. :(

I've solved this problem after trying so many things.
so, I am not sure what I did is correct way~ and it is almost 1 month ago :)
But try this:
image
As you can see on this image, you can choose correct option.
!!! Choose "agent" role user !!!

I hope this can solve your problems.

I solved this issue finally. In my case this is happening due to keychain. Keychain was denying the permission to code sign

Was this page helpful?
0 / 5 - 0 ratings