I have created a new iOS framework in which I listed external cocoapods as dependancies in my podspec file.
I successfully ran podspec lint without warnings/errors and then pushed the trunk which was also successful.
I read in several places that it usually takes up to an hour to show up so after 2 hours I tried to integrate the pod into a demo project using pod install
, it gave me some errors like:
- This pod might no longer be available
- There could be an issue with the repository link
- The name of the pod might be invalid
All of which I disagree to. So upon further research, I saw some people even had to wait for 7 hours as they had quite a heavy project, however, my library is not too heavy and it's dependancies are quite heavy but since they are not included in the project itself, I was wondering why it took so long.
Then I came across another pod install command pod install --repo-update
which I ran seconds after pod install
failed and it installed my pod and all of it's dependancies.
So I am curious to know what is the difference between these commands and how come one worked and the other did not ?
Thanks
https://stackoverflow.com/questions/66502195/newly-submitted-podfile-wont-install-with-pod-install-but-instead-installs-with March 06, 2021 at 11:51AM
没有评论:
发表评论