Problem has been solved. For key "kCIInputExtentKey", the value type should be CIVector, not CGRect.
However, still wondering why it works fine in run mode??
Topic:
Programming Languages
SubTopic:
Swift
Tags: