How to write Xcode plugins? - xcode

Where can I find resource on how to write Xcode plugins? I don't want to write macros and project templates, but plugins that extend the IDE functionality like the ones that can be developed for Visual Studio - capable of displaying in their own window and accessing Xcode project data.

See following:
http://maxao.free.fr/xcode-plugin-interface/

Xcode does not have a public plug-in API.

maybe more up-to-date: https://github.com/phausler/XcodeAPI
found via Regexident's answer on Xcode 4 plugin development

You can install Alcatraz
And then open XCode -> Windows -> Package manager, search XCode plugin in Template tab.
Then you can start a new project with XCode plugin template in OSX category.

Related

How to install Xcode plugin for Microsoft Visual Studio?

Some developers have told me about it's possible to create iOS projects in Microsoft Visual Studio thanks to an Xcode plugin.
However, I can't find the proper way to install it, I already have tried to download it from here and I installed it but it doesn't appear when I try to create a new project.
So, if anyone can tell me the steps I have to follow in order to install the plugin properly, it would great.
Thank you in advance!
The xcode build tool you're trying to use has still a lot of issues and only few workflows are being implemented and supported. I suggest that if you wanted to create cross platform application and would like to use Visual studio code IDE then i suggest on using Xamarin its code base is c#. If you're using a mac computer then why not use xcode and if you're a windows user and wanted to create iOS apps then xamarin would be the best choice for you or unless you want to try frameworks like ionic etc. I hope i was able to help.Also , I can't comment because of still low repu , so I decided to post this as answer.

Same Jenkins Configuration for 2 Different Jobs

Greetings StackOverflow Community!
Is it possible to have the same configuration setup for an XCode Project and an Appcelerator Project in Jenkins?
I haven't really tried creating Titanium Project, and I'm not sure if it can generate an XCode Project (Like in Unity). If it's possible, can we do a generic setup?
EDITED:
Now I know that an Appcelerator Project builds an XCode project as well. Can we add an additional layer in Jenkins which dynamically determines the project then points the Project directory?
Or would it be best to just have a setup guide for XCode project and a different setup guide for Appcelerator Project in Jenkins? (As I'm documenting a guide, by the way)
Since Titanium indeed generates an Xcode project, you could do pretty much anything you'd do with an Xcode project once Titanium is done. So I'd document the Titanium compile step as a stage before continuing with either a Titanium-compiled or plain Xcode project.

Using firebreath plugin on Mac

I have developed a test plugin using FireBreath on Visual Studio 2010. I could make it work on windows by registering the output dll...
Now I would like to check whether this plugin works on Mac. I have no idea about this..
Do I need to create plugin for Mac using XCode or I can use the same dll?
Any of your help is much appreciated.. This question may seem to be silly to some of you. But I am new to C++ and plugin...
a DLL is windows-only. To build a plugin on Mac, you need xcode installed on your mac, the firebreath codebase, and the project directory (not the build/ directory) for your plugin.
Then follow the instructions on Building on Mac OS on the firebreath website.

How to open a .pbproj on Xcode?

I downloaded a sample code from the MAC OSX developer library and the code is the format of a .pbproj (Project builder) and im unable to open it on xcode.
I have tried the following without any luck:-
1) Rename FancyAbout.pbproj to Old.xcodeproj
2) Open Old.xcodeproj. Xcode will ask you to upgrade it. Save it as
FancyAbout.xcodeproj.
3) When the project opens, choose Project > Upgrade All Targets in
Project to Native... to upgrade to the Xcode build system
4) Build and run.
I run a Mac 10.7.3 with Xcode on 4.3.2
Anyone have any suggestions on how i can get this running in xcode?
Thanks in advance!
To the best of my knowledge older Project Builder, and even older Xcode projects can not be opened or upgraded directly. The only real way you could upgrade would be to find a previous version of Xcode that is able to open and upgrade the older project then save the project using the older Xcode and see if the newest Xcode is then able to open the upgraded project.
Or, simply create a new Xcode project and copy over all the source files from the old project into your new project and go from there. This option is probably considerably easier then trying to find older versions of Xcode to do the upgrade with.

Does Xcode 4.3 include Quartz Composer?

I just installed Xcode 4.3 from the App Store. As I started it first, it asked if I want to delete existing 4.2.
Does 4.3 include Quartz Composer? Where is it located? Or should I say no and keep 4.2 for QC?
No.
But you can download Quartz Composer separately: http://developer.apple.com/ > login with valid developer Id > Mac > View all downloads > Graphics Tools for Xcode.
Slightly faster instructions:
Visit https://developer.apple.com/downloads/index.action?name=Graphics
Log in
Download the "Graphics Tools for Xcode" DMG
This has changed. Open XCode. In the top menu go to XCode > Open Developer Tools > More Developer Tools > and then download the "Graphics Tools for Xcode"
I don't know if it does or not, but you can always install 4.3 alongside 4.2. Just choose to install it in a different directory (I usually name my extra installations using the version of Xcode, like "Developer 4.3"). So you can go ahead with the installation and check for Quartz Composer. If you decide to use Xcode 4.3, just remove your existing "Developer" folder and rename your "Developer 4.3" folder to "Developer".
Quartz Composer is part of Graphics Tools, which you can easily download from Apple Developer website :) Some tools are now available as separate downloads since Xcode 4.
Please note that Quartz frameworks and Quarts Composer View are already available on Xcode 4, so you can embed Quartz compositions without a problem into Xcode app. If you want create Quartz compositions, just download the latest Graphics Tools pack from Apple Dev Download site.

Resources