我6天前发布了一个新版本.我在iTunesConnect分析中看到了一些崩溃,但崩溃组织者中没有崩溃,我的版本也没有出现在崩溃组织者的"版本"下拉列表中.
通常情况下,崩溃报告发布后需要一两天才能进入Xcode Crashes组织者,而且我已经看到崩溃出现在Xcode Crashes组织器中的时间与iTunesConnect分析网站大致相同.
有趣的是,之前的版本仍然显示在"版本"下拉列表中,我可以看到报告继续为它们涓涓细流.之前版本的崩溃报告急剧下降,大概是因为大多数人已经转移到最新版本.
在新机器上,安装了新的XCode(但链接到同一个开发人员帐户),我看到了相同的行为.也许这是我的开发者帐户的问题?
更新2016.09.01:两个月后,新版本仍未自动显示在版本下拉列表中.下面发布的手动添加它们的解决方法一直很好用,但希望我不必永远这样做.我必须假设这是我本地设置的问题,因为这不会发生在每个人身上.如果你想出一个长期的解决办法,请告诉我.
更新2016.10.13:我最近的版本中的解决方法不起作用.我再次看到ITC崩溃,但在Info.json手动添加该版本的条目后,我看到"此版本没有可用的崩溃信息".
更新二零一六年十月十五日:我想解决办法是继续工作,崩溃报告只是由延迟额外的 48小时.
更新2016.1.20:在某些时候,(可能在12月中旬左右,XCode 8.2?),我开始看到新的版本再次自动出现,并且每次推送构建时都不再需要手动编辑我的XCode配置数据.除了更新XCode之外,我无法想到任何可能"修复"它的方式.
升级现有的Qt4应用程序以在OS X上使用视网膜显示器需要做什么?
Qt博客说Qt 4.8"有很好的支持,并且有一些Qt 5补丁的后端可用":
http://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/
我添加了以下Info.plist似乎工作.文本和按钮不再像素化.
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
Run Code Online (Sandbox Code Playgroud)
我正在努力的是让图标/ pixmaps很好地渲染.我使用Qt Designer创建了UI.我不知道如何让应用程序识别@ 2x图标.
我想要升级的应用程序是用C++(https://github.com/qgis/QGIS)编写的,但我也一直在使用Python(PyQt4)进行测试.QPixamp实例似乎没有setDevicePixelRatio方法.
我正在运行OS X(10.9.4),通过Homebrew安装Qt 4.8.
我花了很多时间在RSpec上,并花了一些时间进行xunit样式测试.我已经习惯了嘲笑和捣乱.
在R中有什么类似嘲讽或顽固的吗?他们有什么框架?
如果不是,你如何隔离你的测试?
我正在尝试编写一些单元测试(使用xctest)来验证我的Google Maps mapView是否以我的"当前位置"为中心.
- (void) testMapCentersOnMyLocation {
WtHomeController *controller = [[WtHomeController alloc] init];
[controller viewDidLoad];
//Simulator's location is stubbed to be in San Francisco, at this lat/lon
CLLocationDegrees expectedLatitude = 37.787359f;
CLLocationDegrees expectedLongitude = -122.408227f;
// FIXME this loop runs forever - location isn't being updated in simulator.
while(controller.firstLocationUpdate == NO) {
NSLog(@"Waiting on location...");
NSLog(@"my location is: %f, %f", controller.mapView.myLocation.coordinate.latitude, controller.mapView.myLocation.coordinate.longitude);
}
CLLocationCoordinate2D mapCenter = [controller.mapView.camera target];
XCTAssertEqualWithAccuracy(mapCenter.latitude, expectedLatitude, 0.00001f);
XCTAssertEqualWithAccuracy(mapCenter.longitude, expectedLongitude, 0.00001f);
}
Run Code Online (Sandbox Code Playgroud)
以下是分配mapView的控制器的相关方法
@interface WtHomeController ()
@property(nonatomic, …Run Code Online (Sandbox Code Playgroud) 我在Xcode7.3/iOS9.3上进行了UI测试,大约看了1/10
Test Case '-[WhatevUITests.RegistrationUITests testVerifyUnsupportedPhoneNumberAlert]' started.
t = 0.00s Start Test
t = 0.00s Set Up
t = 0.01s Launch me.jackpine.whatev-dev
t = 0.11s Terminate <XCUIApplicationProcess: 0x7ff91a712550 me.jackpine.whatev-dev (94280)>
t = 1.14s Assertion Failure: UI Testing Failure - Failure attempting to launch <XCUIApplicationImpl: 0x7ff91a49fae0 me.jackpine.whatev-dev at /Users/mkirk/src/jackpine/Whatev-iOS/build/Whatev/Build/Products/Debug-iphonesimulator/Whatev Dev.app>, nil token for current process reference <XCUIApplicationProcess: 0x7ff91a624440 me.jackpine.whatev-dev (94333)>
/Users/mkirk/src/jackpine/Whatev-iOS/WhatevUITests/RegistrationUITests.swift:16: error: -[WhatevUITests.RegistrationUITests testVerifyUnsupportedPhoneNumberAlert] : UI Testing Failure - Failure attempting to launch <XCUIApplicationImpl: 0x7ff91a49fae0 me.jackpine.whatev-dev at /Users/mkirk/src/jackpine/Whatev-iOS/build/Whatev/Build/Products/Debug-iphonesimulator/Whatev Dev.app>, nil token for …Run Code Online (Sandbox Code Playgroud) 我正在使用UITest测试一个客观的C app,使用swift进行测试.
XCode 7.3,sim 9.3
每个测试用例都调用XCUIApplication.launch(),它通过发送SIGKILL来杀死任何正在运行的应用程序.
Xcode将此视为崩溃 - 调用调试器main.m.要继续测试套件,我只需单击调试器中的继续按钮即可.
点击继续后,我的日志说:
Message from debugger: Terminated due to signal 9
Run Code Online (Sandbox Code Playgroud)
这种情况令人沮丧,因为它发生在1/4的测试用例之后.导致我失去对正在编辑的文档的关注,导致我的测试套件挂起,直到我继续.
有没有解决的办法?