【发布时间】:2018-10-23 19:42:03
【问题描述】:
我想在我的 swift 项目中使用 PayPal-iOS-SDK。
https://github.com/paypal/PayPal-iOS-SDK
我使用 CocoaPods 并将 LSApplicationQueriesSchemes 设置为 info.plist。
但我仍然在 AppDelegate.swift 中收到“使用未解析的标识符 'PayPalMobile'”错误。
PayPalMobile .initializeWithClientIds(forEnvironments: [PayPalEnvironmentProduction: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
PayPalEnvironmentSandbox: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"])
使用 PayPal-iOS-SDK 是否需要进行更多处理?
【问题讨论】:
-
你试过
import PayPalMobile吗?
标签: ios swift paypal paypal-rest-sdk