I Created a new Cocos2D game. But it did not work well in iPhone simulator. It often disappeared in the simulator. I had to relaunch the simulator or relaunch Xcode. It was very boring. I didn't know why, because this project was still very simple.
I noticed there is a warning that Info.plist is included in the target. I did the following things:
1. Renamed Info.plist to ProjectName-Info.plist
2. Changed Info.plist to the same name in the target settings
3. Removed ProjectName-Info.plist from the target
The problem fixed!
No comments:
Post a Comment