Skip to content

Invalid single_factor_auth_flutter.podspec file: syntax error found when trying to run on iOS after upgrading to v6.0.0 #21

@Daeon97

Description

@Daeon97

After upgrading to v6.0.0 I get an error when trying to run on iOS

Running pod install...
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
      Using `ARCHS` setting to build architectures of target `Pods-RunnerTests`: (``)

    Finding Podfile changes
      - Flutter
      - app_links
      - app_tracking_transparency
      - auth0_flutter
      - connectivity_plus
      - device_info_plus
      - firebase_analytics
      - firebase_core
      - flutter_blue_plus
      - flutter_native_splash
      - flutter_opendroneid
      - flutter_secure_storage
      - geolocator_apple
      - mapbox_maps_flutter
      - package_info_plus
      - path_provider_foundation
      - permission_handler_apple
      - sentry_flutter
      - shared_preferences_foundation
      - single_factor_auth_flutter
      - url_launcher_ios

    Fetching external sources
    -> Fetching podspec for `Flutter` from `Flutter`
    -> Fetching podspec for `app_links` from `.symlinks/plugins/app_links/ios`
    -> Fetching podspec for `app_tracking_transparency` from `.symlinks/plugins/app_tracking_transparency/ios`
    -> Fetching podspec for `auth0_flutter` from `.symlinks/plugins/auth0_flutter/darwin`
    -> Fetching podspec for `connectivity_plus` from `.symlinks/plugins/connectivity_plus/darwin`
    -> Fetching podspec for `device_info_plus` from `.symlinks/plugins/device_info_plus/ios`
    -> Fetching podspec for `firebase_analytics` from `.symlinks/plugins/firebase_analytics/ios`
    firebase_analytics: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
    -> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
    firebase_core: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
    -> Fetching podspec for `flutter_blue_plus` from `.symlinks/plugins/flutter_blue_plus/ios`
    -> Fetching podspec for `flutter_native_splash` from `.symlinks/plugins/flutter_native_splash/ios`
    -> Fetching podspec for `flutter_opendroneid` from `.symlinks/plugins/flutter_opendroneid/ios`
    -> Fetching podspec for `flutter_secure_storage` from `.symlinks/plugins/flutter_secure_storage/ios`
    -> Fetching podspec for `geolocator_apple` from `.symlinks/plugins/geolocator_apple/ios`
    -> Fetching podspec for `mapbox_maps_flutter` from `.symlinks/plugins/mapbox_maps_flutter/ios`
    -> Fetching podspec for `package_info_plus` from `.symlinks/plugins/package_info_plus/ios`
    -> Fetching podspec for `path_provider_foundation` from `.symlinks/plugins/path_provider_foundation/darwin`
    -> Fetching podspec for `permission_handler_apple` from `.symlinks/plugins/permission_handler_apple/ios`
    -> Fetching podspec for `sentry_flutter` from `.symlinks/plugins/sentry_flutter/ios`
    -> Fetching podspec for `shared_preferences_foundation` from `.symlinks/plugins/shared_preferences_foundation/darwin`
    -> Fetching podspec for `single_factor_auth_flutter` from `.symlinks/plugins/single_factor_auth_flutter/ios`
    [!] Failed to load 'single_factor_auth_flutter' podspec: 
    [!] Invalid `single_factor_auth_flutter.podspec` file: syntax error found
       9 | summary = 'A new Flutter plugin project.'
      10 | s.
    > 11 | description =
         |             ^ expected an expression after `=`
      12 | <<-
      13 | DESC
    .

     #  from /Users/engelsimmanuel/Projects/sky_trade/ios/.symlinks/plugins/single_factor_auth_flutter/ios/single_factor_auth_flutter.podspec:11
     #  -------------------------------------------
     #  s.
     >  description =
     #  <<-
     #  -------------------------------------------

    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/external_sources/abstract_external_source.rb:175:in 'Pod::ExternalSources::AbstractExternalSource#store_podspec'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/external_sources/path_source.rb:17:in 'block in Pod::ExternalSources::PathSource#fetch'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/user_interface.rb:64:in 'Pod::UserInterface.section'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/external_sources/path_source.rb:11:in 'Pod::ExternalSources::PathSource#fetch'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/analyzer.rb:997:in 'Pod::Installer::Analyzer#fetch_external_source'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/analyzer.rb:976:in 'block (2 levels) in Pod::Installer::Analyzer#fetch_external_sources'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/analyzer.rb:975:in 'Array#each'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/analyzer.rb:975:in 'block in Pod::Installer::Analyzer#fetch_external_sources'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/user_interface.rb:64:in 'Pod::UserInterface.section'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/analyzer.rb:974:in 'Pod::Installer::Analyzer#fetch_external_sources'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer/analyzer.rb:118:in 'Pod::Installer::Analyzer#analyze'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:422:in 'Pod::Installer#analyze'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:244:in 'block in Pod::Installer#resolve_dependencies'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/user_interface.rb:64:in 'Pod::UserInterface.section'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:243:in 'Pod::Installer#resolve_dependencies'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/installer.rb:162:in 'Pod::Installer#install!'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/command/install.rb:52:in 'Pod::Command::Install#run'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in 'CLAide::Command.run'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/lib/cocoapods/command.rb:52:in 'Pod::Command.run'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/gems/cocoapods-1.16.2/bin/pod:55:in '<top (required)>'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/bin/pod:25:in 'Kernel#load'
    /opt/homebrew/Cellar/cocoapods/1.16.2_1/libexec/bin/pod:25:in '<main>'

Error: Error running pod install

Looking at the logs, you will observe

[!] Invalid `single_factor_auth_flutter.podspec` file: syntax error found
       9 | summary = 'A new Flutter plugin project.'
      10 | s.
    > 11 | description =
         |             ^ expected an expression after `=`
      12 | <<-
      13 | DESC
    .

     #  from /Users/engelsimmanuel/Projects/sky_trade/ios/.symlinks/plugins/single_factor_auth_flutter/ios/single_factor_auth_flutter.podspec:11
     #  -------------------------------------------
     #  s.
     >  description =
     #  <<-
     #  -------------------------------------------

After some investigation, it seems that the single_factor_auth_flutter.podspec file inside ios/.symlinks/plugins/single_factor_auth_flutter/ios/single_factor_auth_flutter.podspec is not properly formatted

Affected Platforms

  • iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions