3
AWS Cognito User Pools를 사용하여 신속한 iOS 응용 프로그램에 로그인/가입 기능을 추가하려고합니다. Cocoapods로 xcworkspace를 설정했습니다. 내 앱 대리인에서 아래에 표시된 자격 증명 공급자 및 서비스 구성을 설정했습니다.AWS 사용자 풀 설정 (Swift)
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
let credentialsProvider = AWSCognitoCredentialsProvider(regionType: AWSRegionType.USEast1, identityPoolId: cognitoIdentityPoolId)
let defaultServiceConfiguration = AWSServiceConfiguration(region: AWSRegionType.USEast1, credentialsProvider: credentialsProvider)
AWSServiceManager.defaultServiceManager().defaultServiceConfiguration = defaultServiceConfiguration
return true
}
하지만 난과 사용자 풀 구성 설정하려고하면 내가 AWSCore 가져온 때문에 이해 해달라고
let configurationUserPool = AWSCognitoIdentityUserPoolConfiguration(clientId: "###", clientSecret: "#########", poolId: "###")
내가 "해결되지 않은 식별자 AWSCognitoIdentityUserPoolConfiguration 사용"의 컴파일 오류를, 및 AWSCognito
어떤 도움이나 통찰력이 많이 주시면 감사하겠습니다 감사
AWSCognitoIdentityProvider를 설치하고 가져 와서 문제를 해결했습니다. – jackets14