我在Xcode-6-GM-Seed中创建了一个游戏,我遇到的问题是主页按钮没有出现在模拟器中.
我需要能够按下主页按钮才能从手机中快速删除应用程序,但我没有看到主页按钮.
我该如何解决这个问题?是否有某种命令可以使用,或者我需要以编程方式执行它,直到他们添加主页按钮?有没有其他方法可以删除应用程序及其内容?

通常我总能在Stack Overflow上找到我正在寻找的东西.但这次我真的很难过.
我已经为那些遇到类似问题的人阅读了其他Stack Overflow响应; 但无济于事.(我认为其中一些是我正在使用Mavericks,我最近将Xcode更新为6.0.1.)
我的困境开始于从Xcode收到此警告:"目标完整性供应配置文件即将到期......"这是真的.我最近更新了开发人员的许可证,我确实需要更新配置文件.
所以在我更新Xcode之前,我去了iOS开发中心并创建了一个新的配置文件并下载了它.我在Window-> Organizer/Devices中选择了它,我删除了旧的.但警告并没有消失.
我从一个无法删除其配置文件的人那里读了一篇关于Stack Overflow的帖子.他们建议使用iPhone配置实用程序.我去了该程序的网络链接; 并在那里读到,对于小牛队,我现在应该使用Apple Configurator.
我下载了Apple配置器,但是当我开始使用该程序时,我无法轻易看到有关配置配置文件的任何信息.
我开始想,也许我确实需要一个名为iPhone配置实用程序的旧程序.所以我下载了它,然后安装了.但我无法在任何地方找到它.我很困惑.iPhone配置实用程序是Xcode的一部分还是Apple Configurator的一部分?
更糟糕的是,在我更新到Xcode 6.0.1之后,在Windows-> Organizer/Devices中我能够看到我的配置文件并添加和删除它们的屏幕消失了!(我不确定它在哪里移动或如何到达它.)
我担心如果我不尽快处理此警告,应用程序可能会停止工作,因为它引用了过期的配置文件.
是否有人在使用Mavericks和Xcode 6.0.1更新配置文件方面取得了一些成功?
更新到之后Xcode 6.0.1,我的项目在链接阶段构建错误.我不知道为什么,但我确信这是关于什么的OpenGLES.因为当我删除关于它的代码时,它构建正常.
以下是完整的错误消息:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_EAGLContext", referenced from:
objc-class-ref in PPSSignatureView.o
"_glDisable", referenced from:
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glGenVertexArraysOES", referenced from:
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glGenBuffers", referenced from:
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glBufferData", referenced from:
-[PPSSignatureView setupGL] in PPSSignatureView.o
"_glVertexAttribPointer", referenced from:
-[PPSSignatureView bindShaderAttributes] in PPSSignatureView.o
"_glDeleteVertexArraysOES", referenced from:
-[PPSSignatureView tearDownGL] in PPSSignatureView.o
"_glMapBufferOES", referenced from:
_addVertex in PPSSignatureView.o
"_glDrawArrays", referenced from:
-[PPSSignatureView drawRect:] in PPSSignatureView.o
"_glBindBuffer", referenced from:
-[PPSSignatureView tap:] in PPSSignatureView.o …Run Code Online (Sandbox Code Playgroud) 当我尝试使用我已经存在的Xcode 5中运行良好的配置文件时,我一直致力于iPhone应用程序开发.我的开发配置文件替换为生产,它将自动选择Xc:....类型配置文件,并成为生产版本.
任何想法发生了什么?
我正在研究斯坦福大学的CS193p课程(我不是斯坦福大学的学生,我只是想学习),作业编号为5,我们必须通过调用Flickr api从Flickr获取图像.我只是想下载一个图片列表并将它们打印到控制台,但我得到一个代码为-1005的NSURLErrorDomain.我打印出来的错误信息如下:
错误:错误域= NSURLErrorDomain代码= -1005"操作无法完成.(NSURLErrorDomain错误-1005.)"UserInfo = 0x7f9449c83df0 {NSErrorFailingURLStringKey = https://api.flickr.com/services/rest/?method= flickr.places.getTopPlacesList&place_type_id = 7&格式= JSON&nojsoncallback = 1&API_KEY = 4f9c3155b34836b2ac15318d98b93f3a,NSErrorFailingURLKey = https://api.flickr.com/services/rest/?method=flickr.places.getTopPlacesList&place_type_id=7&format=json&nojsoncallback=1&api_key=4f9c3155b34836b2ac15318d98b93f3a,_kCFStreamErrorDomainKey = 1 ,_kCFStreamErrorCodeKey = 57,NSUnderlyingError = 0x7f9449c7fca0"操作无法完成.(kCFErrorDomainCFNetwork error -1005.)"}
Flickr API调用发生在以下方法中:
NSURLSession *urlSession = [NSURLSession sessionWithConfiguration:[NSURLSessionConfiguration ephemeralSessionConfiguration]];
NSURLSessionDownloadTask *downloadTask = [urlSession downloadTaskWithURL:[FlickrFetcherHelper URLforTopPlaces] completionHandler:^(NSURL *location, NSURLResponse *response, NSError *error) {
NSArray *topPlaces;
if (!error) {
topPlaces = [[NSJSONSerialization JSONObjectWithData:[NSData dataWithContentsOfURL:location] options:0 error:&error] valueForKeyPath:FLICKR_RESULTS_PLACES];
}
dispatch_async(dispatch_get_main_queue(), ^{
completionHandler(topPlaces, error);
});
}];
[downloadTask resume];
Run Code Online (Sandbox Code Playgroud)
我正在使用xCode 6,不确定这是否与问题有关.几天前,同样的代码正在运行,我认为我没有改变任何可能搞砸的东西,但它显然有.
我是iOS编程的新手,我使用的语言是Xcode 6.0.1中的Swift。我目前正在我的应用程序中实现聊天功能。我已经使用Web套接字从服务器发送/接收消息,并且工作正常。我遇到的问题是显示已发送/已接收的消息。
我创建了一个UIViewController,它具有一个表格视图,一个文本字段和用于发送消息的按钮。我已经应用了所有必要的约束以适应自动布局,并实现了所需的委托。每次用户发送/接收消息时,都会向数据源(字符串数组)中添加一个新的消息字符串,然后调用:
self.tableView.reloadData
Run Code Online (Sandbox Code Playgroud)
该表由自定义单元格组成,视图中带有图像和标签。几次发送/接收工作正常,但是一段时间后,表格视图混乱,仅保留自定义单元格内的图像,如该图像所示
这是我的cellForRowAtIndexPath的代码:
func tableView(tableView: UITableView,cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell
{
var cell: customMessageCell = self.tableView.dequeueReusableCellWithIdentifier(cellIdentifier ,forIndexPath: indexPath) as customMessageCell
if(messages[indexPath.row].contains("Fiona")){
cell.myAvatar.hidden = true
cell.myMessage.hidden = true
cell.myMessageBubble.hidden = true
cell.yourMessage.text = messages[indexPath.row]
cell.yourAvatar.hidden = false
}else{
cell.yourAvatar.hidden = true
cell.yourMessage.hidden = true
cell.yourMessageBubble.hidden = true
cell.myMessage.text = messages[indexPath.row]
cell.myAvatar.hidden = false
}
cell.selectionStyle = UITableViewCellSelectionStyle.None
return cell
}
Run Code Online (Sandbox Code Playgroud)
我已经检查了消息数组实际上是否在增加,但是当我在表视图中重新加载数据时,就会出现问题。我该如何解决?这是在表中插入新单元格而不是(添加到数据源+重新加载表)更好的方法吗?谢谢!
我正在使用TableViewController.我已经取消Adjust Scroll View Insets了,Extended Edges但它没有帮助 - 第一个单元太高了.我正在使用Xcode 6.

当我尝试进入此屏幕时Xcode 6.1崩溃:编辑方案 - >运行 - >选项选项卡
截屏示例:http://meandmark.com/blog/wp-content/uploads/2013/12/Xcode-5-Current-Working-Directory.png
现在每次进入"编辑方案......"时都会崩溃
我尝试重新启动甚至重新安装Xcode.当我重新安装Xcode时,我可以打开"编辑方案"窗口,但是"选项"选项卡再次崩溃了.
崩溃报告:
Process: Xcode [404]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.1 (6604)
Build Info: IDEFrameworks-6604000000000000~2e)
Parent Process: ??? [1]
Responsible: Xcode [404]
Date/Time: 2014-11-05 15:54:10.508 +0100
OS Version: Mac OS X 10.10 (14A389)
Report Version: 11
Time Awake Since Boot: 710 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Sending _editActiveContextAction: to <IDESchemeToolbarController: 0x7fa2173e4940> from <NSMenuItem: 0x7fa217598500 Edit Scheme…> …Run Code Online (Sandbox Code Playgroud) 在Mavericks上运行Xcode 6.1,这是一个xcode问题吗?或者我做过的事
对不起,我知道发布这些错误一定很烦人,我试着用谷歌搜索但找不到有效的解决方案
无论我是运行未经修改的模板xcode文件还是我试图编写自己的代码,都会发生这种情况.:(
谢谢,乔
CompileC /Users/joe/Library/Developer/Xcode/DerivedData/pac-dmdcvwzinfweyzgefcqbhztzjxfl/Build/Intermediates/pac.build/Debug-iphonesimulator/pac.build/Objects-normal/x86_64/main.o pac/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/joe/Desktop/pac
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/joe/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing …Run Code Online (Sandbox Code Playgroud) 
希望图像解释问题.为什么6和6 Plus分别有2个条目?更好的是,我该如何清理它?
xcode6 ×10
ios ×6
objective-c ×5
iphone ×4
xcode ×3
uitableview ×2
arm64 ×1
cs193p ×1
home-button ×1
ios8 ×1
opengl-es ×1
swift ×1
tableview ×1