Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试在 Objective-C 应用程序中安装带有 CocoaPods 的 SDK。pod install 正在运行,但是当我打开工作区时,xcode 想要将 SDK 转换为更新的 swift 版本(失败)。
是否可以将 SDK 与基于 Objective-C 的应用程序一起使用?
我们无法重现这种行为(例如 XCode 不要求转换为新的 Swift 版本),但无论如何 App ID SDK 不支持 Objective-C,因为它的类不是从 NSObject 派生的,并且在 Objective-C 中不可见.