嗨,当我在xcuitest上运行我的测试时,我的测试将停在同一点,并通过此错误。
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.
之前有人进过这个吗?解决这个问题的最佳方法是什么?
答案 0 :(得分:1)
并添加 LSApplicationQueriesSchemes ,如下所示
<key>LSApplicationQueriesSchemes</key>
<array>
<string>gplus</string>
</array>