小编use*_*080的帖子

升级到xcode 7后无法在设备上运行app

我将iphone 6更新为ios 9,我还将Xcode更新为7.0版.当我在模拟器上运行我的项目时,该应用程序工作正常.当我尝试在我的设备上运行应用程序时,应用程序崩溃了,我看到了:

dyld`dyld_fatal_error: - > 0x120049088 <+0>:brk#0x3

最初我使用的是cocoapods,并且为我配置的每个框架都出现了"找不到图像"的错误.我删除了cocoapods并手动添加了所有框架,但现在我收到了上面的错误.任何帮助,将不胜感激.

谢谢

xcode ios ios9 xcode7

7
推荐指数
2
解决办法
1696
查看次数

AWS Cognito Identity NotAuthorizedException

我正在使用AWS javascript sdk将用户池与我正在构建的Web应用程序集成.用户池已设置完毕,我已按照此处的用法示例进行操作:https://github.com/aws/amazon-cognito-identity-js

我一直收到一条错误消息:"NotAuthorizedException:无法验证客户端的秘密哈希值(我的应用客户端ID)"

AWS.config.region = 'us-east-1'; // Region
AWS.config.credentials = new AWS.CognitoIdentityCredentials({
    IdentityPoolId: '...' // my identity pool id here
});


AWSCognito.config.region = 'us-east-1';
AWSCognito.config.credentials = new AWS.CognitoIdentityCredentials({
  IdentityPoolId: '...' // my identity pool id here
})


var poolData = {
  UserPoolId: '...', // my user pool id here
  ClientId: '...'  // client id here
};
var userPool = new AWSCognito.CognitoIdentityServiceProvider.CognitoUserPool(poolData);

var userData = {
    Username : 'username',
    Pool : userPool
};

      var attributeList = []; …
Run Code Online (Sandbox Code Playgroud)

javascript amazon-web-services amazon-cognito

2
推荐指数
1
解决办法
5409
查看次数