线上监控的方案
1、BlockCanary
从Choregrapher中可以知道,帧的渲染是通过消息发送到主线程执行的。所以通过在计算msg的处理时间就可以判定是否发生卡顿。
Looper.java
public static void loop() {
...
for (;;) {
...
// This must be in a local va
1.问题
错误:Building for iOS Simulator, but the linked and embedded framework '***' was built for iOS + tvOS SimulatorSimulator-x86_64
设置:Build Settings -> Validate Workspace
20201217200220312.pn