개발 에러

iOS) DTDeviceKit: deviceType from [divice id] was NULL

student513 2020. 7. 29. 18:19

xcode에서 workspace를 빌드해보면 다음과 같은 에러가 떠있다.

'protobuf/Any.pbobjc.b' file not found

ios pods 폴더 삭제

ios build 폴더 삭제

 

cd ios && pod install

pod update

 

xcode에서 다시 한 번 빌드 해보면 이런 에러가 뜬다.

'UIkit/UIKIt.h' file not found

code로 앱을 빌드하던 중 발생한 에러

예상치도 못했지만 고작 오타때문에 발생한 에러이다 -_-

 

대문자 I를 i로 바꿔주도록 하자

#import <UIKit/UIKIt.h>
#import <UIKit/UIKit.h>

 

코드 에디터에서 빌드할 때 뜨는 에러는 다음과 같다. 프로비저닝 프로파일을 찾지 못한다나 뭐라나

error: No profiles for '---------' were found: Xcode couldn't find any iOS App Development provisioning profiles matching '------'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target '--------' from project '--')

XCode -> Preferences -> Accounts로 이동하여

- Download Manual Profiles를 클릭

- Manage Certificates를 눌러 누락된 인증서는 없는지 확인한 후 누락된 인증서에 대하여 apple developer에서 다시 인증서를 발급받도록 한다.

인증서 발급에 대해서는 다음 링크 참조

 

iOS 인증서(Certification)

애플 개발자 프로그램(Apple Developer Program) 등록을 완료했다면, 개발자 인증서(Certification)을 설정하는 방법에 대해 알아봅니다.

dev-yakuza.github.io