I am trying to run my flutter application in ios, and while pod installs I am getting an error ([!] No podspec found for flutter_user_agentx
in .symlinks/plugins/flutter_user_agentx/ios
). I am using a dependency named "flutter_user_agentx", On android is working fine, a Few days back it was working fine for ios also but today I am getting this error.
I want to run my flutter application on ios.
This usually happens when you add a new package and there are no pods for ios for that package. However, you will get a lot of pods problem, but mostly following these steps will solve them:
flutter clean
ios
folder:Podfile
andPodfile.lock
and the folderPods
flutter pub get
cd ios
pod install --repo-update
(to install the pods again, and if u face any problem try without--repo-update
)UPDATE You don't need to delete the
podfile
but deletePodfile.lock
which is enough