firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.66k stars 3.96k forks source link

πŸ› [firebase_dynamic_links] Error (Xcode): Framework not found uni_links #9834

Closed Abdullah104 closed 1 year ago

Abdullah104 commented 1 year ago

Bug report

Describe the bug Adding the package to a project causes the error Error (Xcode): Framework not found uni_links to appear

Steps to reproduce

  1. add the firebase_dynamic_links plugin version 5.0.3
  2. try to run the app on an IOS simulator

Expected behavior

The app runs

Additional context

Adding the uni_links dependency directly in the project's pubspec.yaml file fixes the problem. But not adding it seems to cause the project to not recognize the dependency from the plugin and throw the mentioned error


Flutter doctor

Click To Expand ``` Doctor summary (to see all details, run flutter doctor -v): [βœ“] Flutter (Channel stable, 3.3.5, on macOS 13.0 22A380 darwin-arm (Rosetta), locale en-SA) [βœ“] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [βœ“] Xcode - develop for iOS and macOS (Xcode 14.0.1) [βœ“] Android Studio (version 2021.3) [βœ“] Android Studio (version 2021.3) [βœ“] IntelliJ IDEA Community Edition (version 2022.2.3) [βœ“] VS Code (version 1.72.2) [βœ“] Connected device (1 available) [βœ“] HTTP Host Availability β€’ No issues found! ```

Flutter dependencies

