Closed trmobile closed 2 years ago
Nothing you posted there alludes to an issue with this plugin. You'll need to take a closer look at the error and resolve whatever issue is there on your end. If it was to do with this plugin then there should be more reports on this. The example app would've failed to build as well yet you can see here that the last build was fine
Hi, Thanks for replying. I have a weird problem, i'm able to run the example project in M1 mac, but it fails in Intel Machine i have tried many ways with solutions provided in online forums but no luck. Could you kindly help me some way to solve this issue? i got it verified in my friends mac(intel) it works, but mine the pod install error always throws.
Regards, Thejas
On Wed, Dec 15, 2021 at 2:00 PM Michael Bui @.***> wrote:
Nothing you posted there alludes to an issue with this plugin. You'll need to take a closer look at the error and resolve whatever issue is there on your end. If it was to do with this plugin then there should be more reports on this. The example app would've failed to build as well yet you can see here https://github.com/MaikuB/flutter_appauth/runs/4297843711 that the last build was fine
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MaikuB/flutter_appauth/issues/270#issuecomment-994490451, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5Y7TWOVWTY4KI4CKU3ASDURBGZNANCNFSM5J5YHJPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi,
The iOS build fails with the following error, on android the build works fine
CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using
ARCHS
setting to build architectures of targetPods-Runner
: (``) Finding Podfile changes A flutter_appauthurl_launcher Fetching external sources -> Fetching podspec for
Flutter
fromFlutter
-> Fetching podspec forconnectivity_plus
from.symlinks/plugins/connectivity_plus/ios
-> Fetching podspec forflutter_appauth
from.symlinks/plugins/flutter_appauth/ios
-> Fetching podspec forflutter_secure_storage
from.symlinks/plugins/flutter_secure_storage/ios
-> Fetching podspec forpath_provider
from.symlinks/plugins/path_provider/ios
-> Fetching podspec forshared_preferences_ios
from.symlinks/plugins/shared_preferences_ios/ios
-> Fetching podspec forurl_launcher
from.symlinks/plugins/url_launcher/ios
Resolving dependencies ofPodfile
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_c_7_9.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/c/7/9/Reachability/3.2/Reachability.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update ――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――Command
Report
Stack
Plugins
Podfile
project 'Runner', { 'Debug' => :debug, 'Profile' => :release, 'Release' => :release, } def flutter_root generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE) unless File.exist?(generated_xcode_build_settings_path) raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" end File.foreach(generated_xcode_build_settings_path) do |line| matches = line.match(/FLUTTER_ROOT\=(.*)/) return matches[1].strip if matches end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" end require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) flutter_ios_podfile_setup target 'Runner' do flutter_install_all_ios_pods File.dirname(File.realpath(FILE)) end post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) end end
LoadError - incompatible library version - /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/ffi-1.15.4/lib/ffi_c.bundle
2 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in'
require' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/ffi-1.15.4/lib/ffi.rb:5:in
rescue in <top (required)>' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/ffi-1.15.4/lib/ffi.rb:2:in<top (required)>' 2 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/ethon-0.14.0/lib/ethon.rb:3:in<top (required)>' 2 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in<top (required)>' 2 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
require' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/cdn_source.rb:440:indownload_typhoeus_impl_async' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/cdn_source.rb:372:in
download_and_save_with_retries_async' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/cdn_source.rb:365:indownload_file_async' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/cdn_source.rb:338:in
download_file' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/cdn_source.rb:284:inensure_versions_file_loaded' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/cdn_source.rb:208:in
search' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/source/aggregate.rb:83:inblock in search' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/source/aggregate.rb:83:in
select' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/source/aggregate.rb:83:insearch' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:416:in
create_set_from_sources' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:385:infind_cached_set' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:360:in
specifications_for_dependency' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:165:insearch_for' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:274:in
block in sort_dependencies' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:267:ineach' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:267:in
sort_by' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:267:insort_by!' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:267:in
sort_dependencies' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:inblock in sort_dependencies' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in
with_no_such_dependency_error_handling' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:insort_dependencies' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:754:in
push_state_for_requirements' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:744:inrequire_nested_dependencies_for' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:727:in
activate_new_spec' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:684:inattempt_to_activate' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in
process_topmost_state' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:inresolve' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in
resolve' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/resolver.rb:94:inresolve' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/installer/analyzer.rb:1078:in
block in resolve_dependencies' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/user_interface.rb:64:insection' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/installer/analyzer.rb:1076:in
resolve_dependencies' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/installer/analyzer.rb:124:inanalyze' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:416:in
analyze' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:241:inblock in resolve_dependencies' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/user_interface.rb:64:in
section' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:240:inresolve_dependencies' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb:161:in
install!' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/command/install.rb:52:inrun' /Users/xxxx/.rvm/rubies/ruby-3.0.2/lib/ruby/gems/3.0.0/gems/claide-1.0.3/lib/claide/command.rb:334:in
run' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:inrun' /Users/xxxx/.rvm/gems/ruby-3.0.2/gems/cocoapods-1.11.2/bin/pod:55:in
<top (required)>' /usr/local/bin/pod:23:inload' /usr/local/bin/pod:23:in