swiftframeworksios8.1xcode6.1.1

UIKit.framework and CoreGraphics.framework are not found in Linked Frameworks and Libraries


I want to add two frameworks in my project but when i am go to project navigator and select general tab than further gone to Linked Frameworks and Libraries options choose frameworks and libraries to add: these Frameworks are not found in the list.


Solution

  • You need to copy the framework into your project then add it manually.

    Go to Build Phases > Link Binary With Libraries > + > Add Other.

    enter image description here

    Don't forgot to import the frameworks in your swift file.

    import UIKit
    import CoreLocation