How to update a framework in an iOS app?

Viewed 12765

I'm writing an app using Nuance's SpeechKit framework. I've just downloaded a newer version of the framework that contains new methods in some of the classes. To upgrade, I deleted the framework and the re-added the new one. When I right-click on the framework in Xcode and click "reveal in finder", it shows the new framework. When I open up the "Headers" subfolder of the framework in Xcode, I see the new methods.

The problem is that my class seems to still be referencing the header file in the old location, as the new methods are not visible within my application.

How do I upgrade a framework properly? Is there somewhere else in Xcode that contains a path reference to the SDK?

3 Answers

If you are using CocoaPods, run pod update [PODNAME].

Related