개발일기/IOS

[UiKit] pod install 오류

코딩하는빵친자 2024. 6. 25. 15:25
[!] CocoaPods could not find compatible versions for pod "MobWithAD":
  In Podfile:
    MobWithAD (= 1.2.4)

None of your spec sources contain a spec satisfying the dependency: `MobWithAD (= 1.2.4)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

 

pod install 할 때 이런 오류가 발생...

 

! 해결책

 -> pod install —repo-update 해주면된다, 그리고 다시 pod install 해주면된다.

근데 여기서 컴파일 하니까 에러가남 —→ 이유는 원래 pod 보다 더 업데이트 되어서 안맞았기 때문!!!

그래서 pod lock 파일을 다시 받아서 다시 삭제하고 install 하니까 된다 ㅇㅇ

 

- 참고

https://babbab2.tistory.com/138

728x90