質問
SoundCloudapiの統合を備えたiPhoneアプリケーションを作成しました。アプリケーションを実行しようとすると、次のエラーメッセージが表示されます。
Error Domain=SoundCloudAPIError Code=2001 "The operation couldn't be completed. (NSURLErrorDomain error - 1012)" UserInfo=0x13cbc0 {httpErrorStatus=Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn't be completed. (NSURLErrorDomain error - 1012.)" UserInfo=0x137b90 {NSErrorFailingURLKey=http://api.soundcloud.com/ oauth/access_token, NSErrorFailingURLStringKey=http:// api.soundcloud.com/oauth/access_toekn, NSUnderlyingError=0x13b590 "The operation couldn't be completed. (kCFErrorDomainCFNetwork error - 1012.)"}, NSLocalizedDescription=The operation couldn't be completed. (NSURLErrorDomain error - 1012.)}
誰でもそれを解決する方法を教えてください。
ありがとう。
解決
私はこの問題を解決しました。
問題は次のとおりです。 「コールバックURL(OAuth 2 Redirect URI)」の下でコールバックURLを入力しませんでした。
これを入力するには、以下の手順に従ってください。
1. Go to http://soundcloud.com/you/apps/testapp/edit and click on "Add info for publication to the app gallery". 2. Enter your Callback URL under "Callback URL (OAuth 2 Redirect URI)"
保存する前に両方のチェックボックスを選択するため、アプリはまだ公開されていません。
所属していません StackOverflow