运行环境
XCode 11.3
模拟器 iOS13
现象:
下载了https://ask.dcloud.net.cn/article/103里的iOS SDK,2020年2月26日发布,里面有一个Hbuilder-Hello工程,打开直接运行,第一次是可以正常展示页面,但是第二次XCode的控制台就报了一些信息,而且模拟器一直停留在初始化的页面,进不去主页面了。
其他的HBuilder-uniPluginDemo工程也是一样,因为我要做插件,不把这个问题解决了,插件都没法做。
控制台信息:
objc[54282]: Class MPRequest is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MediaPlayer.framework/MediaPlayer (0x7fff87df3d68) and /Users/lijiabin/Library/Developer/CoreSimulator/Devices/6D04594F-325D-45D5-B2E9-9F16CB8862AF/data/Containers/Bundle/Application/57465575-9CCB-4B06-912A-A263A4894CC9/HBuilder.app/HBuilder (0x1096d4ca8). One of the two will be used. Which one is undefined.
2020-03-09 13:52:35.618042+0800 HBuilder[54282:3825611] ######===>>>>New Device Model:[x86_64]
2020-03-09 13:52:35.623502+0800 HBuilder[54282:3825611] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2020-03-09 13:52:35.623542+0800 HBuilder[54282:3825674] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2020-03-09 13:52:35.623737+0800 HBuilder[54282:3825674] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2020-03-09 13:52:35.624454+0800 HBuilder[54282:3825674] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2020-03-09 13:52:35.624655+0800 HBuilder[54282:3825611] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2020-03-09 13:52:35.625403+0800 HBuilder[54282:3825611] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connect2020-03-09 13:52:35.625627+0800 HBuilder[54282:3825674] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
ion to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2020-03-09 13:52:35.634572+0800 HBuilder[54282:3825683] <Weex>[error]WXURLRewriteDefaultImpl.m:39, Invalid local resource URL:local://unincomponents.ttf, no resouce found.
2020-03-09 13:52:35.670366+0800 HBuilder[54282:3825611] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/lijiabin/Library/Developer/CoreSimulator/Devices/6D04594F-325D-45D5-B2E9-9F16CB8862AF/data/Containers/Data/Application/06EB458C-5699-40C3-AFC5-B5ECB0266CC6/Library/Cookies/io.dcloud.HBuilder.binarycookies
界面就一直卡在这里了: