Closed VictorUvarov closed 5 years ago
My Swift version is 5.0.1. I performed the same operation and did not encounter this problem.
git clone https://github.com/rurico/flutter_video_compress.git testPlugin
cd testPlugin
flutter packages get
flutter emulators --launch Apple
flutter run
Launching lib/main.dart on iPhone Xʀ in debug mode...
Running pod install... 4.0s
Running Xcode build...
├─Assembling Flutter resources... 3.0s
└─Compiling, linking and signing... 21.6s
Xcode build done. 49.3s
Syncing files to device iPhone Xʀ...
2,548ms (!)
🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state),
press "R".
Environment
Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5)
Target: x86_64-apple-darwin18.5.0
CocoaPods version 1.7.3
Flutter version 1.5.4-hotfix.2
Maybe you need to cd the example/ios
folder and run pod update
.
I tried to cd into example/ios
and running pod update
. I also tried opening Runner.xcworkspace/
and changing the swift version to 4.0
and 4.2
. The same error occurs. Any other advice?
Would you mind posting pod install --verbose
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using ARCHS
setting to build architectures of target Pods-Runner
: (``)
Finding Podfile changes
Fetching external sources
-> Fetching podspec for Flutter
from .symlinks/flutter/ios
-> Fetching podspec for flutter_video_compress
from .symlinks/plugins/flutter_video_compress/ios
-> Fetching podspec for image_picker
from .symlinks/plugins/image_picker/ios
-> Fetching podspec for video_player
from .symlinks/plugins/video_player/ios
Resolving dependencies of Podfile
Comparing resolved specification to the sandbox manifest
Downloading dependencies
-> Using Flutter (1.0.0)
-> Using Regift (1.5.0)
-> Using flutter_video_compress (0.3.0)
-> Using image_picker (0.0.1)
-> Using video_player (0.0.1)
Generating Pods project
Flutter
iOS 8.0Regift
iOS 8.0
Pods/Target Support Files/Regift/Regift.modulemap
Pods/Target Support Files/Regift/Regift-umbrella.h
Pods/Target Support Files/Regift/Regift-Info.plist
Pods/Target Support Files/Regift/Regift-dummy.m
flutter_video_compress
iOS 8.0
Pods/Target Support Files/flutter_video_compress/flutter_video_compress.modulemap
Pods/Target Support Files/flutter_video_compress/flutter_video_compress-umbrella.h
Pods/Target Support Files/flutter_video_compress/flutter_video_compress-Info.plist
Pods/Target Support Files/flutter_video_compress/flutter_video_compress-dummy.m
image_picker
iOS 8.0
Pods/Target Support Files/image_picker/image_picker.modulemap
Pods/Target Support Files/image_picker/image_picker-umbrella.h
Pods/Target Support Files/image_picker/image_picker-Info.plist
Pods/Target Support Files/image_picker/image_picker-dummy.m
video_player
iOS 8.0
Pods/Target Support Files/video_player/video_player.modulemap
Pods/Target Support Files/video_player/video_player-umbrella.h
Pods/Target Support Files/video_player/video_player-Info.plist
Pods/Target Support Files/video_player/video_player-dummy.m
Pods-Runner
iOS 8.0
Pods/Target Support Files/Pods-Runner/Pods-Runner-Info.plist
Pods/Target Support Files/Pods-Runner/Pods-Runner.modulemap
Pods/Target Support Files/Pods-Runner/Pods-Runner-umbrella.h
Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m
Pods/Pods.xcodeproj
Cleaning up sandbox directoryPodfile.lock
Pods/Manifest.lock
Integrating client project
Integrating target Pods-Runner
(Runner.xcodeproj
project)
/Library/Ruby/Gems/2.3.0/gems/cocoapods-stats-1.1.0/lib/cocoapods_plugin.rb
-> Pod installation complete! There are 5 dependencies from the Podfile and 5 total pods installed.
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Runner
to Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig
or include the Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig
in your build configuration (Flutter/Release.xcconfig
).
I updated Xcode to use Swift 5.0 on another computer and it builds. But crashes after it starts compressing.
I want to know which platform has crashed. Will help me to locate the problem.
I really want to help you, but you haven't provided me with enough information.
iOS is the platform that crashed. What additional information do you require?
I fixed the issue by updating Xcode to the newest version.
I'm getting the error
↳
fatal error: module map file '/Users/lifenautjoe/Documents/code/okuna/okuna-app/build/ios/Debug-iphoneos/Regift/Regift.modulemap' not found
fatal error: module map file '/Users/lifenautjoe/Documents/code/okuna/okuna-app/build/ios/Debug-iphoneos/Regift/Regift.modulemap' not found
1 error generated.
2 errors generated.
Description
My Swift version:
Unable to run the example. The error says:
Platform
iOS
Backtracking step
Expected solution
Does the plugin support swift 4.2?