Click To Expand ``` Dart SDK 2.18.2 Flutter SDK 3.3.5 project_name 1.0.0+1 dependencies: - cached_network_image 3.2.2 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web] - carousel_slider 4.1.1 [flutter] - connectycube_flutter_call_kit 2.2.1 [flutter universal_io] - connectycube_sdk 2.2.3 [flutter http http_parser crypto uuid intl mime xmpp_stone platform_device_id objectid path flutter_webrtc webrtc_interface web_socket_channel collection universal_io] - dartz 0.10.1 - firebase_analytics 10.0.3 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter] - firebase_auth 4.1.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - firebase_core 2.1.1 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 3.0.3 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_dynamic_links 5.0.3 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface] - firebase_messaging 14.0.3 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - firebase_remote_config 3.0.3 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter] - flex_color_scheme 6.0.1 [flex_seed_scheme flutter meta] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine] - flutter_background 1.1.0 [flutter] - flutter_bloc 8.1.1 [flutter bloc provider] - flutter_credit_card 3.0.4 [flutter] - flutter_form_bloc 0.30.1 [flutter flutter_bloc form_bloc equatable rxdart flutter_keyboard_visibility collection intl] - flutter_local_notifications 12.0.3 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone] - flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math] - flutter_masked_text2 0.9.1 [flutter] - flutter_riverpod 2.1.1 [collection flutter meta riverpod state_notifier] - flutter_sound 9.2.13 [path_provider recase uuid provider path synchronized logger flutter flutter_sound_platform_interface flutter_sound_web] - freezed_annotation 2.2.0 [collection json_annotation meta] - get_it 7.2.0 [async collection] - go_router 5.1.1 [collection flutter flutter_web_plugins logging meta] - injectable 1.5.3 [get_it] - intl 0.17.0 [clock path] - json_annotation 4.7.0 [meta] - otp_autofill 2.1.0 [flutter] - package_info_plus 3.0.1 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface win32] - paged_vertical_calendar 1.1.5 [flutter infinite_scroll_pagination] - path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows] - permission_handler 10.2.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_windows permission_handler_platform_interface] - phone_number 1.0.0 [flutter meta] - pinput 2.2.16 [flutter smart_auth] - platform_device_id 1.0.1 [flutter platform_device_id_platform_interface platform_device_id_macos platform_device_id_linux platform_device_id_web platform_device_id_windows device_info] - share_plus 6.2.0 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi win32] - shared_preferences 2.0.15 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows] - supabase_flutter 1.0.1 [app_links flutter hive hive_flutter http supabase url_launcher] - universal_io 2.0.4 [collection crypto meta typed_data] dev dependencies: - build_runner 2.3.2 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml] - flutter_lints 2.0.1 [lints] - flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph] - freezed 2.2.0 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation] - injectable_generator 1.5.4 [build source_gen path glob analyzer code_builder dart_style injectable collection] - json_serializable 6.5.4 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper] transitive dependencies: - _fe_analyzer_shared 47.0.0 [meta] - _flutterfire_internals 1.0.6 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - analyzer 4.7.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml] - app_links 3.3.0 [flutter app_links_platform_interface app_links_web app_links_windows app_links_macos] - app_links_macos 1.0.0 [flutter app_links_platform_interface] - app_links_platform_interface 1.0.2 [flutter plugin_platform_interface] - app_links_web 1.0.0 [flutter flutter_web_plugins app_links_platform_interface] - app_links_windows 1.0.1 [flutter app_links_platform_interface] - archive 3.3.2 [crypto path] - args 2.3.1 - async 2.9.0 [collection meta] - bloc 8.1.0 [meta] - boolean_selector 2.1.0 [source_span string_scanner] - build 2.3.1 [analyzer async convert crypto glob logging meta path] - build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml] - build_daemon 3.1.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel] - build_resolvers 2.0.10 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml] - build_runner_core 7.2.7 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml] - built_collection 5.1.1 - built_value 8.4.2 [built_collection collection fixnum meta] - cached_network_image_platform_interface 2.0.0 [flutter flutter_cache_manager] - cached_network_image_web 1.0.2 [flutter flutter_cache_manager cached_network_image_platform_interface] - characters 1.2.1 - checked_yaml 2.0.1 [json_annotation source_span yaml] - clock 1.1.1 - cloud_firestore_platform_interface 5.8.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 3.0.3 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 4.3.0 [built_collection built_value collection matcher meta] - collection 1.16.0 - console 4.1.0 [vector_math] - convert 3.1.1 [typed_data] - cross_file 0.3.3+2 [js meta] - crypto 3.0.2 [typed_data] - cryptoutils 0.5.0 [collection] - dart_style 2.2.4 [analyzer args path pub_semver source_span] - dart_webrtc 1.0.8 [webrtc_interface] - dbus 0.7.8 [args ffi meta xml] - device_info 2.0.3 [flutter device_info_platform_interface] - device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface] - equatable 2.0.5 [collection meta] - fake_async 1.3.1 [clock collection] - ffi 2.0.1 - file 6.1.4 [meta path] - firebase_analytics_platform_interface 3.3.11 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_analytics_web 0.5.1+2 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - firebase_auth_platform_interface 6.11.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_auth_web 5.1.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta] - firebase_core_platform_interface 4.5.2 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.0.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.3.4 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_dynamic_links_platform_interface 0.2.3+19 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_platform_interface 4.2.4 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 3.2.4 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - firebase_remote_config_platform_interface 1.1.23 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_remote_config_web 1.1.12 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins js] - fixnum 1.0.1 - flex_seed_scheme 1.0.1 [flutter material_color_utilities meta] - flutter_blurhash 0.7.0 [flutter] - flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid] - flutter_keyboard_visibility 5.4.0 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter] - flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface] - flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter] - flutter_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_local_notifications_linux 2.0.0 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories] - flutter_local_notifications_platform_interface 6.0.0 [flutter plugin_platform_interface] - flutter_sound_platform_interface 9.2.13 [flutter meta plugin_platform_interface logger] - flutter_sound_web 9.2.13 [flutter_sound_platform_interface flutter logger flutter_web_plugins meta js] - flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math] - flutter_webrtc 0.9.7 [dart_webrtc flutter path_provider webrtc_interface] - form_bloc 0.30.0 [meta bloc rxdart equatable collection uuid] - frontend_server_client 3.1.0 [async path] - functions_client 1.0.0 [http] - glob 2.1.0 [async collection file path string_scanner] - gotrue 1.1.0 [http jwt_decode universal_io] - graphs 2.2.0 [collection] - hive 2.2.3 [meta crypto] - hive_flutter 1.1.0 [flutter hive path_provider path] - http 0.13.5 [async http_parser meta path] - http_multi_server 3.2.1 [async] - http_parser 4.0.2 [collection source_span string_scanner typed_data] - image 3.2.2 [archive meta xml] - infinite_scroll_pagination 3.2.0 [flutter sliver_tools] - io 1.0.3 [meta path string_scanner] - js 0.6.4 - jwt_decode 0.3.1 - lints 2.0.1 - logger 1.1.0 - logging 1.1.0 - matcher 0.12.12 [stack_trace] - material_color_utilities 0.1.5 - meta 1.8.0 - mime 1.0.2 - nested 1.0.0 [flutter] - objectid 2.1.0 - octo_image 1.0.2 [flutter flutter_blurhash] - package_config 2.1.0 [path] - package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface] - path 1.8.2 - path_provider_android 2.0.21 [flutter path_provider_platform_interface] - path_provider_ios 2.0.11 [flutter path_provider_platform_interface] - path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_macos 2.0.6 [flutter path_provider_platform_interface] - path_provider_platform_interface 2.0.5 [flutter platform plugin_platform_interface] - path_provider_windows 2.1.3 [ffi flutter path path_provider_platform_interface win32] - pedantic 1.11.1 - permission_handler_android 10.2.0 [flutter permission_handler_platform_interface] - permission_handler_apple 9.0.7 [flutter permission_handler_platform_interface] - permission_handler_platform_interface 3.9.0 [flutter meta plugin_platform_interface] - permission_handler_windows 0.1.2 [flutter permission_handler_platform_interface] - petitparser 5.1.0 [meta] - platform 3.1.0 - platform_device_id_linux 1.0.0 [flutter] - platform_device_id_macos 1.0.0 [flutter] - platform_device_id_platform_interface 1.0.0 [flutter plugin_platform_interface] - platform_device_id_web 1.0.0 [flutter flutter_web_plugins platform_device_id_platform_interface] - platform_device_id_windows 1.0.0 [flutter] - plugin_platform_interface 2.1.3 [meta] - pool 1.5.1 [async stack_trace] - postgrest 1.0.1 [http] - process 4.2.4 [file path platform] - provider 6.0.4 [collection flutter nested] - pub_semver 2.1.2 [collection meta] - pubspec_parse 1.2.1 [checked_yaml collection json_annotation pub_semver yaml] - quiver 3.1.0 [matcher] - realtime_client 1.0.0 [collection web_socket_channel] - recase 4.1.0 - riverpod 2.1.1 [collection meta stack_trace state_notifier] - rxdart 0.27.5 - share_plus_platform_interface 3.2.0 [cross_file flutter meta mime plugin_platform_interface path_provider uuid] - shared_preferences_android 2.0.14 [flutter shared_preferences_platform_interface] - shared_preferences_ios 2.1.1 [flutter shared_preferences_platform_interface] - shared_preferences_linux 2.1.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface] - shared_preferences_macos 2.0.4 [flutter shared_preferences_platform_interface] - shared_preferences_platform_interface 2.1.0 [flutter plugin_platform_interface] - shared_preferences_web 2.0.4 [flutter flutter_web_plugins shared_preferences_platform_interface] - shared_preferences_windows 2.1.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface] - shelf 1.4.0 [async collection http_parser path stack_trace stream_channel] - shelf_web_socket 1.0.2 [shelf stream_channel web_socket_channel] - sky_engine 0.0.99 - sliver_tools 0.2.8 [flutter] - smart_auth 1.0.6 [flutter flutter_web_plugins] - source_gen 1.2.6 [analyzer async build dart_style glob meta path source_span yaml] - source_helper 1.3.3 [analyzer collection source_gen] - source_span 1.9.0 [collection path term_glyph] - sqflite 2.2.0+2 [flutter sqflite_common path] - sqflite_common 2.4.0+2 [synchronized path meta] - stack_trace 1.10.0 [path] - state_notifier 0.7.2+1 [meta] - storage_client 1.0.0 [http http_parser mime universal_io] - stream_channel 2.1.0 [async] - stream_transform 2.0.1 - string_scanner 1.1.1 [source_span] - supabase 1.0.1 [functions_client gotrue http postgrest realtime_client storage_client] - synchronized 3.0.0+3 - term_glyph 1.2.1 - test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher] - timezone 0.9.0 [path] - timing 1.0.0 [json_annotation] - tuple 2.0.1 - typed_data 1.3.1 [collection] - unorm_dart 0.2.0 - url_launcher 6.1.6 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] - url_launcher_android 6.0.21 [flutter url_launcher_platform_interface] - url_launcher_ios 6.0.17 [flutter url_launcher_platform_interface] - url_launcher_linux 3.0.1 [flutter url_launcher_platform_interface] - url_launcher_macos 3.0.1 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.1.1 [flutter plugin_platform_interface] - url_launcher_web 2.0.13 [flutter flutter_web_plugins url_launcher_platform_interface] - url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface] - uuid 3.0.6 [crypto] - vector_math 2.1.2 - watcher 1.0.2 [async path] - web_socket_channel 2.2.0 [async crypto stream_channel] - webrtc_interface 1.0.8 - win32 3.0.1 [ffi] - xdg_directories 0.2.0+2 [meta path process] - xml 6.1.0 [collection meta petitparser] - xmpp_stone 0.4.4-dev.1 [xml cryptoutils crypto synchronized tuple unorm_dart image quiver console intl collection universal_io web_socket_channel] - yaml 3.1.1 [collection source_span string_scanner] ```

