Xcode
LF-DevJourney
这个作者很懒,什么都没留下…
展开
-
Invalid redeclaration of ****
在Xcode中重复定义和重复编译都可能造成这个问题.简单地说: 重复定义:某各类,方法变量定义了多次。 重复编译:对同一个文件编译了多次。具体例子和解决方案请参考上面的链接。...原创 2018-05-03 15:51:51 · 10177 阅读 · 0 评论 -
The file ”XXXX.app“ couldn't be opened because you don't have permission to view it
有很多情况可引起次问题,可以逐一尝试:project.pbxproj: checkout the workable project.pbxproj file.Build Options: set Compiler for C/C++/Objective-C to default compiler.Executable file: set to $(EXECUTABLE_NAME) or...原创 2018-05-04 13:09:01 · 5159 阅读 · 0 评论 -
IOS reload rows of secitons or a specific section
摘自我在SO 问题Reload tableView section without reloading header section - Swift的回答,如果觉得有帮助,请移步SO给个upvote.只需要code的话,这一段就够了var indexPaths = self.tableView.indexPathsForVisibleRows/* just roload visib...原创 2018-05-17 11:56:25 · 283 阅读 · 0 评论 -
Could not insert new outlet connection: Could not find any information for the class named XXXX
Here are some things that can fix this (in increasing order of difficulty):Clean the project (Product > Clean)Manually create the code and control drag to it. (Change type as needed.) (Idea fro...原创 2018-05-04 23:59:46 · 964 阅读 · 0 评论 -
友盟 PBItemCollectionServicer connection disconnected & Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)
但是用swift 接入友盟登陆或分享时,在授权(我使用的QQ)后跳回出现该问题,在Xcode控制台窗口出现 PBItemCollectionServicer connection disconnected.并在AppDelegate文件开头处出现 Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)Env:Xcode V...原创 2018-05-07 12:48:56 · 5796 阅读 · 0 评论 -
malloc: *** error for object 0x1740a8340: pointer being freed was not allocated
ios xcode: app(7827,0x1acf34c40) malloc: * error for object 0x1740a8340: pointer being freed was not allocated* set a breakpoint in malloc_error_break to debugThis may be caused by opening safari wh...原创 2018-05-07 17:13:18 · 3478 阅读 · 0 评论