[!] Unable to find a specification for 'libraryName'.

.·2023년 5월 29일
0

Issue

[!] Unable to find a specification for 'libraryName'.

Problem

  1. Check Typo in Podfile code

  2. Check if the library is registered in the CocoaPods repository

  1. add repo Podfile code check
    ex. pod 'name', :git => "URL"

  2. delete cache

Solving

pod repo update

can update CocoaPods Repo update to fetch the library in its latest state by this command

pod cache clean --all

can clear the CocoaPods cache by this command

pod search libraryName

can retrieve the specification information for the library from the CocoaPods repository and display it in the terminal by this command

source 'https://github.com/CocoaPods/Specs.git'

check the source is existing in front of your Podfile

pod deintegrate

can remove the previous CocoaPods-related settings and restore your project to its initial state

stackoverflow

0개의 댓글