【问题标题】:Installer warnings about CoreAnimation and NSImage关于 CoreAnimation 和 NSImage 的安装程序警告
【发布时间】:2013-09-05 09:24:30
【问题描述】:

在应用安装期间,我在控制台中收到下一个警告:
Installer[some-integer] CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. Installer[some-integer] *** WARNING: -[NSImage compositeToPoint:operation:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
请指出我们出了什么问题以及如何解决?

【问题讨论】:

    标签: macos cocoa installation


    【解决方案1】:

    Installer[some-integer] CoreAnimation:警告,已删除线程 未提交的 CATransaction;在环境中设置 CA_DEBUG_TRANSACTIONS=1 记录回溯。安装程序[some-integer] *

    您的安装程序正在辅助线程上使用CATransaction。 在主线程上使用CATransaction

    警告:-[NSImage compositeToPoint:operation:] 在 MacOSX 10.8 及更高版本。请使用 -[NSImage drawAtPoint:fromRect:operation:fraction:] 代替。

    您的安装程序正在使用已弃用的 API。 使用[NSImage drawAtPoint:fromRect:operation:fraction:]

    【讨论】:

    • 不,Installer 它是我的应用程序的安装程序。它不是程序本身的一部分。
    • 那么你无法解决这个问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-02
    • 2016-01-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多