2

Failing to build an Xcode project for the first time with Alamofire and SwiftyJSON. Getting the error:

Code Signing /Users/tc/Library/Developer/Xcode/DerivedData/Theo's_App-dettsmkxqclxnkgyvtofbjnhseyp/Build/Products/Debug-iphonesimulator/Theo's App.app/Frameworks/Alamofire.framework with Identity -
/usr/bin/codesign --force --sign - --preserve-metadata=identifier,entitlements '/Users/tc/Library/Developer/Xcode/DerivedData/Theo's_App-dettsmkxqclxnkgyvtofbjnhseyp/Build/Products/Debug-iphonesimulator/Theo's App.app/Frameworks/Alamofire.framework'
/Users/tc/Library/Developer/Xcode/DerivedData/Theos_App-dettsmkxqclxnkgyvtofbjnhseyp/Build/Products/Debug-iphonesimulator/Theos App.app/Frameworks/Alamofire.framework: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code

Tried finding similar issues online and doing their solutions but build keeps failing.

Cœur
39k25 gold badges207 silver badges282 bronze badges
asked Jan 27, 2019 at 21:29
3
  • 1
    I know this might be a silly question but still I gotta ask to be sure. Did you try clean and build? Commented Jan 27, 2019 at 22:21
  • Sometimes I canceled progress building, the error appear. Try clean and build agian. Commented Jan 28, 2019 at 10:19
  • i tried two three times, still its showing the same issue.! Commented Mar 19, 2019 at 14:07

1 Answer 1

2

@Cœur, I was facing the same issue with Xcode 10 recently. Not sure if it will work for you.

Try to close Xcode, and open your project xxx.xcworkspace from the finder instead of the xcode recent project panel.

Seems like there's a bug in Xcode 10.

answered Jan 29, 2019 at 6:36
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.