I have checked nearly everything. My .netric
file is in the home directory and it is in the right format. My secret key has download:read
checked off when I made it, but still, every time I want to download the podfile, it gives me this error:
[!] Error installing Mapbox-iOS-SDK
[!] /Users/walidsheykho/opt/anaconda3/bin/curl -f -L -o /var/folders/tm/<folder details>/file.zip https://api.mapbox.com/downloads/v2/mobile-maps/releases/ios/packages/6.3.0/mapbox-ios-sdk-dynamic.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.11.2 cocoapods-downloader/1.4.0'
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 401 Unauthorized
I haven't had much experience downloading pods through flutter, so that might be the reason but it still didn't work even after I closed flutter and entered the directory on its own. What should I do?