每当我在 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 …
使用 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)
如何缩放stat_ecdf
到第二个 y 轴?