2016-07-09 8 views
3

내 앱을 iOS 10으로 포팅 할 때 매우 문제가되는 문제에 대해 반박했습니다. 이미 기존 사본에는 문제없이 재설치했습니다.iOS 10의 기기에 앱이 아직 설치되어 있지 않은 경우 앱이 즉시 중단됩니다.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 

을 간단한 최종 로그 항목과 : [액세스] "<" ">"개인

내가 엑스 코드에서 그것을 삭제하고 설치하려고 할 때 그러나, 응용 프로그램은 매우 자동으로 실행 한 후 곧 추락

AppStore의 게시 된 사본에서 역으로 다운로드하여 Xcode에서 실행하면 앱이 더 이상 중단되지 않습니다. iPad에서 실행하면 장치를 재부팅 할 때까지 창에 붙어있는 현지화를 활성화하는 메시지도 표시됩니다. 앱이 시뮬레이터에서 충돌합니다.

크래시 보고서가 반환되지 않았 으면 어떤 정보가 있고 더 알 수 있습니까?

답변

2

의 당신은 어떤 등을 사용하는 경우 (사용자로부터 허가 취득)

달력 이벤트
위치

PLIST에서 그들을 정의 밖으로 아래와 같이 모든 개인 데이터에 액세스하는 경우 응용 프로그램이 충돌합니다 위의 경우 개인 정보 보호문을 info.plist 파일에 추가해야합니다. = "some Text"

+0

예, 맞습니다. 로그 항목을 검색하여 찾았습니다. 제 경우에는 다음을 놓쳤습니다 : NSCalendarsUsageDescription 및 NSMotionUsageDescription –

2

iOS 10 Privacy - Calendars Usage Description = "some text"

key = Privacy - Calendars Usage Description value는 개인 정보 보호 정책을 계속하고 새로운 개인 정보 보호 규칙을 시행하고 있습니다 : 하나 아래

캘린더에 액세스 할 수 있습니다. 그리고 우리는 다음 프로젝트에서이를 구현해야합니다. 이 도움이

<!-- Photo Library --> 
<key>NSPhotoLibraryUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Camera --> 
<key>NSCameraUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Microphone --> 
<key>NSMicrophoneUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Location --> 
<key>NSLocationUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Location When In Use --> 
<key>NSLocationWhenInUseUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Location Always --> 
<key>NSLocationAlwaysUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Calendars --> 
<key>NSCalendarsUsageDescription</key> 
<string><Your description goes here></string> 

<!-- ⏰ Reminders --> 
<key>NSRemindersUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Motion --> 
<key>NSMotionUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Health Update --> 
<key>NSHealthUpdateUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Health Share --> 
<key>NSHealthShareUsageDescription</key> 
<string><Your description goes here></string> 

<!-- ᛒ Bluetooth Peripheral --> 
<key>NSBluetoothPeripheralUsageDescription</key> 
<string><Your description goes here></string> 

<!-- Media Library --> 
<key>NSAppleMusicUsageDescription</key> 
<string><Your description goes here></string> 

희망 : 문제에 대한

은 아래의 개인 정보 보호 규칙의 나머지는 info.plist

<!-- Calendars --> 
<key>NSCalendarsUsageDescription</key> 
<string><Your description goes here></string> 

에 행 다음에 추가해야합니다. :)