thisisyusub commented 1 year ago

@Abdullah104 , Have you tried to pod install --repo-update to install plugins again in ios folder?

darshankawar commented 1 year ago

@Abdullah104 Check above comment and see if it helps in your case. If not, please provide complete error log in properly formatted text.

Abdullah104 commented 1 year ago

@thisisyusub I've run arch -x86_64 pod install --repo-update but the same result happens

@darshankawar the following is the error log

Launching lib/main.dart on iPhone 14 Pro Max in debug mode...
Xcode build done.                                           25.1s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:
↳
    Writing result bundle at path:
        /var/folders/3z/7qtkcn9s4cs3x3htskmwp8m00000gn/T/flutter_tools.QIQJlu/flutter_ios_build_temp_dirijfJZz/temporary_xcresult_bundle
While building module 'WebRTC' imported from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/AudioUtils.h:1:
    In file included from <module-includes>:1:
    In file included from /Users/abdullah/Documents/work/qoot_al_qoloub/implementation/clients_app/source/qoot_al_qoloub/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/WebRTC-SDK/WebRTC.framework/Headers/WebRTC.h:52:
    /Users/abdullah/Documents/work/qoot_al_qoloub/implementation/clients_app/source/qoot_al_qoloub/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/WebRTC-SDK/WebRTC.framework/Headers/RTCAudioDeviceModule.h:25:43: warning: this block declaration is not a prototype [-Wstrict-prototypes]
    typedef void (^RTCOnAudioDevicesDidUpdate)();
                                              ^
                                               void
    1 warning generated.
    1 warning generated.
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCMediaStream.m:172:18: warning: unused variable 'requestAccessForVideo' [-Wunused-variable]
                BOOL requestAccessForVideo
                     ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCMediaStream.m:418:29: warning: 'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead. [-Wdeprecated-declarations]
            && [AVCaptureDevice devicesWithMediaType:mediaType].count == 0) {
                                ^
In module 'WebRTC' imported from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCMediaStream.m:3:
    In module 'AVFoundation' imported from /Users/abdullah/Documents/work/qoot_al_qoloub/implementation/clients_app/source/qoot_al_qoloub/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/WebRTC-SDK/WebRTC.framework/Headers/RTCVideoFrame.h:11:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:103:1: note: 'devicesWithMediaType:' has been explicitly marked deprecated here
    + (NSArray<AVCaptureDevice *> *)devicesWithMediaType:(AVMediaType)mediaType API_DEPRECATED("Use AVCaptureDeviceDiscoverySession instead.", ios(4.0, 10.0), macos(10.7, 10.15)) API_UNAVAILABLE(tvos);
    ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCMediaStream.m:498:46: warning: 'devicesWithMediaType:' is deprecated: first deprecated in iOS 10.0 - Use AVCaptureDeviceDiscoverySession instead. [-Wdeprecated-declarations]
        NSArray *videoDevices = [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo];
                                                 ^
In module 'WebRTC' imported from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCMediaStream.m:3:
    In module 'AVFoundation' imported from /Users/abdullah/Documents/work/qoot_al_qoloub/implementation/clients_app/source/qoot_al_qoloub/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/WebRTC-SDK/WebRTC.framework/Headers/RTCVideoFrame.h:11:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:103:1: note: 'devicesWithMediaType:' has been explicitly marked deprecated here
    + (NSArray<AVCaptureDevice *> *)devicesWithMediaType:(AVMediaType)mediaType API_DEPRECATED("Use AVCaptureDeviceDiscoverySession instead.", ios(4.0, 10.0), macos(10.7, 10.15)) API_UNAVAILABLE(tvos);
    ^
    3 warnings generated.
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCDesktopCapturer.m:59:25: warning: performSelector may cause a leak because its selector is unknown [-Warc-performSelector-leaks]
                    [picker performSelector:selector withObject:nil];
                            ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCDesktopCapturer.m:59:41: note: used here
                    [picker performSelector:selector withObject:nil];
                                            ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCDesktopCapturer.m:53:13: warning: 'RPSystemBroadcastPickerView' is only available on iOS 12.0 or newer [-Wunguarded-availability-new]
                RPSystemBroadcastPickerView *picker = [[RPSystemBroadcastPickerView alloc] init];
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'ReplayKit' imported from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCDesktopCapturer.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/System/Library/Frameworks/ReplayKit.framework/Headers/RPBroadcast.h:181:12: note: 'RPSystemBroadcastPickerView' has been marked as being introduced in iOS 12.0 here, but the deployment target is iOS 11.0.0
    @interface RPSystemBroadcastPickerView : UIView <NSCoding>
               ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCDesktopCapturer.m:53:13: note: enclose 'RPSystemBroadcastPickerView' in an @available check to silence this warning
                RPSystemBroadcastPickerView *picker = [[RPSystemBroadcastPickerView alloc] init];
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCDesktopCapturer.m:53:53: warning: 'RPSystemBroadcastPickerView' is only available on iOS 12.0 or newer [-Wunguarded-availability-new]
                RPSystemBroadcastPickerView *picker = [[RPSystemBroadcastPickerView alloc] init];
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'ReplayKit' imported from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCDesktopCapturer.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/System/Library/Frameworks/ReplayKit.framework/Headers/RPBroadcast.h:181:12: note: 'RPSystemBroadcastPickerView' has been marked as being introduced in iOS 12.0 here, but the deployment target is iOS 11.0.0
    @interface RPSystemBroadcastPickerView : UIView <NSCoding>
               ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webrtc-0.9.7/ios/Classes/FlutterRTCDesktopCapturer.m:53:53: note: enclose 'RPSystemBroadcastPickerView' in an @available check to silence this warning
                RPSystemBroadcastPickerView *picker = [[RPSystemBroadcastPickerView alloc] init];
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    3 warnings generated.
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundRecorderManager.mm:95:37: warning: comparison of distinct pointer types ('FlutterSoundRecorder *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
                    if (aFlautoRecorder != [NSNull null])
                        ~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~
    1 warning generated.
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundRecorder.mm:236:14: warning: unused variable 'b' [-Wunused-variable]
            bool b = [flautoRecorder deleteRecord: path];
                 ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundRecorder.mm:36:17: warning: method definition for 'setDbPeakLevelUpdate:result:' not found [-Wincomplete-implementation]
    @implementation FlutterSoundRecorder
                    ^
In file included from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundRecorder.mm:32:
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundRecorder.h:57:1: note: method 'setDbPeakLevelUpdate:result:' declared here
    - (void)setDbPeakLevelUpdate:(double)intervalInSecs result: (FlutterResult)result;
    ^
    2 warnings generated.
    5 warnings generated.
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:35:17: warning: class 'FlutterSoundManager' does not conform to protocol 'FlutterPlugin' [-Wprotocol]
    @implementation FlutterSoundManager
                    ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:35:17: note: add stubs for missing protocol requirements
    @implementation FlutterSoundManager
                    ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'reset:result:' not found [-Wincomplete-implementation]
    @implementation Session
                    ^
In file included from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:31:
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.h:41:1: note: method 'reset:result:' declared here
    - (void)reset: (FlutterMethodCall*)call result: (FlutterResult)result;
    ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'getStatus' not found [-Wincomplete-implementation]
    @implementation Session
                    ^
In file included from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:31:
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.h:42:1: note: method 'getStatus' declared here
    - (int) getStatus;
    ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'freeSlot:' not found [-Wincomplete-implementation]
    @implementation Session
                    ^
In file included from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:31:
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.h:50:1: note: method 'freeSlot:' declared here
    - (void)freeSlot: (int)slotNo;
    ^
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:109:17: warning: method definition for 'invokeMethod:arguments:' not found [-Wincomplete-implementation]
    @implementation Session
                    ^
In file included from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.m:31:
/Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-9.2.13/ios/Classes/FlutterSoundManager.h:51:1: note: method 'invokeMethod:arguments:' declared here
    - (void)invokeMethod: (NSString*)methodName arguments: (NSDictionary*)call ;
    ^
    5 warnings generated.
    8 warnings generated.
    /Users/abdullah/Documents/work/qoot_al_qoloub/implementation/clients_app/source/qoot_al_qoloub/ios/Runner/AppDelegate.swift:13:64: warning: conditional cast from 'AppDelegate' to 'any UNUserNotificationCenterDelegate' always succeeds
                UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
                                                                   ^
    While building module 'flutter_webrtc' imported from /Users/abdullah/Documents/work/qoot_al_qoloub/implementation/clients_app/source/qoot_al_qoloub/ios/Runner/GeneratedPluginRegistrant.m:88:
    While building module 'WebRTC' imported from /Users/abdullah/Documents/work/qoot_al_qoloub/implementation/clients_app/source/qoot_al_qoloub/build/ios/Debug-iphonesimulator/flutter_webrtc/flutter_webrtc.framework/Headers/AudioUtils.h:1:
    In file included from <module-includes>:1:
    In file included from /Users/abdullah/Documents/work/qoot_al_qoloub/implementation/clients_app/source/qoot_al_qoloub/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/WebRTC-SDK/WebRTC.framework/Headers/WebRTC.h:52:
    /Users/abdullah/Documents/work/qoot_al_qoloub/implementation/clients_app/source/qoot_al_qoloub/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/WebRTC-SDK/WebRTC.framework/Headers/RTCAudioDeviceModule.h:25:43: warning: this block declaration is not a prototype [-Wstrict-prototypes]
    typedef void (^RTCOnAudioDevicesDidUpdate)();
                                              ^
                                               void
    1 warning generated.
    1 warning generated.
    1 warning generated.
    ld: framework not found uni_links
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Building targets in dependency order
    warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
    warning: Run script build phase 'Thin Binary' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
    warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
    Result bundle written to path:
        /var/folders/3z/7qtkcn9s4cs3x3htskmwp8m00000gn/T/flutter_tools.QIQJlu/flutter_ios_build_temp_dirijfJZz/temporary_xcresult_bundle
Error (Xcode): Framework not found uni_links

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
Exited
thisisyusub commented 1 year ago

please try the following scenerio:

  1. delete pubspec.lock
  2. delete Podfile and Podfile.lock inside ios folder
  3. flutter clean
  4. flutter pub get
  5. go to ios folder from terminal and run pod install

If it gives error I think it is because of ruby version. I am encountered before. That is why, I installed pod using brew.

darshankawar commented 1 year ago

@Abdullah104 Looking at the error log, it probably seems to be cache issue so please try above steps and try to clean your pub cache.

google-oss-bot commented 1 year ago

Hey @Abdullah104. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

Abdullah104 commented 1 year ago

@thisisyusub I followed your steps and it still gave me the same error. Then I proceeded to update my ruby version from 2.6 to 3.1.2p20, and I still encountered the same issue. After that, I cleaned my pub cache as recommended by @darshankawar but It also didn't work. Should I try deleting my cocoapods and reinstalling it again using brew instead of gem?

darshankawar commented 1 year ago

@Abdullah104 You may try by deleting podfile and recreate it and see if it helps.

Abdullah104 commented 1 year ago

@darshankawar I already deleted it once when I was following the previously mentioned steps.

darshankawar commented 1 year ago
rm -rf Pods
rm -rf Podfile.lock
rm -rf ~/.pub-cache/hosted/pub.dartlang.org/
pod cache clean --all
flutter clean
flutter pub get
pod repo update
pod install
Abdullah104 commented 1 year ago

Still the same problem Note: While executing pod cache clean --all I got the error messages logging multiple times

Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4

I also encountered the following error message while running pod repo update

Command

/usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod repo update

Report

Stack

   CocoaPods : 1.11.3
        Ruby : ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22]
    RubyGems : 3.0.3.1
        Host : macOS 13.0.1 (22A400)
       Xcode : 14.1 (14B47b)
         Git : git version 2.34.1
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

Plugins

cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Podfile

# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

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
  use_frameworks!
  use_modular_headers!

  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)

    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'

      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
      '$(inherited)',
      'PERMISSION_NOTIFICATIONS=1'
      ]

      config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
      config.build_settings['ONLY_ACTIVE_ARCHS'] = 'YES'
    end
  end
