Failed to find or create execution context for des

2020-02-16 06:41发布

I'm working on a project for iOS and I'm doing the programming with Visual Studios and it connects to a mac server using Xamarin. I recently tried to add more views to the storyboard and an additional class. When I tried to build the code, I received this error. http://pastebin.com/Ub5s89aa This is what the output from the console. http://pastebin.com/fhWDy2cJ

I don't know what this error means and when I tried to look up any part of the error, nothing helped. I cleaned my builded and tried to rebuild, and I also closed Visual Studios and reopen it to see if that help, but it didn't. Has anyone else had this problem before?

7条回答
爷的心禁止访问
2楼-- · 2020-02-16 07:21

After having a google I found a similar question here and here, summary of the some of the answers in that question:

  • Make sure you are running the latest version of Xcode and you dont have a beta installed.
  • Close Xcode and then opened up Activity Monitor. Terminate any Ibtool processes running and restart Xcode.
  • Delete any custom color pickers you have installed in for Xcode, close the Xcode and relaunch
  • Try recreating any nibs you may have changed.

summary from the Xamarin Forums link:

Uninstall Xamarin studio, Xcode
Delete /Libraries/Developer and ~/Libraries/Developer folders
Reboot
Reinstall Xcode, Xamarin studio

If none of these work could you check in the Console.app for any errors when building.

Hope this helps.

查看更多
\"骚年 ilove
3楼-- · 2020-02-16 07:24

Mine happened when updating to Xcode 10.3

X-code helper didn't get the permission to control the computer.

This is what i did to solve the problem

System Preference > Security&Privacy > privacy tab > accessibility

give permission for 'Xcode Helper'

Restart X-code and kill all simulators like @riik stated

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
查看更多
一纸荒年 Trace。
4楼-- · 2020-02-16 07:29

Restarting the CoreSimulatorService solved the issue on my machine.

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
查看更多
迷人小祖宗
5楼-- · 2020-02-16 07:32

None of these other solutions worked for me, unfortunately. After hours of digging, I discovered I had to reset the read/write permissions in my home folder.

查看更多
兄弟一词,经得起流年.
6楼-- · 2020-02-16 07:34

This issue is with xcode update 10.3 and mixpannel is gives this as build error

Steps to fix.

Open terminal and paste this

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

Clean Xcode and build. Thats all

查看更多
冷血范
7楼-- · 2020-02-16 07:41

I had the same problem after I upgrade my Xcode to version 10.3.

I just restart my Mac and problem solved!


Hope this would work with you too :)

查看更多
登录 后发表回答