iOS without Springboard: Terminating since there is no system event server

最后都变了- 提交于 2019-12-09 15:01:37

问题


I'm attempting to create a simple ("Hello World") application using IB vs Springboard. Once I added a button with its connection to an action routine, I get the following:

Terminating since there is no system event server. (Run the EventPump or pass the argument "-RegisterForSystemEvents" if you want to run without SpringBoard.

Can someone please clarify this?

1) What's an 'EventPump' and how is it implemented?
2) Where do I pass the 'RegisterForSystemEvents'?

I searched through the Apple library & googled; but I haven't found any basic documentation on this.


回答1:


You're confusing SpringBoard and storyboards. Your storyboard is fine but you need to reboot your device (or Quit and restart the Simulator), as the SpringBoard (the process which handles the home screen) has died.




回答2:


Lee, I was also facing same problem then i just close the simulator and reopen it. it works fine for me next time.




回答3:


This won't answer your questions but might help people with the same issue.

What it worked for me was to delete the app in the iPhone simulator, force quit the simulator and hit run again in Xcode.

This happened when I switched a project from Xcode 4.5 Dev Preview to Xcode 4.3.3.




回答4:


Adding a use case scenario because Javawag's response helped me as well.

I ran into the same error message, and the problem was I was switching between two versions of xcode and two versions of the simulator. I had the iOS 6 simulator running, switched to an older xcode that wanted the iOS 5 simulator, and got the odd error message mentioned. I simply quit the iOS 6 simulator, allowed the older xcode to launch the correct simulator, and things worked again.




回答5:


It happened to me as well when i switched between Xcode 4.5 and 4.2.1 . I just closed down the Xcode 4.5 and ran the project again. It worked.




回答6:


quit simulator and run again. If you have installed both XCode 4.5 and XCode 4.3.3 or older version, make sure that to quit both XCode and simulator to run on single version, i.e. eithere new or old. Simply it is because of using simulator (XCode 4.5) launching your application of older xcode project.



来源:https://stackoverflow.com/questions/11301828/ios-without-springboard-terminating-since-there-is-no-system-event-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!