user24148762
user24148762

Reputation: 1

No podspec found for permission_handler in .symlinks

I got this error while try run pod install on my flutter project -> Fetching podspec for `permission_handler` from `.symlinks/plugins/permission_handler/ios` [!] No podspec found for `permission_handler` in `.symlinks/plugins/permission_handler/ios`

I don't know why permission_handler have problem

I try update Podfiile to be like example of permission_handler github here:

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['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        '$(inherited)',
        'PERMISSION_CAMERA=1',
        'PERMISSION_LOCATION_WHEN_IN_USE=1',
        'PERMISSION_NOTIFICATIONS=1',
        'PERMISSION_MICROPHONE=1',
        'PERMISSION_SPEECH_RECOGNIZER=1',
        'PERMISSION_PHOTOS=1',
        'PERMISSION_REMINDERS=1',
        'PERMISSION_CONTACTS=1',
        'PERMISSION_BLUETOOTH=1',
        'PERMISSION_APP_TRACKING_TRANSPARENCY=1',
        'PERMISSION_ASSISTANT=1',
        'PERMISSION_MEDIA_LIBRARY=1',
        'PERMISSION_SENSORS=1',
        'PERMISSION_CRITICAL_ALERTS=1',
        'PERMISSION_EVENTS=1',
        'PERMISSION_EVENTS_FULL_ACCESS=1',
        'PERMISSION_LOCATION=1',
      ]
    end
  end
end````

also edit my info.plis
It start with my app iuse permission_handler as permission request in my android application on this time I try to make ios application but I got this error I dont understand what is happening I try change version of package and change podfile to handle it but it not work.

Upvotes: 0

Views: 10

Answers (0)

Related Questions