end

Error

LoadError - dlopen(/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried: '/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/ffi-1.15.5/lib/ffi_c.bundle' (no such file), '/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')) - /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/ffi-1.15.5/lib/ffi_c.bundle
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/ffi-1.15.5/lib/ffi.rb:5:in `rescue in <top (required)>'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/ffi-1.15.5/lib/ffi.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/abdullah/.gem/ruby/2.6.0/gems/ethon-0.15.0/lib/ethon.rb:3:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/abdullah/.gem/ruby/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:440:in `download_typhoeus_impl_async'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:372:in `download_and_save_with_retries_async'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:365:in `download_file_async'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:338:in `download_file'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:78:in `deprecated_local_podspecs'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:60:in `preheat_existing_files'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/cdn_source.rb:257:in `update'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/sources_manager.rb:144:in `block (3 levels) in update'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/sources_manager.rb:143:in `block (2 levels) in update'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/sources_manager.rb:142:in `each'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/sources_manager.rb:142:in `block in update'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/sources_manager.rb:140:in `open'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/sources_manager.rb:140:in `update'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/repo/update.rb:23:in `run'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
/usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `load'
/usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `<main>'

and while pod install succeeded, it produced the following warnings

Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
Analyzing dependencies
firebase_analytics: Using Firebase SDK version '10.1.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '10.1.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.1.0' defined in 'firebase_core'
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1401:in `rescue in block in activate_dependencies': Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 118 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/Users/abdullah/.gem/ruby/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/gems/3.1.0:/usr/local/Cellar/cocoapods/1.11.3/libexec' at: /usr/local/Cellar/cocoapods/1.11.3/libexec/specifications/xcodeproj-1.21.0.gemspec, execute `gem env` for more information
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1398:in `block in activate_dependencies'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `each'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:211:in `rescue in try_activate'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:204:in `try_activate'
        from <internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:153:in `rescue in require'
        from <internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:149:in `require'
        from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-3.0.5/ios/crashlytics_add_upload_symbols:1:in `<main>'
/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 118 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/Users/abdullah/.gem/ruby/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/gems/3.1.0:/usr/local/Cellar/cocoapods/1.11.3/libexec' , execute `gem env` for more information
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1399:in `block in activate_dependencies'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `each'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:211:in `rescue in try_activate'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:204:in `try_activate'
        from <internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:153:in `rescue in require'
        from <internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:149:in `require'
        from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-3.0.5/ios/crashlytics_add_upload_symbols:1:in `<main>'
/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1401:in `rescue in block in activate_dependencies': Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 118 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/Users/abdullah/.gem/ruby/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/gems/3.1.0:/usr/local/Cellar/cocoapods/1.11.3/libexec' at: /usr/local/Cellar/cocoapods/1.11.3/libexec/specifications/xcodeproj-1.21.0.gemspec, execute `gem env` for more information
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1398:in `block in activate_dependencies'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `each'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:205:in `try_activate'
        from <internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:153:in `rescue in require'
        from <internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:149:in `require'
        from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-3.0.5/ios/crashlytics_add_upload_symbols:1:in `<main>'
/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'CFPropertyList' (>= 2.3.3, < 4.0) among 118 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/Users/abdullah/.gem/ruby/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/gems/3.1.0:/usr/local/Cellar/cocoapods/1.11.3/libexec' , execute `gem env` for more information
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1399:in `block in activate_dependencies'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `each'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
        from /usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems.rb:205:in `try_activate'
        from <internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:153:in `rescue in require'
        from <internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:149:in `require'
        from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-3.0.5/ios/crashlytics_add_upload_symbols:1:in `<main>'
<internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- xcodeproj (LoadError)
        from <internal:/usr/local/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /Users/abdullah/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-3.0.5/ios/crashlytics_add_upload_symbols:1:in `<main>'
firebase_crashlytics: Using Firebase SDK version '10.1.0' defined in 'firebase_core'
firebase_dynamic_links: Using Firebase SDK version '10.1.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '10.1.0' defined in 'firebase_core'
firebase_remote_config: Using Firebase SDK version '10.1.0' defined in 'firebase_core'
Downloading dependencies
Installing FMDB (2.7.5)
Installing Firebase (10.1.0)
Installing FirebaseABTesting (10.1.0)
Installing FirebaseAnalytics (10.1.0)
Installing FirebaseAuth (10.1.0)
Installing FirebaseCore (10.1.0)
Installing FirebaseCoreInternal (10.1.0)
Installing FirebaseCrashlytics (10.1.0)
Installing FirebaseDynamicLinks (10.1.0)
Installing FirebaseInstallations (10.1.0)
Installing FirebaseMessaging (10.1.0)
Installing FirebaseRemoteConfig (10.1.0)
Installing Flutter (1.0.0)
Installing GTMSessionFetcher (2.3.0)
Installing GoogleAppMeasurement (10.1.0)
Installing GoogleDataTransport (9.2.0)
Installing GoogleUtilities (7.10.0)
Installing PhoneNumberKit (3.3.4)
Installing PromisesObjC (2.1.1)
Installing WebRTC-SDK (104.5112.02)
Installing app_links (0.0.1)
Installing connectycube_flutter_call_kit (2.2.1)
Installing device_info (0.0.1)
Installing firebase_analytics (10.0.5)
Installing firebase_auth (4.1.2)
Installing firebase_core (2.2.0)
Installing firebase_crashlytics (3.0.5)
Installing firebase_dynamic_links (5.0.5)
Installing firebase_messaging (14.1.0)
Installing firebase_remote_config (3.0.5)
Installing flutter_keyboard_visibility (0.0.1)
Installing flutter_local_notifications (0.0.1)
Installing flutter_native_splash (0.0.1)
Installing flutter_sound (9.2.13)
Installing flutter_sound_core (9.2.13)
Installing flutter_webrtc (0.9.4)
Installing nanopb (2.30909.0)
Installing otp_autofill (0.0.1)
Installing package_info_plus (0.4.5)
Installing path_provider_ios (0.0.1)
Installing permission_handler_apple (9.0.4)
Installing phone_number (1.0.0)
Installing platform_device_id (0.0.1)
Installing share_plus (0.0.1)
Installing shared_preferences_ios (0.0.1)
Installing smart_auth (0.0.1)
Installing sqflite (0.0.2)
Installing url_launcher_ios (0.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 27 dependencies from the Podfile and 48 total pods installed.

[!] Automatically assigning platform `iOS` with version `11.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

