随笔分类 -  iphone question

上一页 1 2
ipad xcode连接不了iPad的。
摘要:今天是3月14号,也就是传说中的白色情人节。早上拿着ipad连接到电脑上,没想到xcode竟然识别不了。刚开始我以为是ipad也需要像iphone一样制作证书,于是我满怀期待的翻开教程开始制作证书。证书制作结束后,也把证书应用到手机和xcode上,结果xcode还是识别不了iPad。接着我就怀疑是不是我新设置的项目有问题,不假思索的制作器iphone证书上来。我把iphone连接到xcode上,xcode就能显示iphone设备了。接着我把iphone手机里头的证书给删掉,发现xcode还是能够连接上iphone。从这里就可以推断出一个结论,那就是xcode是否能连接上ios设备跟证书没... 阅读全文
posted @ 2012-03-14 16:17 wtq 阅读(4522) 评论(0) 推荐(0)
iPhone iPhoneSimulator.platform/Developer/usr/bin/clang++ failed with exit code 1 出现这种错误的原因是
摘要:问题:出现Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang++ failed with exit code 1 这个错误的原因详见以下说明。该说明说是:重新定义了一个LoginViewController。所以只要将其中的一个LoginViewController删除掉就行了。ld: duplicate symbol _OBJC_IVAR_$_LoginViewController.loginLoadingView in /Users/tqw/Library/Developer/Xcode 阅读全文
posted @ 2012-03-13 14:13 wtq 阅读(3618) 评论(0) 推荐(0)
iphone targets 证书不能选择
摘要:描述:如果想在真机上调试的话,若出现如下图的这种情况(双击targets而不是project) 原因是:targets的Summary的Identifier的内容有问题。比如原本Identifier是com.vsstoo122.vsstoo而写成com.test.vsstoo.就会出现上述这种情况。所以只要修改Identifier就行了。 阅读全文
posted @ 2012-03-05 14:37 wtq 阅读(223) 评论(0) 推荐(0)
iphone 安装cocos2D 出现问题
摘要:1:在安装cocos2D时,安装成功,但没有发现模板。具体参照cocos2D ITEye解决问题: 阅读全文
posted @ 2012-02-28 15:48 wtq 阅读(155) 评论(0) 推荐(0)
iphone 自定义uiTableViewCell,如何通过其数据成员来访问cell本身
摘要:先显示自定义的UITableViewCell类 1 2@interfaceTreeViewCell:UITableViewCell{3UIButton*btnExpand;//按钮:用于展开子节点4SELonExpand;//selector:点击“+”展开按钮时触发5TreeNode*treeNode;//每个单元格表示一个节点6UILabel*label;//标签:显示节点title7idowner;//表示onExpand方法委托给哪个对象8UIImageView*imgIcon;//图标9NSIndexPath*cellIndexPath;//该单元格对应的索引10}11... 阅读全文
posted @ 2012-02-20 18:47 wtq 阅读(710) 评论(0) 推荐(0)
iPhone 我调试代码到某一个函数的调用处,结果单步调试无法进入函数里头。
摘要:问题:我调试代码到某一个函数的调用处,结果单步调试无法进入函数里头。 以下是代码:-(void)passValue:(NSArray *)secondNodesArray{ TreeViewCell *cell = (TreeViewCell*)[self.tableView cellForRowAtIndexPath:indexPathCopy]; [cell OnExpandCell]; }-(void)OnExpandCell{ [self Expand];}-(void)Expand{ NSLog(@"Expand"); if ([treeNode hasChil. 阅读全文
posted @ 2012-02-20 14:37 wtq 阅读(969) 评论(0) 推荐(0)
iPhone request for member `treeNode ' in something not a structure or union 的解决办法
摘要:问题:当使用成员变量时,提示错误信息。问题:我要实现一个树结构的UITableView,,然后重新派生了UITableViewCell,并为其添加了TreeNode节点。代码如下:@interface TreeViewCell : UITableViewCell { TreeNode* treeNode;//每个单元格表示一个节点}@property (retain) TreeNode* treeNode;@implementation TreeViewCell@synthesize onExpand,imgIcon,owner,treeNode;然后我在另一个view使用Tree... 阅读全文
posted @ 2012-02-06 09:46 wtq 阅读(7002) 评论(0) 推荐(0)
iphone xcode 错误提示 Xcode encountered an internal logic error.
摘要:利用xcode的Organizer上传应用程序时,碰到如下错误:Xcode encountered an internal logic error. Choose "Continue" to continue running Xcode in an inconsistent state. Choose "Crash" to halt Xcode and file a bug with Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data 阅读全文
posted @ 2012-01-17 09:40 wtq 阅读(2125) 评论(0) 推荐(0)
iphone 常见编程问题的解决办法
摘要:1如果碰到如下问题:[__NSArrayMobjectAtIndex:]:messagesenttodeallocatedinstance0xa115ed0 的解决办法是 解决办法:使用retain,让其保留计数器加1.2.viewWillDisappear 在模拟器上可以调用,但在真机上不可调用的解决办法是:? 有待回答。 阅读全文
posted @ 2012-01-06 10:34 wtq 阅读(218) 评论(0) 推荐(0)
iphone error when adding Three20 to new XCode 4 proj
摘要:I have watched the video on how to do the installation for a new project. My project is called Test1 and I typed in:python three20/src/scripts/ttmodule.py -p Test1/Test1.xcodeproj Three20and it gives me:ERROR:root:Unable to open the project file atthispath (is it readable?): Test1/Test1.xcodeproj/pr 阅读全文
posted @ 2011-12-20 10:43 wtq 阅读(386) 评论(0) 推荐(0)
iphone "Three20.h"file not found
摘要:1 犯了一个低级的错误,竟然在导入头文件时,写成这样#import "Thre20.h/Three20.h",这简直是晕了。应该写成#import"Three20/Three20.h"具体参考如下:http://chepri.com/2011/04/22/visual-guide-manually-adding-three20-xcode-4-project/这篇文章非常的不错哦。 阅读全文
posted @ 2011-12-20 10:31 wtq 阅读(617) 评论(0) 推荐(0)

上一页 1 2