运行Xcode时出现 Lazy loading NSBundle MobileCoreServices.framework和 Loaded MobileCoreServices.framework
運(yùn)行Xcode時(shí)出現(xiàn) Lazy loading NSBundle MobileCoreServices.framework和 Loaded MobileCoreServices.framework
解決方案:
1、打開項(xiàng)目的 Product-->Scheme?-->?Edit Scheme-->?Run-->Arguments-->Environment Variables添加Name為OS_ACTIVITY_MODE 和Value為${DEBUG_ACTIVITY_MODE}
2、擊項(xiàng)目的 PROJECT--> Build Settings-->?點(diǎn)擊 + 添加設(shè)置名為 DEBUG_ACTIVITY_MODE-->?然后在?Debug點(diǎn)擊+選擇"Any iOS Simulator SDK"并且把值設(shè)置 "default"?
如果Lazy loading NSBundle MobileCoreServices.framework還在你看著很別扭,那就刪除Main.storyboard和LaunchScreen.storyboard然后把main(TAGRETS-->General-->Deployment Info-->Main Interface的main)刪掉,因?yàn)檫@兩個(gè)對(duì)我而言沒有什么用就從來沒留過,(?ω?)hiahiahia
總結(jié)
以上是生活随笔為你收集整理的运行Xcode时出现 Lazy loading NSBundle MobileCoreServices.framework和 Loaded MobileCoreServices.framework的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 小程序中textarea点击按钮事件
- 下一篇: iOS之页面布局-踩坑的原由