1.01 ^ 365 = 37.78

[Unity] 유니티 IOS 앱 등록할때, 겪은 몇가지 오류들 본문

프로그래밍/Unity

[Unity] 유니티 IOS 앱 등록할때, 겪은 몇가지 오류들

Youngchangoon 2017. 2. 17. 17:26

유니티 IOS 개발을 처음 진행하면서 몇가지 겪은 오류들을 정리하기 위한 글입니다.



광고를 탑재할시, NSCalendarsUsageDescription 이슈 해결

광고를 다 붙이고 앱을 심사받던 도중, 거절당하면서 온 메일에 이렇게 적혀있었습니다.

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data.


사용하지도 않은 달력을 허용해 달라는 설명을 적어 달라 왜그런지 살펴보니 광고쪽 sdk를 사용하면서 일어난 문제더군요.

해결방법은 


위의 사진을 보시면 보라색을 밑줄쳐놓은 부분을 추가해주시면 됩니다.


추가하는 방법은 


1.    2.   


Show Raw Keys/Values를 체크해주시고,

Add Row를 하셔서 키값을 추가하면 됩니다.





Code signing is required for product type 'Application' in SDK 'IOS 10.2'


이 오류는 유니티 -> XCode로 변환뒤, XCode에서 Run 할때 일어날 수 있는 오류 입니다.

이 오류가 뜨는것은 프로비저닝 파일을 제대로 설정해주지 않아서 일어나는 오류인데요.

해결방법은 간단합니다.


프로젝트를 눌러 General 부분에 Signing 항목에서 인증하면 됩니다.






Missing Push Notification Entitlement

이건 오류는 아니지만 경고? 같은 메세지라 해결을 안하면 앱을 아이튠즈 커넥트에 보낼때마다 계속 옵니다 ..;;

Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.


위의 내용을 제 머리로 정리하자면,

너의 앱은 왜 애플 푸쉬알림서비스에 등록(?) 되어있으면서 푸쉬알림을 켜놨어?  

-> 이건 고의적인 행동이야 

-> 그러니까 푸쉬알림 켜라


라고 저는 해석했습니다. ㅎㅎ


해결방법은 간단합니다, 현재 사용하고 있는 AppID의 Push Notification이 꺼져있어서 저 경고문이 오는겁니다.

AppID의 Push Notification을 켜주시면 됩니다.



이 외의 추가로 오류가 나는데로 업데이트 하겠습니다.