you need to add View into main View
for ex: view.addSubview(button)
// having problem in cv.register(CartDetailViewCell.self, forCellWithReuseIdentifier: “cellId”)
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCel
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: “cellId”, for: indexPath) as! CartDetailViewCell
Check in storyBoard cell Identifier = “cellId”.
code to synchronize display.
Remove Info.plist from Copy Bundle Resources
Target>Build Phases>Copy Bundle Resources.
Open “your_project_name.workspace” file instead of “your_project_name.xcodeProj” file.
You Opening wrong file. “your_project_name.xcodeProj” file not contains pod install.
So open “your_project_name.workspace” file..