Hello guys this is my first time trying to publish an App on iOS. I am using Xcode version 13.0 beta
I am getting this Semantic Issue error while archiving and building the App on Xcode
.
if (@available(iOS 15.0, tvOS 15.0, *)) _displayLink.preferredFrameRateRange = CAFrameRateRangeMake(targetFPS, targetFPS, targetFPS);
You can check the image.
Its been days I am trying to solve this error. Please help.
To properly set the
var preferredFrameRateRange: CAFrameRateRangeproperty you can simply use this initializerinit(minimum: Float, maximum: Float, preferred: Float?). Here is a usage example:As the official documentation states
So in your case you can simply do this: