"产品"下的"运行"按钮显示为灰色,在尝试了各种论坛的一些内容后,无法弄清楚出了什么问题.
我已经尝试删除project.xcworkspace和xcuserdata文件,并让xcode生成新文件,但没有......
我的同事使用IntelliJ的AppCode,当他提取代码时,它运行得很好.但如果他在他的Xcode中打开相同的文件,他的"Run"也会变灰.
是否有任何方法AppCode 3.0可以生成文档注释IntelliJ?
例如,IntelliJ我可以输入一个方法:
public int method(float number){
// magic
}
Run Code Online (Sandbox Code Playgroud)
当它高于它时,我将输入:/**,IDE将生成如下代码:
/**
*
* @param number
* @return
*/
public int method(float number){
// magic
}
Run Code Online (Sandbox Code Playgroud)
在AppCode 3.0做了类似的技巧后,我只得到这样的东西:
/**
*
*/
- (int)method:(float)number;
Run Code Online (Sandbox Code Playgroud)
我已经检查过Preferences/Smart Keys/Insert documentation comment stub并且已经过检查.
我只看了JetBrains的应用程序代码IDE,它似乎能够启动iOS模拟器并在其中运行应用程序.
当我不得不自动部署我的项目时,我不得不求助于Applescript和GUI自动化.
他们似乎正在使用一种名为"simlauncher"的封闭工具.我想知道它背后的魔力是什么.
更新:
关于模拟器的更多信息来自'ps'的输出:
plumenator 26404 12.9 1.3 290172 52772 ?? SX 8:56PM 0:03.62 /Users/plumenator/Library/Application Support/iPhone Simulator/4.3.2/Applications/817A280D-1F74-4755-B848-B04EC8A24ADA/xxx.app/xxx
plumenator 26395 2.3 0.3 444208 13560 ?? S 8:56PM 0:00.72 /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator -SessionOnLaunch NO
plumenator 26402 1.4 0.8 318320 33052 ?? Us 8:56PM 0:00.86 /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard -SBDisableAutoDim YES -SBAutoLockTime -1 -SBAutoDimTime -1 -SBDontLockAfterCrash YES -SBDidShowReorderText YES -SBFakeBars YES -SBDontAnimateAppleDown YES -SBEnableDoubleHeightToggling YES
plumenator 26406 0.0 0.4 2466496 15792 ?? Ss 8:56PM 0:00.16 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/libexec/gdb/gdb-i386-apple-darwin --arch …Run Code Online (Sandbox Code Playgroud) 我使用root类添加了一个UIView xib文件MyView.
我在错误的地方创建了它,因此在项目中移动了它.同一个项目只是一个不同的文件夹/组.
跑步时说我有问题......
Unknown Class MyView in Interface Builder file
我无法弄清楚出了什么问题,所以我现在已经删除了项目和目录中的文件.
我已经使用SublimeText2搜索了字符串"MyView",它在项目的任何地方都不存在.
我重置了模拟器,清理了项目和构建文件夹并删除了派生数据.
仍然得到同样的错误.
有什么想法我现在可以做什么?
我有一个我正在为iOS编写的应用程序,它可以在Xcode中运行得很好但是Jetbrains的AppCode说:
Error:Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
Run Code Online (Sandbox Code Playgroud)
所以我一直在做的是让Xcode保持运行,这样我就可以点击"播放"按钮来部署/编译我的应用程序,同时在AppCode中进行实际工作.
有什么想法会导致这种情况吗?

在Jetbrains网站的下载页面中没有针对linux的下载选项.我搜索了"在Linux上使用jetbrains appcode IDE".有些人说"这是跨平台".
可以在Linux上运行jetbrains appcode IDE吗?
我不能在linux上运行它(Ubuntu/Debian)
编辑:
我提到需要Appcode的C++ IDE功能.如果iOS功能不起作用,则没有问题.
我已经安装了CocoaPods的最新版本的RxSwift.
虽然尝试使用RxSwift的简单元素,NotificationsCenter.default.rx但它不会提示使用方法.有趣的是,有时它会提示其他pod,有时候不会提示其余的,所以我必须打开XCode来检查代码更正.
我该如何解决这个问题?
在我将Xcode更新为7.3后,我无法使用AppCode 3.3.2和3.3.3开始调试我只能在没有调试的情况下运行,每次我开始使用appcode进行调试时,这会在控制台中发生:
/Users/labib/Library/Caches/AppCode33/DerivedData/TestApp-e195af2c/Build/Products/Debug-iphonesimulator/TestApp.app
停止模拟器会话......
模拟器会话以过程3047开始
进程以退出代码0结束
我找不到任何关于运行的参考xcode playgrounds,AppCode所以我假设这是不可能的?这是 中的xcode playground样子AppCode: 我什至不确定在哪里可以找到源代码。
有没有办法运行/调试的代码段swift代码AppCode?
好的,我很不耐烦.我是JetBrains PhpStorm用户,不能等待他们的C++ IDE发布.:-)他们的Objective-C IDE,Appcode,也支持C++.但我找不到一个很好的方法将一个相当大的C++项目导入Appcode,而不是一次一个地笨拙地复制文件.
创建一个将使用C++代码的现有目录结构的新Appcode项目有什么好方法?这是在Git,如果这有任何区别.