它发生在新的 Xcode7 beta 中:
CompileAssetCatalog /Users/admin/Library/Developer/Xcode/DerivedData/InstaAd-ddgdnbxlpxipirebpndfmgrxspel/Build/Products/Debug-iphoneos/InstaAd.app InstaAd/Images.xcassets
cd /Users/admin/Documents/git/InstaAdIOS/InstaAd
export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/admin/Library/Developer/Xcode/DerivedData/InstaAd-ddgdnbxlpxipirebpndfmgrxspel/Build/Intermediates/InstaAd.build/Debug-iphoneos/InstaAd.build/assetcatalog_dependencies.txt --output-partial-info-plist /Users/admin/Library/Developer/Xcode/DerivedData/InstaAd-ddgdnbxlpxipirebpndfmgrxspel/Build/Intermediates/InstaAd.build/Debug-iphoneos/InstaAd.build/assetcatalog_generated_info.plist --app-icon AppIcon --launch-image LaunchImage --compress-pngs --enable-on-demand-resources YES --filter-for-device-model iPhone7,2 --filter-for-device-os-version 8.4 --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --platform iphoneos --compile /Users/admin/Library/Developer/Xcode/DerivedData/InstaAd-ddgdnbxlpxipirebpndfmgrxspel/Build/Products/Debug-iphoneos/InstaAd.app /Users/admin/Documents/git/InstaAdIOS/InstaAd/InstaAd/Images.xcassets
2015-08-10 14:25:53.366 IBCocoaTouchImageCatalogTool[1054:10336] CoreUI(DEBUG): CSIGenerator using 'LZVN' Compression coreui version (358.000000)
2015-08-10 14:25:56.449 ibtoold[675:6100] An uncaught exception was raised
2015-08-10 14:25:56.450 ibtoold[675:6100] The agent crashed
Application Specific Information:
CoreSimulator 179 - Device: IBSimDeviceTypeiPad1x - Runtime: iOS 9.0 (13A4325c) - DeviceType: IBSimDeviceTypeiPad1x
Thread 6 Crashed:: TDRenditionsDistiller._distill:
0 com.apple.CoreFoundation 0x000000010bc03f61 __CFBasicHashDrain + 353
1 com.apple.CoreFoundation 0x000000010bbf4a1c CFRelease + 300
2 com.apple.CoreFoundation 0x000000010bc03f42 __CFBasicHashDrain + 322
3 com.apple.CoreFoundation 0x000000010bbf4a1c CFRelease + 300
4 com.apple.ImageIO.framework 0x000000010d7f8028 modifyJPEG + 2859
5 com.apple.ImageIO.framework 0x000000010d6079b8 CGImageDestinationCopyImageSource + 576
6 com.apple.CoreThemeDefinition 0x000000010dbfcec9 -[TDSimpleArtworkRenditionSpec createCSIRepresentationWithCompression:colorSpaceID:document:] + 1690
7 com.apple.CoreThemeDefinition 0x000000010dc0555b -[TDRenditionsDistiller _distill:] + 609
8 com.apple.Foundation 0x000000010b2c73ab __NSThread__start__ + 1198
9 libsystem_pthread.dylib 0x000000010d236268 _pthread_body + 131
10 libsystem_pthread.dylib 0x000000010d2361e5 _pthread_start + 176
11 libsystem_pthread.dylib 0x000000010d23441d thread_start + 13
Last command:
_ON_QUEUE_sendMessage:toChannelReturningError:during:
Backtrace of last command:
0 0x00000001111c69f6 -[IBAbstractPlatformToolProxy _ON_QUEUE_sendMessage:toChannelReturningError:during:] (in IDEInterfaceBuilderKit)
1 0x00000001111c68bb __74-[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:]_block_invoke (in IDEInterfaceBuilderKit)
2 0x00007fff8c046c13 _dispatch_client_callout (in libdispatch.dylib)
3 0x00007fff8c047e5e _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
4 0x000000011007aabc DVTDispatchSync (in DVTFoundation)
5 0x00000001111c67de -[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:] (in IDEInterfaceBuilderKit)
6 0x000000011aae2526 (in IDEInterfaceBuilderCocoaTouchIntegration)
7 0x000000011aacda8b (in IDEInterfaceBuilderCocoaTouchIntegration)
8 0x000000011111dbf3 __84-[IBICAbstractPlatformAdapter compileSelectedItems:options:queue:completionHandler:]_block_invoke (in IDEInterfaceBuilderKit)
9 0x000000011007abb0 __DVTDispatchAsync_block_invoke (in DVTFoundation)
10 0x00007fff8c04b323 _dispatch_call_block_and_release (in libdispatch.dylib)
11 0x00007fff8c046c13 _dispatch_client_callout (in libdispatch.dylib)
12 0x00007fff8c052cbf _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
13 0x00007fff8d58b3f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
14 0x00007fff8d54668f __CFRunLoopRun (in CoreFoundation)
15 0x00007fff8d545bd8 CFRunLoopRunSpecific (in CoreFoundation)
16 0x00000001111912bc -[NSRunLoop(IBIDEFoundationRunLoopAdditions) ib_spinRunLoopInMode:whileBlockExecutesConcurrently:] (in IDEInterfaceBuilderKit)
17 0x00000001111914ba -[NSRunLoop(IBIDEFoundationRunLoopAdditions) ib_spinRunLoopInMode:waitingForSemaphore:] (in IDEInterfaceBuilderKit)
18 0x000000010fde887a (in ibtoold)
19 0x000000010fde9e30 (in ibtoold)
20 0x000000010fdea2b0 (in ibtoold)
21 0x000000010fdf7e6f (in ibtoold)
22 0x000000010fdf8523 (in ibtoold)
23 0x000000010fdf83fa (in ibtoold)
24 0x000000010fde76c2 (in ibtoold)
25 0x000000010fdf7a64 (in ibtoold)
26 0x000000010fdf6cc9 (in ibtoold)
27 0x00007fff8eb585c9 start (in libdyld.dylib)
2015-08-10 14:25:56.451 ibtoold[675:6100] (
0 CoreFoundation 0x00007fff8d63803c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff980b976e objc_exception_throw + 43
2 CoreFoundation 0x00007fff8d637bd9 -[NSException raise] + 9
3 IDEInterfaceBuilderKit 0x00000001111c5b55 -[IBAbstractPlatformToolProxy _errorByAddingAdditionalCrashInformationToError:orRaiseIfNeededOnFailure:shouldRaiseOnFailures:waitForCrashLog:] + 1632
4 IDEInterfaceBuilderKit 0x00000001111c54cb -[IBAbstractPlatformToolProxy errorByAddingAdditionalCrashInformationToError:orRaiseIfNeededOnFailure:] + 98
5 IDEInterfaceBuilderKit 0x00000001111c6a90 -[IBAbstractPlatformToolProxy _ON_QUEUE_sendMessage:toChannelReturningError:during:] + 227
6 IDEInterfaceBuilderKit 0x00000001111c68bb __74-[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:]_block_invoke + 38
7 libdispatch.dylib 0x00007fff8c046c13 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff8c047e5e _dispatch_barrier_sync_f_invoke + 57
9 DVTFoundation 0x000000011007aabc DVTDispatchSync + 62
10 IDEInterfaceBuilderKit 0x00000001111c67de -[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:] + 393
11 IDEInterfaceBuilderCocoaTouchIntegration 0x000000011aae2526 IBUISegmentConfiguration + 6975
12 IDEInterfaceBuilderCocoaTouchIntegration 0x000000011aacda8b IBUIControlEventTypeToUIControlEventMask + 17323
13 IDEInterfaceBuilderKit 0x000000011111dbf3 __84-[IBICAbstractPlatformAdapter compileSelectedItems:options:queue:completionHandler:]_block_invoke + 230
14 DVTFoundation 0x000000011007abb0 __DVTDispatchAsync_block_invoke + 69
15 libdispatch.dylib 0x00007fff8c04b323 _dispatch_call_block_and_release + 12
16 libdispatch.dylib 0x00007fff8c046c13 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff8c052cbf _dispatch_main_queue_callback_4CF + 861
18 CoreFoundation 0x00007fff8d58b3f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
19 CoreFoundation 0x00007fff8d54668f __CFRunLoopRun + 2159
20 CoreFoundation 0x00007fff8d545bd8 CFRunLoopRunSpecific + 296
21 IDEInterfaceBuilderKit 0x00000001111912bc -[NSRunLoop(IBIDEFoundationRunLoopAdditions) ib_spinRunLoopInMode:whileBlockExecutesConcurrently:] + 500
22 IDEInterfaceBuilderKit 0x00000001111914ba -[NSRunLoop(IBIDEFoundationRunLoopAdditions) ib_spinRunLoopInMode:waitingForSemaphore:] + 131
23 ibtoold 0x000000010fde887a ibtoold + 10362
24 ibtoold 0x000000010fde9e30 ibtoold + 15920
25 ibtoold 0x000000010fdea2b0 ibtoold + 17072
26 ibtoold 0x000000010fdf7e6f ibtoold + 73327
27 ibtoold 0x000000010fdf8523 ibtoold + 75043
28 ibtoold 0x000000010fdf83fa ibtoold + 74746
29 ibtoold 0x000000010fde76c2 ibtoold + 5826
30 ibtoold 0x000000010fdf7a64 ibtoold + 72292
31 ibtoold 0x000000010fdf6cc9 ibtoold + 68809
32 libdyld.dylib 0x00007fff8eb585c9 start + 1
33 ??? 0x0000000000000002 0x0 + 2
)
Command /Applications/Xcode-beta.app/Contents/Developer/usr/bin/actool failed with exit code 255
如何解决这个问题?
最佳答案
因为assets目录下有JPG图片,所以我在项目中直接导入了jpg图片,现在可以了
关于ios - 命令/Applications/Xcode-beta.app/Contents/Developer/usr/bin/actool 失败,退出代码为 255,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31918339/
我实际上是在尝试使用RVM在我的OSX10.7.5上更新ruby,并在输入以下命令后:rvminstallruby我得到了以下回复:Searchingforbinaryrubies,thismighttakesometime.Checkingrequirementsforosx.Installingrequirementsforosx.Updatingsystem.......Errorrunning'requirements_osx_brew_update_systemruby-2.0.0-p247',pleaseread/Users/username/.rvm/log/138121
这里有一个很好的答案解释了如何在Ruby中下载文件而不将其加载到内存中:https://stackoverflow.com/a/29743394/4852737require'open-uri'download=open('http://example.com/image.png')IO.copy_stream(download,'~/image.png')我如何验证下载文件的IO.copy_stream调用是否真的成功——这意味着下载的文件与我打算下载的文件完全相同,而不是下载一半的损坏文件?documentation说IO.copy_stream返回它复制的字节数,但是当我还没有下
我正在尝试解析一个文本文件,该文件每行包含可变数量的单词和数字,如下所示:foo4.500bar3.001.33foobar如何读取由空格而不是换行符分隔的文件?有什么方法可以设置File("file.txt").foreach方法以使用空格而不是换行符作为分隔符? 最佳答案 接受的答案将slurp文件,这可能是大文本文件的问题。更好的解决方案是IO.foreach.它是惯用的,将按字符流式传输文件:File.foreach(filename,""){|string|putsstring}包含“thisisanexample”结果的
1.错误信息:Errorresponsefromdaemon:Gethttps://registry-1.docker.io/v2/:net/http:requestcanceledwhilewaitingforconnection(Client.Timeoutexceededwhileawaitingheaders)或者:Errorresponsefromdaemon:Gethttps://registry-1.docker.io/v2/:net/http:TLShandshaketimeout2.报错原因:docker使用的镜像网址默认为国外,下载容易超时,需要修改成国内镜像地址(首先阿里
print"Enteryourpassword:"pass=STDIN.noecho(&:gets)puts"Yourpasswordis#{pass}!"输出:Enteryourpassword:input.rb:2:in`':undefinedmethod`noecho'for#>(NoMethodError) 最佳答案 一开始require'io/console'后来的Ruby1.9.3 关于ruby-为什么不能使用类IO的实例方法noecho?,我们在StackOverflow上
我想从rubyrake脚本运行一个可执行文件,比如foo.exe我希望将foo.exe的STDOUT和STDERR输出直接写入我正在运行rake任务的控制台.当进程完成时,我想将退出代码捕获到一个变量中。我如何实现这一目标?我一直在玩backticks、process.spawn、system但我无法获得我想要的所有行为,只有部分更新:我在Windows上,在标准命令提示符下,而不是cygwin 最佳答案 system获取您想要的STDOUT行为。它还返回true作为零退出代码,这可能很有用。$?填充了有关最后一次system调
我最近尝试安装rails4.1.0.beta1,但是railss导致以下错误。[RVM]/gems/ruby-2.0.0-p247/gems/activesupport-4.1.0.beta1/lib/active_support/core_ext/module/aliasing.rb:32:in`alias_method':undefinedmethod`graft'forclass`ActiveRecord::Associations::JoinDependency'(NameError)[RVM]/gems/ruby-2.0.0-p247/gems/activesupport-4
我找遍了所有我能找到的地方,但似乎找不到解决这个问题的办法。我在Lion10.8.2上使用Xcode4.5.1,并尝试为Rails项目运行bundle,但它一直卡在这上面。我正在为Heroku使用Thingem。Bolanos@Jeremys-Mac-mini⦿-1.9.3fishfarm$sudogeminstalleventmachinePassword:Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingeventmachine:ERROR:Failedtobuildgemnativeextens
我按照RailsTutorial.org第三版(刚刚发布的版本)中的说明安装了Rails4.2.0.beta2。我没有使用cloudIDE,而是在带有RVM的Windows7主机上通过Vagrant使用UbuntuTrusty32。rails_4.2.0.beta2_newhello_app然后粘贴到hisgemfilesample中。在那之后,我跑了:$bundleinstall$railss服务器启动正常,但是当我尝试连接到localhost:3000时,出现“找不到服务器”更奇怪的是,我还有几个其他的Rails入门项目,我一直在使用Rails4.0.3和4.1.6,我能够很好地连
我目前有一个运行在4.2.5上的Rails应用程序,我想使用ActionCable而不必将整个应用程序升级到Rails5.0.0.beta3版本并冒破坏所有其他gem的风险。按照我在互联网上看到的指南,我已经尝试过gem'actioncable',github:'rails/actioncable'这不起作用,因为ActionCable存储库已合并到Rails存储库中。我什至试过gem'actioncable',github:'rails/rails'但这似乎不适用于ActionCable合并到Rails时发生的版本重新编号。(唯一低于5.0.0.beta*的版本是0.0.0,这似乎是