Разработка Apple/iPhone Предпочтения IDE?

В моем случае

Мне добавили файл google-services.json в корневой каталог проекта, я переместил его в папку приложения, и проблема была исправлена.

MyProjectRootDir/google-services.json

move to --> 

MyProjectRootDir/app/google-services.json
8
задан Kara 14 January 2014 в 21:25
поделиться

3 ответа

There really is no alternative IDE on OS X for writing native applications. Some dislike the Xcode built-in editor, however. One very popular alternative is TextMate (non-free, but well worth the ~$50). Xcode can be configured to use your editor of choice for editing text files. Free alternatives include Emacs and Vim ports for OS X.

You can, of course, use the gcc toolchain without Xcode (e.g. using one of the Unix-style build systems such as Make). You can also use xcodebuild at the terminal command line to build an Xcode project without using the Xcode GUI at all (you'd be hard-pressed to configure and manage the project without the GUI, however). Combining these two, one could cobble together an IDE from e.g Eclipse to build an OS X app. iPhone would be harder since Xcode handles certificate signing etc. for you, but still possible. You would loose all of the nice Objective-C completion and documentation integration you get from Xcode, of course.

So, in summary, Xcode is pretty much the only game in town. It will undoubtedly take a while to get used to coming from VS. In particular, code generation is almost unheard of in the Cocoa world. When you feel yourself searching for those kind of tools, train yourself to try a different approach. Objective-C's late-binding combined with the power of NIB/XIB (bundles produced in Interface Builder that describe the UI of an app; XIB is a newer, version-control-friendly XML-based format that is automatically compiled into a NIB, the old-style format from NextStep days) makes code generation unnecessary.

For non-Cocoa/iPhone development, the ecosystem is naturally larger. Nokia has their own IDE for the Qt toolkit which can be used to write OS X (but not iPhone) apps. Eclipse can be used to write Java apps using any of the Java toolkits (including SWT and the Qt-Java framework, QtJambi).

For pure Windows-developer familiarity, there's also Mono which runs on OS X. MonoDevelop may run on OS X, but I'm not sure.

9
ответ дан 5 December 2019 в 14:06
поделиться

Для чистого Легкость XCode будет подходящим вариантом, поскольку он интегрируется с симулятором iPhone и Interface Builder. Кроме того, если вы хотите развернуть приложение на реальном устройстве, XCode выполняет установку сертификата и управление им. У меня нет опыта работы с другими IDE для OSX, поэтому я не могу 100% ответить на ваш вопрос. Но это то, о чем вам нужно знать во время расследования.

Сообщите нам, что вы нашли!

1
ответ дан 5 December 2019 в 14:06
поделиться

Я думаю, что XCode - самый популярный выбор среди разработчиков Cocoa. Я думаю, лучшее, что вы можете сделать, - это сразу начать писать приложения и исследовать их.

http://cocoadevcentral.com/ - Есть несколько отличных руководств, они также обычно очень удобны для скриншотов.

2
ответ дан 5 December 2019 в 14:06
поделиться