[!] 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`).
darshankawar commented 1 year ago
# platform :ios, '11.0'

Uncomment this and try again.

Abdullah104 commented 1 year ago

I did it and still the same error, I also re-ran the pod commands with arch -x86_64 prefix and also same error.

darshankawar commented 1 year ago

Keeping this issue open for team's insights, as I am not sure what could be causing it.

Lyokone commented 1 year ago

@Abdullah104 it seems that you are using Flutter under the rosetta compatibility layer. It's not required for Flutter and can cause issues (and impact your performance overall).

Please reinstall Flutter without rosetta (which is the official way of installing it) You should not have any issue this way :)

Abdullah104 commented 1 year ago

@Lyokone It is mentioned on Flutter's MacOS installation page that we must have rosetta installed

Screenshot 1444-05-03 at 13 14 18
Lyokone commented 1 year ago

@Abdullah104 You have to have it activated for some dependencies, but you don't have to run everything under rosetta See this Github issue for all the informations: https://github.com/flutter/flutter/issues/60118

Abdullah104 commented 1 year ago

I have reinstalled flutter, cocoapods, ruby, and homebrew, but still didn't manage to solve the problem. But I no longer think It's a problem with the package, but a compatibility problem with Apple Silicon processors and a package manager. What made me think of this is that I started facing the same problem with other packages too, and even reinstalling the previously mentioned stuff with or without rosetta didn't seem to fix it for me. A workaround I managed to do for now is to manually add the missing framework (uni_links in this case) to pubspec.yaml. And regarding the ignoring ffi problem, I solved it by running sudo gem pristine ffi --version "the mentioned version"