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
-
1I know this might be a silly question but still I gotta ask to be sure. Did you try clean and build?Kutay Demireren– Kutay Demireren2019年01月27日 22:21:42 +00:00Commented Jan 27, 2019 at 22:21
-
Sometimes I canceled progress building, the error appear. Try clean and build agian.Son Pham– Son Pham2019年01月28日 10:19:25 +00:00Commented Jan 28, 2019 at 10:19
-
i tried two three times, still its showing the same issue.!Hari Narayanan– Hari Narayanan2019年03月19日 14:07:23 +00:00Commented Mar 19, 2019 at 14:07
1 Answer 1
@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
user1872384
7,18711 gold badges65 silver badges109 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
default