1
Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp, line 5758.
这个问题可以如下解决 Building Settings 下 Other Linker Flags 加入 -ld64
2
CRASH: Invalid update: invalid number of items in section 1. The number of items contained in an existing section after the update (1) must be equal to the number of items contained in that section before the update (0), plus or minus the number of items inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of items moved into or out of that section (0 moved in, 0 moved out).
把代码中有一句刷新某个cell的代码
[self.collectionView reloadItemsAtIndexPaths:@[[NSIndexPath indexPathForItem:self.indexOfmoney inSection:0]]];
改为拿到cell后直接更新上面的空间的内容
SGCollectionCellLableText * tCell = [self.collectionView cellForItemAtIndexPath:[NSIndexPath indexPathForItem:self.indexOfmoney inSection:0]];
tCell.textField.text = self.money != 0 ? [self.money toString] : @"--";