bug 调试记录 以及常见问题解决

 1、[DYMTLInitPlatform] platform initialization successful
 App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
SecooDistributionSeller was compiled with optimization - stepping may behave oddly; variables may not be available.
 SecooDistributionSeller[38616:5325199] Metal GPU Frame Capture Enabled
 SecooDistributionSeller[38616:5325199] Metal API Validation Enabled
这个问题是必须切换到debug 版本,只有dubug才能调试,realease版本不能打印。(nslog)

2、模拟器上面不跑

可以点击模拟器----reset  content 进行设置

 

3、Xcode7中 directory not found for option 'xxxx' 

通过搜索library search paths解决

4、 [self.tableviewreloadSections:[NSIndexSetindexSetWithIndex:1] withRowAnimation:UITableViewRowAnimationNone];

reason: 'attempt to delete section 1, but there are only 1 sections before the update'

可以在此之前reload ,因为刷新之前要删除,本来就没有,你更新个毛线

5、

cocoapods diff: /../Podfile.lock: No such file or directory

在工程设置中的Build Phases下删除Check Pods Manifest.lock及Copy Pods Resources

https://www.jianshu.com/p/552f21a989ba

这个方案还是太复杂,可以找到一个更简单的方案

6、xcode 写代码突然不能用检索了

 

1、客户端项目突然不能使用检索方法了

解决方法:

Code completion 自动补全

 

I am using Xcode Version 8.2.1 (8C1002).

  1. Go to Xcode > Preferences > Text Editing
  2. Under Code completion - Uncheck 'Suggest completions while typing'
  3. Quit out of Xcode and then relaunch Xcode.
  4. Go to Xcode > Preferences > Text Editing again
  5. Quit out of Xcode and then relaunch Xcode.
  6. Now go to Code completion and check 'Suggest completions while typing'.
  7. Try typing library function or enum and enjoy!

At least, it worked for me.

这个方面我有效

7、微信的demo配置了证书,跑不动,怎么解决

解决方法:我配置为公司的证书后,问题还在的,然后是解决路径:

building setting -- 搜索62a1937d*****后,删除这些配置,问题就好了。

8、

https://blog.csdn.net/dt1991524/article/details/85339816

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值