Failed to launch IBCocoaTouchImageCatalogTool via

2019-04-03 04:18发布

I have an Xcode project which was downloaded from the internet so I don't know which Xcode version was used to write it but the language is Swift 2. I opened it in Xcode 7.1 beta 1 and I get the following compile time error.

Failed to launch IBCocoaTouchImageCatalogTool via CoreSimulator spawn

enter image description here

I deleted the DerviedData foler, cleaned and build the project several times. Tried converting the project to latest Swift syntax but it says there's nothing to convert.

I'm all outta ideas. Suggestions?

11条回答
你好瞎i
2楼-- · 2019-04-03 04:52

So After Trying a bit i removed the XCassets file form the Copy Bundle Resources, build once without it and then added it again. Solved it for me.

太酷不给撩
3楼-- · 2019-04-03 04:55

The same happened to me and it was solved by cleaning the project. However, if you cleaned it —as you say you did—, I would try closing and reopening Xcode. Even though it seems stupid, it works more often than not.

不美不萌又怎样
4楼-- · 2019-04-03 04:56

Had to add a step Airman00's answer.

  1. List item
  2. Clean the Project
  3. Quit Xcode
  4. Delete derived data
  5. Reopen Xcode Build

That got it working for some reason...

查看更多
戒情不戒烟
5楼-- · 2019-04-03 04:58

I was also facing the same issue tried cleaning and restarting XCODE didn't worked for me,

so I removed xcassets and added the image sets again one by one, and that worked for me.

戒情不戒烟
6楼-- · 2019-04-03 05:00

I had to restart my machine to get this to work. Just in case, here are the exact steps I did:

  1. Clean project
  2. Quick Xcode
  3. Delete Derived Data
  4. Restart machine
  5. Reopen
查看更多
爷、活的狠高调
7楼-- · 2019-04-03 05:01

I had the same issue. My solution was to do the following

  1. Clean the Project
  2. Quit Xcode
  3. Reopen Xcode
  4. Build

That got it working for some reason...

查看更多
登录 后发表回答