Ionic App – Xcode Build Error “library not found for -lPods”

Environment:
Xcode 10.2.1 (10E1001)
Ionic CLI 5.2.1
Cordova CLI 8.1.2
cordova-res 0.5.1
native-run 0.2.7

Installed platforms:
ios 5.0.1

After building your Ionic project, you open with Xcode then build and got following error:

library not found for -lPods-[your app name]

The error is caused by missing Pod library, most likely your app is using CocoaPods to manage some of dependency libraries.

To solve this issue, in /platforms/ios/ folder, do not open .xcodeproj file with Xcode, instead, open .xcworkspace file and build. The workspace file will include Pods libraries.

Image 2019-06-29 at 9.52.45 PM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s