Closed ederjavs closed 4 years ago
Same :/
I was facing the same issue and had no luck for couple of days then I tried this one which was posted in another repo's issue and seems working perfect with Xcode 11 & SWIFT 5
File -> New -> File -> Swift File
.
A dialog will be displayed when creating the swift file (You can use any name of file, it'll not be used anywhere). XCode will ask you if you wish to create Bridging Header, click yes.flutter clean
Podfile.lock
and Pods folder and then execute pod install --repo-update
flutter run
Hope it'll help you guys @arutkayb @ederjavs
Helo, the following error appears
Launching lib/main.dart on iPhone Xʀ in debug mode... CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using
ARCHSsetting to build architectures of target
Pods-Runner: (``) Fetching external sources -> Fetching podspec for
Flutterfrom
.symlinks/flutter/ios-> Fetching podspec for
drawerbehaviorfrom
.symlinks/plugins/drawerbehavior/iosResolving dependencies of
Podfile` Comparing resolved specification to the sandbox manifest A Flutter A drawerbehavior Downloading dependencies -> Installing Flutter (1.0.0) -> Installing drawerbehavior (0.0.1)Running pre install hooks [!] Unable to determine Swift version for the following pods:
drawerbehavior
does not specify a Swift version and none of the targets (Runner
) integrating it have theSWIFT_VERSION
attribute set. Please contact the author or set theSWIFT_VERSION
attribute in at least one of the targets that integrate this pod. /usr/local/Cellar/cocoapods/1.7.4/libexec/gems/cocoapods-1.7.4/lib/cocoapods/installer/xcode/target_validator.rb:122:inverify_swift_pods_swift_version' /usr/local/Cellar/cocoapods/1.7.4/libexec/gems/cocoapods-1.7.4/lib/cocoapods/installer/xcode/target_validator.rb:37:in
validate!' /usr/local/Cellar/cocoapods/1.7.4/libexec/gems/cocoapods-1.7.4/lib/cocoapods/installer.rb:578:invalidate_targets' /usr/local/Cellar/cocoapods/1.7.4/libexec/gems/cocoapods-1.7.4/lib/cocoapods/installer.rb:158:in
install!' /usr/local/Cellar/cocoapods/1.7.4/libexec/gems/cocoapods-1.7.4/lib/cocoapods/command/install.rb:51:inrun' /usr/local/Cellar/cocoapods/1.7.4/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in
run' /usr/local/Cellar/cocoapods/1.7.4/libexec/gems/cocoapods-1.7.4/lib/cocoapods/command.rb:52:inrun' /usr/local/Cellar/cocoapods/1.7.4/libexec/gems/cocoapods-1.7.4/bin/pod:55:in
<top (required)>' /usr/local/Cellar/cocoapods/1.7.4/libexec/bin/pod:22:inload' /usr/local/Cellar/cocoapods/1.7.4/libexec/bin/pod:22:in
[!]
<PBXGroup UUID=
97C146E51CF9000F007C117D>
attempted to initialize an object with an unknown UUID.CF3B75C9A7D2FA2A4C99F110
for attribute:children
. This can be the result of a merge and the unknown UUID is being discarded. [!] Automatically assigning platformios
with version8.0
on targetRunner
because no platform was specified. Please specify a platform for this target in your Podfile. Seehttps://guides.cocoapods.org/syntax/podfile.html#platform
. Error running pod install Error launching application on iPhone Xʀ. Exited (sigterm) `