You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Insert dependency flutter_video_compress: ^0.3.7+8 into pubspec.yaml and install packages
flutter packages get
cd ios
pod install
Start debugging with VS Code (F5)
Got error
Error message from debug console
Launching lib/main.dart on iPhone Xʀ in debug mode...
Xcode build done. 2.2s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/hunguyen/Projects/ergon-mobile/ios/Pods/Regift/Regift/Regift.swift:251:45: error: missing argument label 'preferredTimescale:' in call
let time = CMTimeMakeWithSeconds(seconds, Constants.TimeInterval)
^
preferredTimescale:
/Users/hunguyen/Projects/ergon-mobile/ios/Pods/Regift/Regift/Regift.swift:303:46: error: missing argument label 'preferredTimescale:' in call
let tolerance = CMTimeMakeWithSeconds(Constants.Tolerance, Constants.TimeInterval)
^
preferredTimescale:
/Users/hunguyen/Projects/ergon-mobile/ios/Pods/Regift/Regift/AVAssetImageGeneratorTimePoints.swift:12:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func generateCGImagesAsynchronouslyForTimePoints(timePoints: [TimePoint], completionHandler: @escaping AVAssetImageGeneratorCompletionHandler) {
^~~~~~~
Could not build the application for the simulator.
Error launching application on iPhone Xʀ.
Exited (sigterm)
Expected solution
My Flutter app should have built successfully
The text was updated successfully, but these errors were encountered:
Description
My Flutter app built on iOS device with an error.
Platform
IOS
Backtracking step (if has)
flutter_video_compress: ^0.3.7+8
into pubspec.yaml and install packagesError message from debug console
Expected solution
My Flutter app should have built successfully
The text was updated successfully, but these errors were encountered: