我已经开发了这个应用程序一段时间了,当我在手机上运行它时,它可以正常运行,但是当我尝试在计算机上的模拟器上运行它时,由于以下错误而崩溃:
2018-09-23 15:56:36.980194-0400 pop up[18023:8201989] Could not successfully update network info during initialization.
2018-09-23 15:56:43.753752-0400 pop up[18023:8201437] [Error] _authenticateUsingAlert:Faied to authenticate player with existing credentials.Error: Error Domain=GKErrorDomain Code=6 "The requested operation could not be completed because local player has not been authenticated." UserInfo={NSLocalizedDescription=The requested operation could not be completed because local player has not been authenticated.}
2018-09-23 15:56:43.771812-0400 pop up[18023:8201437] [Error] startAuthenticationForExistingPrimaryPlayer:Failed to Authenticate player.Error: Error Domain=GKErrorDomain Code=3 "The requested operation could not be completed due to an error communicating with the server." UserInfo={NSLocalizedDescription=The requested operation could not be completed due to an error communicating with the server.}
2018-09-23 15:56:44.385450-0400 pop up[18023:8202147] WF: === Starting WebFilter logging for process pop up
2018-09-23 15:56:44.385737-0400 pop up[18023:8202147] WF: _userSettingsForUser : (null)
2018-09-23 15:56:44.386712-0400 pop up[18023:8202147] WF: _WebFilterIsActive returning: NO
2018-09-23 15:56:46.458379-0400 pop up[18023:8202126] <Google:HTML> You are currently using version 7.31.0 of the SDK. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. The latest SDK can be downloaded from.
2018-09-23 15:56:47.232186-0400 pop up[18023:8202342] <Google> Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.
2018-09-23 15:56:48.105681-0400 pop up[18023:8201437] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present modal view controller on itself. Presenting controller is <GKHostedAuthenticateViewController: 0x7fc200f16700>.'
*** First throw call stack:
(
0 CoreFoundation 0x00000001066c61e6 __exceptionPreprocess + 294
1 libobjc.A.dylib 0x0000000105d5b031 objc_exception_throw + 48
2 UIKit 0x000000010769fa95 __78-[UIViewController _presentViewController:withAnimationController:completion:]_block_invoke + 0
3 CoreFoundation 0x0000000106649ccc __invoking___ + 140
4 CoreFoundation 0x0000000106649b84 -[NSInvocation invoke] + 308
5 UIKit 0x000000010767f774 -[_UIDelayedPresentationContext finishDelayedPresentation:] + 230
6 UIKit 0x000000010769b05a -[UIViewController _endDelayingPresentation] + 93
7 libdispatch.dylib 0x000000010bd587ab _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x000000010bd597ec _dispatch_client_callout + 8
9 libdispatch.dylib 0x000000010bd648cf _dispatch_main_queue_callback_4CF + 628
10 CoreFoundation 0x0000000106688c99 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
11 CoreFoundation 0x000000010664cea6 __CFRunLoopRun + 2342
12 CoreFoundation 0x000000010664c30b CFRunLoopRunSpecific + 635
13 GraphicsServices 0x000000010b1b7a73 GSEventRunModal + 62
14 UIKit 0x00000001074e8057 UIApplicationMain + 159
15 pop up 0x000000010074bac7 main + 55
16 libdyld.dylib 0x000000010bdd6955 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
它用线程1标记我的AppDelegate类:信号SIGABRT错误。我试图将我的应用提交到应用商店,但遭到拒绝,因为“当在连接到IPv6网络的Wi-Fi上运行iOS 11.4.1的iPhone上进行审查时,我们发现了您应用中的一个或多个错误。”我从网上获取的唯一信息是有关Google AdMob的广告以及将我的应用程序连接到Game Center的信息。在此先感谢您的帮助!