iOS开发问题总结2016-07

2016-07-15  本文已影响147人  BlessNeo

I am getting this error in my code it says to Make a symbolic breakpoint at UICollectionViewFlowLayoutBreakForInvalidSizes to catch this in the debugger. I am confused as to what it is actually asking here is the code in which I am thinking its asking it to be put in just not sure where?

解答:

You can systematically solve this by doing this:
Also, you should share your complete error, so that I can lead you to more specific issue. My thinking is that you have some sort of autoLayout issue in your UICollectionView.
On the left of your project, click the Break Point navigator


Next click on the plus button on the bottom left and click Add Symbolic BreakPoint
enter image description here
Then you will be shown a popup.
AddUICollectionViewFlowLayoutBreakForInvalidSizes in there like so

After this, just hit enter(on keyboard) and click anywhere
Run your code and see where the project stops

解答: If you give Xcode a path to use for headers, it will check that path when you use an #include
or #import
statement. If the file isn't there, it quits.
If you have the path set as "recursive", Xcode will search folders it finds there if it doesn't find the file.

I also find this issue. It's XCode 7.0.1 bug,I also fix it without use images.xcassets.
The image can't show launchScreen.xib from images.xcassets.
1.you can copy the image to xcode project root path.
2.you must rename the image with the different name.

上一篇 下一篇

猜你喜欢

热点阅读