We're using anchorage in our app and have something akin to this in our xcconfig:
OTHER_SWIFT_FLAGS = -Xfrontend -warn-long-function-bodies=400 -Xfrontend -warn-long-expression-type-checking=400
We compile Anchorage from source due to needing a static lib and Anchorage code as well as our app are consistently causing warnings.
For Anchorage, it's the performInBatch(closure:) call in func constraints(forAnchors:, firstConstant c1:, secondConstant:, priority:, builder:) (Internal.swift).
In our app, functions that have numerous calls to Anchorage.batch(active:closure:) ini the same function tends to also fail this check.
We're using anchorage in our app and have something akin to this in our xcconfig:
OTHER_SWIFT_FLAGS = -Xfrontend -warn-long-function-bodies=400 -Xfrontend -warn-long-expression-type-checking=400We compile Anchorage from source due to needing a static lib and Anchorage code as well as our app are consistently causing warnings.
For Anchorage, it's the
performInBatch(closure:)call infunc constraints(forAnchors:, firstConstant c1:, secondConstant:, priority:, builder:)(Internal.swift).In our app, functions that have numerous calls to
Anchorage.batch(active:closure:)ini the same function tends to also fail this check.