Facebook iOS SDK 18.0.0 버전을 추가하면서 소스코드가 많이 늘어났는지 Xcode에서 위와 같은 빌드 에러가 뜬다. 결국 소스코드 양을 줄여야 된다는 말인데.. 전부터 느끼는 거지만 Facebook SDK는 쓸데없이 다 때려박아놔서 소스양이 많아서 이런저런 문제를 계속 만들어 내는 것 같다.
[Error] Type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [Warning] Incompatible pointer to integer conversion passing 'void *' to parameter of type 'int' ---- BOOL __swizzled_didReceiveRemoteNotification(idself, SEL_cmd, UIApplication* application, NSDictionary* userInfo,void (^UIBackgroundFetchResult)(void) ) { NSLog(@"swizzled didReceiveRemoteNotification");
오늘 저는 다음 정보와 함께"Command CodeSign failed with a nonzero exit code"오류를 받았습니다 .
ID 서명: "내 ID" /usr/bin/codesign --force --sign xxxxxxxx --timestamp=none /path/to/derived/data... xxxxxxxx: ID를 찾을 수 없음 0이 아닌 종료 코드로 인해 명령 CodeSign이 실패함
이 오류가 발생하는 데는 몇 가지 이유가 있을 수 있습니다.방금 나에게 일어난 일을 공유하겠습니다.
#문제의 원인
키체인 액세스앱 에서 키체인을 망칠 때 이 문제가 발생합니다.새 인증서를 만들고 이전 인증서를 삭제하려고 했습니다.그리고 Xcode가 삭제된 것을 사용하려고 시도한 것 같습니다.
#해결책
내 솔루션은 Xcode 문제가 발생했을 때 항상 수행하는 작업인 Clean Build Folder입니다.
앱을 다시 열면 키체인에 액세스하라는 대화 상자가 표시될 수 있습니다.액세스 권한을 부여하면 문제가 해결됩니다.
----
Today I got the"Command CodeSign failed with a nonzero exit code"error with the following information.
Signing Identity: "My identity" /usr/bin/codesign --force --sign xxxxxxxx --timestamp=none /path/to/derived/data... xxxxxxxx: no identity found Command CodeSign failed with a nonzero exit code
There might be several reasons that cause this error. I will share one that just happened to me.
#Cause of the problem
I got this problem when I mess up with keychains in theKeychain Accessapp. I created a new certificate and tried to delete an old one. And I think Xcode was attempting to use the deleted one.
#Solution
My solution is what we always do when we got an Xcode problem, Clean Build Folder.