# ld: library not found for -lPods-AppName / framework not found Pods_App

**Code:** `library not found for -lPods` · **Category:** iOS · **Seen on:** iOS

The linker can’t find the CocoaPods library — usually because the .xcodeproj was opened instead of the .xcworkspace, or pods weren’t built.

## Meaning

CocoaPods integrates via the workspace. Building the bare project, missing pod install after cloning, or a mismatched Pods configuration leaves the Pods library absent.

## Common causes

- Opened .xcodeproj instead of .xcworkspace
- pod install not run after clone/branch switch
- Deployment target/architecture settings excluding Pods

## Quick fix

1. Open .xcworkspace
2. pod deintegrate && pod install
3. Clean build folder (Shift+Cmd+K)

## Detailed fix by platform

### Shell

1. 

```swift
pod deintegrate && pod install
open MyApp.xcworkspace
```


## How to diagnose

1. **File** — Workspace opened?
2. **Pods** — Pods/ folder and Pods.xcodeproj exist?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/ios/library-not-found-for-lpods)
