neo D1
neo D1

Reputation: 1710

Cocoapods issue with xcode 6.3

I am getting this error in Adhoc build , but in development mode it works just fine.

Dyld Error Message:

Library not loaded: @rpath/Alamofire.framework/Alamofire Referenced from: /private/var/mobile/Containers/Bundle/Application/DA4702F0-6A4C-4EB6-99D0-255ABB6E3F57/Real Estate.app/Real Estate Reason: image not found Dyld Version: 353.12

Upvotes: 1

Views: 721

Answers (1)

carmine
carmine

Reputation: 1655

I spent several hours trying to fix this error, and I resolved only after create a brand new project with Xcode and use same pods. I just discovered that the in the Build Phases of target weren't last two sections:

Missing phases

They are defined as run scripts:

Embed Pods Frameworks

"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh"

And:

Copy Pods Resources

"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh"

I hope this help.

Upvotes: 2

Related Questions