An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4)

今天遇到一個這樣的問題,在5s的模擬器上邊能運行,換成6的模擬器就出現了

“An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4)”

在Google上一搜出現這個結果

When you say "my app" are you a programmer or an end user?

A user can't fix an error like that under most circumstances.

FBSOpenApplicationErrorDomain code =4 error on StackOverflow suggests it is an error from cached data on the simulator (for programmers). Cleaning and restarting worked for them.

OK, you're the programmer. A lot more information is still needed to help diagnose a problem like this.

Most of the threads found from a quick search suggest it's most common on the simulator but Google Groups for RoboVM has a thread where someone mentions it on their device too.

What environment are you using - are you just using plain XCode with Cocoa or have you included other frameworks?

What versions of products - what iOS, what devices, what XCode version?

When does it crash - does the app make it out of initialising?

If you don't know how to use breakpoints in XCode, learn. An excellent tutorial on debugging app crashes in detail is

英語不好的甚是看不懂啊,但是找到紅色這幾個關鍵詞,應該是對在模擬器上對他們進行清理和重置,試了下,問題解決了。。還是有問題多去Stack OverFlow上逛逛吧

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章