当我在手机中运行UITest时,它会安装并作为单独的应用程序运行,同时给出以下错误.
2017-07-27 10:44:33.892639 + 0700 XCTRunner [11886:3502890]正在运行测试... 2017-07-27 10:44:34.137927 + 0700 XCTRunner [11886:3502890]捆绑"... UITests"不能因为它已损坏或缺少必要的资源而无法加载.尝试重新安装捆绑包.2017-07-27 10:44:34.137999 + 0700 XCTRunner [11886:3502890](dlopen_preflight(/ var/containers/Bundle/Application/75C9B589-CCD4-480D-9E23-BA86878E8B37/... UITests-Runner.app/PlugIns /...UITests.xctest/...UITests):未加载库:@ rpath/GoogleToolboxForMac.framework/GoogleToolboxForMac参考自:/ var/containers/Bundle/Application/75C9B589-CCD4-480D-9E23-BA86878E8B37/.. .UITests-Runner.app/PlugIns/... UITests.xctest/... UITests原因:图片未找到)
我试图找到这个问题的解决方案超过一天.
我想将UITests添加到我现有的应用程序中,并将UITest目标添加到我的应用程序中.我正在使用迦太基和可可豆荚.我更新了pod文件和更新的pod,然后我将框架添加到由Carthage安装的UITest目标.
这是我的pod文件
platform :ios, '9.0'
use_frameworks!
target 'ExampleApp' do
pod 'Charts'
pod 'ReachabilitySwift', '~> 3'
pod 'Fabric'
pod 'Crashlytics'
pod 'Google/Analytics'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
end
target 'ExampleAppTests' do
pod 'Charts'
pod 'ReachabilitySwift', '~> 3'
pod 'Fabric'
pod 'Crashlytics'
end
target 'ExampleAppUITests' do
pod 'Charts'
pod 'ReachabilitySwift', '~> 3'
pod 'Fabric'
pod …Run Code Online (Sandbox Code Playgroud) 我正在尝试制作一个包含tableview的ios应用程序.当我使用xcode 7.0.1进行开发时,它显示了tableview单元分隔线黑色细线.在使用Xcode 7.1.1更新后,它没有显示单元格分隔符行.
我尝试了三件事 -
我相信它在xcode 7.1.1中的错误或者我在xcode中做了一些错误的全局设置,因为新的应用程序也没有显示.
请给我一些解决方案.
我需要知道如何让我的副本NSDictionary,以NSMutableDictionary和改变的有值.
编辑
我想知道如何修改NSDictionary的数据.我知道了
将数据复制NSDictionary到a NSMutableDictionary.然后修改数据NSMutableDictionary