Open mushthak opened 4 years ago
Please merge this. Same thing happening for me too.
Same issue occurred with me too.
@RanaHossam , just to fix this temporarily, you can use @mushthak 's commit in your podfile. Here is how to add the commit in your Pod file.
pod 'CountdownLabel', :git => 'https://github.com/mushthak/CountdownLabel.git', :commit => '800205db7400624568be2711986bda7a66fdfde1'
@RanaHossam , just to fix this temporarily, you can use @mushthak 's commit in your podfile.
Here is how to add the commit in your Pod file.
pod 'CountdownLabel', :git => 'https://github.com/mushthak/CountdownLabel.git', :commit => '800205db7400624568be2711986bda7a66fdfde1'
This is an amazing tip in general
@RanaHossam , just to fix this temporarily, you can use @mushthak 's commit in your podfile. Here is how to add the commit in your Pod file.
pod 'CountdownLabel', :git => 'https://github.com/mushthak/CountdownLabel.git', :commit => '800205db7400624568be2711986bda7a66fdfde1'
I'm getting this error now. I'm using Xcode 12.2.
@RanaHossam , just to fix this temporarily, you can use @mushthak 's commit in your podfile. Here is how to add the commit in your Pod file.
pod 'CountdownLabel', :git => 'https://github.com/mushthak/CountdownLabel.git', :commit => '800205db7400624568be2711986bda7a66fdfde1'
I use Xcode 12.5, it not working.
Hey @hungHatto. The LTEasing.swift file from the LTMorphingLabel is up to date and can be used.
https://github.com/lexrus/LTMorphingLabel/blob/master/LTMorphingLabel/LTEasing.swift
public static func easeOutQuint(_ t: Float, _ b: Float, _ c: Float, _ d: Float = 1.0) -> Float { return { (f: Float) in return c * (pow(f, 5) + 1.0) + b }(t / d - 1.0) }
@TorbenI Great idea to use pow
function.
@suzuki-0000 I have updated both the functions in LTEasing.swift
file which causes the error and added a PR (https://github.com/suzuki-0000/CountdownLabel/pull/59/files).
For a temporary fix till the PR is merged, you guys can use the commit
pod 'CountdownLabel', :git => 'https://github.com/iranjith4/CountdownLabel.git', :commit => '5da1ccb7da5b493821f8217dd07d0191145b0b83'
Hi, @iranjith4 I just install yours
pod 'CountdownLabel', :git => 'https://github.com/iranjith4/CountdownLabel.git', :commit => '5da1ccb7da5b493821f8217dd07d0191145b0b83'
but, why the time start from 01:12:00:00 + ⍺ and stop at 01:12:00:00??
@kimxwan0319 My commit have the latest code from the repo. May be some updates in the library causing the issues ?
@iranjith4 isn't '5da1ccb7da5b493821f8217dd07d0191145b0b83' your latest commit? I use that from the beginning and I have the problem
@kimxwan0319 The latest commit of mine includes the latest pushes from Library. So for you, it may be breaking because of recent changes in the library itself. I would suggest you to change your code based on the changes in the library.
Hi, @iranjith4 I just install yours
pod 'CountdownLabel', :git => 'https://github.com/iranjith4/CountdownLabel.git', :commit => '5da1ccb7da5b493821f8217dd07d0191145b0b83'
but, why the time start from 01:12:00:00 + ⍺ and stop at 01:12:00:00??
Same issue for me too
@Elamuruga May be because of changes in the library itself?
The latest commit of mine includes the latest pushes from Library. So for you, it may be breaking because of recent changes in the library itself. I would suggest you to change your code based on the changes in the library.
@mushthak @RanaHossam @iranjith4 just to fix this temporarily, you can use commit in your podfile. Here is how to add the commit in your Pod file
pod 'CountdownLabel', :git => 'https://github.com/linkstreet/CountdownLabel.git'
Issue
This issue is getting after Xcode 12 update.
The issue is caused by the expression which needed to be break down into sub-expressions
Using release version : 4.0.1
Buid settings:
Proposed solution:
Replacing expression:
return c * $0 * $0 * $0 * $0 * $0 + b
with
return c * ($0 * $0 * $0 * $0 * $0) + b