2016-09-22 5 views
0

iOS 9 SDK에서 google-plus-ios-sdk-1.7.1을 테스트하는 동안 GPOSignIn.sharedInstance()를 호출하면 내부 Google 로그인 SDK 호출이 중단되어 canOpenURLIOS swift Google Plus로 로그인

2016-09-22 14:12:56.135 MCN[305:49025] -canOpenURL: failed for URL: "com.google.gppconsent.2.4.1://" - error: "This app is not allowed to query for scheme com.google.gppconsent.2.4.1" 
2016-09-22 14:12:56.137 MCN[305:49025] -canOpenURL: failed for URL: "com.google.gppconsent.2.4.0://" - error: "This app is not allowed to query for scheme com.google.gppconsent.2.4.0" 
2016-09-22 14:12:56.139 MCN[305:49025] -canOpenURL: failed for URL: "com.google.gppconsent.2.3.0://" - error: "This app is not allowed to query for scheme com.google.gppconsent.2.3.0" 
2016-09-22 14:12:56.140 MCN[305:49025] -canOpenURL: failed for URL: "com.google.gppconsent.2.2.0://" - error: "This app is not allowed to query for scheme com.google.gppconsent.2.2.0" 
2016-09-22 14:12:56.141 MCN[305:49025] -canOpenURL: failed for URL: "com.google.gppconsent://" - error: "This app is not allowed to query for scheme com.google.gppconsent" 
2016-09-22 14:12:56.143 MCN[305:49025] -canOpenURL: failed for URL: "hasgplus4://" - error: "This app is not allowed to query for scheme hasgplus4" 

<key>LSApplicationQueriesSchemes</key> 
<array> 
    <string>com.example.foo</string> 
    <string>com.googleusercontent.apps.1234567890-abcdefghijklmnopqrstuvwxyz</string> 
    <string>com-google-gidconsent-google</string> 
    <string>com-google-gidconsent-youtube</string> 
    <string>com-google-gidconsent</string> 
    <string>com.google.gppconsent.2.4.1</string> 
    <string>com.google.gppconsent.2.4.0</string> 
    <string>googlechrome</string> 
    <string>googlechrome-x-callback</string> 
</array> 

2016-09-22 14:20:01.169 MCN[309:50443] -canOpenURL: failed for URL: "com.google.gppconsent.2.4.1://" - error: "(null)" 
2016-09-22 14:20:01.171 MCN[309:50443] -canOpenURL: failed for URL: "com.google.gppconsent.2.4.0://" - error: "(null)" 
2016-09-22 14:20:01.173 MCN[309:50443] -canOpenURL: failed for URL: "com.google.gppconsent.2.3.0://" - error: "This app is not allowed to query for scheme com.google.gppconsent.2.3.0" 
2016-09-22 14:20:01.175 MCN[309:50443] -canOpenURL: failed for URL: "com.google.gppconsent.2.2.0://" - error: "This app is not allowed to query for scheme com.google.gppconsent.2.2.0" 
2016-09-22 14:20:01.177 MCN[309:50443] -canOpenURL: failed for URL: "com.google.gppconsent://" - error: "This app is not allowed to query for scheme com.google.gppconsent" 

답변

0

내가 아래 하시다 될 수있다 생각 충돌 다른 받기 구성표를 추가 너를위한 rk.

<key>LSApplicationQueriesSchemes</key> 
    <array> 
     <string>com-google-gidconsent-google</string> 
     <string>com-google-gidconsent-youtube</string> 
     <string>com-google-gidconsent</string> 
     <string>com.google.gppconsent.2.4.1</string> 
     <string>com.google.gppconsent.2.4.0</string> 
     <string>googlechrome</string> 
     <string>googlechrome-x-callback</string> 
     <string>hasgplus4</string> 
     <string>com.google.gppconsent.2.3.0</string> 
     <string>com.google.gppconsent.2.2.0</string> 
     <string>com.google.gppconsent</string> 
    </array> 
+0

하지만 이 예외 canOpenURL을 반환 사용되는 : URL에 실패했습니다 : "com.google.gppconsent.2.4.1을 : //"- 오류 : "(널)" 2016년 9월 22일 (15) : 08 : 26.937 MCN [3954 : 1314690] -canOpenURL : URL에 실패 : "com.google.gppconsent.2.4.0 : //"- 오류 : "(null)" 2016-09-22 15 : 08 : 26.941 MCN [3954 : 1314690] -canOpenURL : URL에 실패 : "com.google.gppconsent.2.3.0 : //"- 오류 : "(null)" –