2017-02-28 1 views
0

XCUITestが失敗しました。xcuitestでテストを実行しているときに、テストが同じポイントでこのエラーによって停止します。URL: "gplus://" - エラー:

2017-02-28 11:15:16.501 VoucherCodes[60897:11082496] -canOpenURL: failed for URL: "gplus://" - error: "This app is not allowed to query for scheme gplus"

Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x116c84998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x116aa6880). One of the two will be used. Which one is undefined.

は、誰もが前にこのようになってきましたか?これを解決する最良の方法は何ですか?あなたののInfo.plist

+0

以下のようにLSApplicationQueriesSchemesを追加し、あなたの.plist –

+0

で 'LSApplicationQueriesSchemes'は、私が持っていない追加された - 何それは私のplistの中のようになりますか? –

答えて

1

<key>LSApplicationQueriesSchemes</key> 
<array> 
    <string>gplus</string> 
</array>