小编zam*_*nee的帖子

游戏中心无法识别应用程序

每当我在 Xcode 模拟器 (iPhone X) 中验证 IOS 用户时,都会收到以下错误:

Optional(Error Domain=GKErrorDomain Code=15 "The requested operation could not be completed because this application is not recognized by Game Center." UserInfo={GKServerStatusCode=5019, NSLocalizedDescription=The requested operation could not be completed because this application is not recognized by Game Center., NSUnderlyingError=0x60000330f180 {Error Domain=GKServerErrorDomain Code=5019 "status = 5019, no game matching descriptor: ios:com.myteam.platform:1.0:1+-1" UserInfo={GKServerStatusCode=5019, NSLocalizedFailureReason=status = 5019, no game matching descriptor: ios: com.myteam.platform:1.0:1+-1}}})
Run Code Online (Sandbox Code Playgroud)

我按照此处找到的步骤进行操作。简而言之,我有一个链接到开发团队的 IOS 证书,并使用 Xcode 项目设置创建了一个Bundle Identifier具有不同名称的证书,Automatically manage signing其中包含我的团队名称,并在选项卡下打开了游戏中心Capabilities …

xcode ios game-center

7
推荐指数
0
解决办法
589
查看次数

使用不同比例的累积分布曲线 (ECDF) 创建 ggplot2 直方图

使用 ggplot2,我可以使用以下代码创建带有累积分布曲线的直方图。但是,stat_ecdf曲线缩放到左侧 y 轴。

library(ggplot2)
test.data <- data.frame(values = replicate(1, sample(0:10,1000, rep=TRUE)))
g <- ggplot(test.data, aes(x=values))
g + geom_bar() + 
    stat_ecdf() + 
    scale_y_continuous(sec.axis=sec_axis(trans = ~./100, name="percentage"))
Run Code Online (Sandbox Code Playgroud)

这是生成的图表(您可以在底部看到 ecdf): ggplot 结果

如何缩放stat_ecdf到第二个 y 轴?

r ggplot2

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

标签 统计

game-center ×1

ggplot2 ×1

ios ×1

r ×1

xcode ×1