Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/apache-spark/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 将images.xcsets资源更改为';特定于设备的';触发编译错误_Ios_Xcode - Fatal编程技术网

Ios 将images.xcsets资源更改为';特定于设备的';触发编译错误

Ios 将images.xcsets资源更改为';特定于设备的';触发编译错误,ios,xcode,Ios,Xcode,我在images.xcsets中有几个资源,它们都是设备“通用”配置的向量。它工作得很好 但是,当我将其中一个设备更改为“特定”设备以便为iPad指定不同的资源时,该项目不再编译 导致此问题的是单个唯一的更改,此外,该错误最多是一般性的: 2015-02-03 10:28:32.225 ibtoold[14561:217936] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-66

我在images.xcsets中有几个资源,它们都是设备“通用”配置的向量。它工作得很好

但是,当我将其中一个设备更改为“特定”设备以便为iPad指定不同的资源时,该项目不再编译

导致此问题的是单个唯一的更改,此外,该错误最多是一般性的:

2015-02-03 10:28:32.225 ibtoold[14561:217936] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-6608/DVTKit/CocoaClassCategories/DVTNSImageAdditions.m:305
Details:  Assertion failed: [scaleFactor doubleValue] > 0.0
Object:   <NSImage>
Method:   +dvt_imageWithSize:scaleFactors:flipped:forRenderingIntoContext:fromCommands:
Thread:   <NSThread: 0x7fa813d29420>{number = 1, name = main}
Hints: None
Backtrace:
0  0x000000011006124a -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1  0x0000000110060c9f _DVTAssertionHandler (in DVTFoundation)
2  0x0000000110060f8e _DVTAssertionFailureHandler (in DVTFoundation)
3  0x0000000110060ef0 _DVTAssertionFailureHandler (in DVTFoundation)
4  0x000000011341cfd4 +[NSImage(DVTNSImageAdditions) dvt_imageWithSize:scaleFactors:flipped:forRenderingIntoContext:fromCommands:] (in DVTKit)
5  0x00000001132c6d7b +[NSImage(DVTNSImageAdditions) dvt_imageWithSize:scaleFactors:flipped:fromCommands:] (in DVTKit)
6  0x0000000116ccb392 (in IDEInterfaceBuilderCocoaTouchIntegration)
7  0x0000000116ccc003 (in IDEInterfaceBuilderCocoaTouchIntegration)
8  0x0000000116ccc33f (in IDEInterfaceBuilderCocoaTouchIntegration)
9  0x0000000110f4ce71 -[IBICAbstractPlatformAdapter compilePNGImageSetReps:options:queue:completionHandler:] (in IDEInterfaceBuilderKit)
10  0x0000000116cca562 (in IDEInterfaceBuilderCocoaTouchIntegration)
11  0x0000000116ccaa9c (in IDEInterfaceBuilderCocoaTouchIntegration)
12  0x000000010fe62b65 (in ibtoold)
13  0x000000010fe642db (in ibtoold)
14  0x000000010fe6487e (in ibtoold)
15  0x000000010fe723f7 (in ibtoold)
16  0x000000010fe72947 (in ibtoold)
17  0x000000010fe72817 (in ibtoold)
18  0x000000010fe61c3f (in ibtoold)
19  0x000000010fe71fe1 (in ibtoold)
20  0x000000010fe71238 (in ibtoold)
21  0x00007fff8fc765c9 start (in libdyld.dylib)
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/actool failed with exit code 255
2015-02-03 10:28:32.225 ibtoold[14561:217936][MT]DVTAssertions:/SourceCache/DVTFrameworks/DVTFrameworks-6608/DVTKit/cocoaclasscegories/DVTNSImageAdditions中的断言失败。m:305
详细信息:断言失败:[scaleFactor doubleValue]>0.0
对象:
方法:+dvt_imageWithSize:scaleFactors:flipped:forRenderingIntoContext:From命令:
线程:{number=1,name=main}
提示:无
回溯:
0 0x000000011006124a-[DVTAssertionHandler handleFailureInMethod:对象:文件名:行号:断言签名:消息格式:参数:](在DVTFoundation中)
1 0x0000000110060c9f_DVTAssertionHandler(位于DVT地基中)
2 0x0000000110060f8e\U DVTAssertionFailureHandler(在DVTFoundation中)
3 0x000000011006EF0\u DVTAssertionFailureHandler(在DVTFoundation中)
4 0x000000011341cfd4+[n图像(DVTNSImageAdditions)dvt_图像大小:缩放因子:翻转:用于渲染到上下文:fromCommands:(在DVTKit中)
5 0x00000001132c6d7b+[n图像(DVTNSImageAdditions)dvt_图像大小:缩放因子:翻转:from命令:](在DVTKit中)
6 0x0000000116ccb392(在IDEInterfaceBuilderCoCatouch集成中)
7 0x0000000116ccc003(在IDEInterfaceBuilderCoCatouch集成中)
8 0x0000000116ccc33f(在IDEInterfaceBuilderCoCatouch集成中)
9 0x0000000110f4ce71-[IBICAbstractPlatformAdapter compilePNGImageSetReps:options:queue:completionHandler:](在IDEInterfaceBuilderKit中)
10 0x0000000116cca562(在IDEInterfaceBuilderCoCatouch集成中)
11 0x0000000116ccaa9c(在IDEInterfaceBuilderCoCatouch集成中)
12 0x000000010fe62b65(在ibtoold中)
13 0x000000010fe642db(在ibtoold中)
14 0x000000010fe6487e(在ibtoold中)
15 0x000000010fe723f7(在ibtoold中)
16 0x000000010fe72947(在ibtoold中)
17 0x000000010fe72817(在ibtoold中)
18 0x000000010fe61c3f(在ibtoold中)
19 0x000000010fe71fe1(在ibtoold中)
20 0x000000010fe71238(在ibtoold中)
21 0x00007fff8fc765c9启动(在libdyld.dylib中)
命令/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/actool失败,退出代码为255