How to import a private framework in Xcode 8.3 without getting “Undefined symbols for architecture arm64”
问题 I am trying to use _CDBatterySaver to turn on low power mode simply using [[_CDBatterySaver batterySaver] setMode:1]; I know there isn't the same type of directory as previous Xcode so those methods don't work. I have also tried just importing the ".h" file but that doesn't work. It is part of the CoreDuet framework (downloaded from GitHub) Thanks 回答1: You will need a .tbd file to link against. Apple stopped shipping these for private frameworks starting with the iOS 9.3 SDK, but you can