Jump to page: 1 2
Thread overview
Any D plugins for recent Xcode?
Apr 18, 2015
Dan Olson
Apr 18, 2015
Jacob Carlborg
Apr 18, 2015
Dan Olson
Apr 19, 2015
Michel Fortin
Apr 19, 2015
Dan Olson
Apr 19, 2015
Jacob Carlborg
Apr 19, 2015
Michel Fortin
Jul 09, 2015
Dan Olson
Jul 09, 2015
Jacob Carlborg
Jul 09, 2015
Dan Olson
Jul 09, 2015
Jacob Carlborg
Apr 19, 2015
Idan Arye
Apr 19, 2015
Jacob Carlborg
April 18, 2015
Just checking to see if anybody has D and Xcode playing together nicely.

This may be the last hurdle to jump for enjoyable D use with iOS.  I finally figured out a recipe to use symbolic debugging on armv7, but being able to click in source code to set breakpoints would be more fun that typing b [long D mangled symbol] in lldb console.  Also made progress last week with building universal runtime/phobos (lipo) to support either iphonesim (i386) or hardware device (armv7).  This will allow D development without iOS hardware once I work it into the LDC cmake process.
--
Dan
April 18, 2015
On 2015-04-18 19:30, Dan Olson wrote:
> Just checking to see if anybody has D and Xcode playing together nicely.

Not for any recent version of Xcode. Michel Fortin wrote a puling for Xcode 3 [1], if you're interested.

[1] https://michelf.ca/projects/d-for-xcode/

-- 
/Jacob Carlborg
April 18, 2015
Jacob Carlborg <doob@me.com> writes:

> On 2015-04-18 19:30, Dan Olson wrote:
>> Just checking to see if anybody has D and Xcode playing together nicely.
>
> Not for any recent version of Xcode. Michel Fortin wrote a puling for Xcode 3 [1], if you're interested.
>
> [1] https://michelf.ca/projects/d-for-xcode/

Yeah, I was hoping somone might have done the same for Xcode 6.  I've never poked at how Xcode plugins works, maybe somehow it can be upgraded.  I have gotten the impression that the Xcode plugin API changes often and is undocumented, making it hard to maintain something non-Apple.

Another approach is to use different IDE that can supports iOS dev (download, debug).  Not sure what is available, but these folks setup Eclipse for Java iOS dev.

http://robovm.com
April 19, 2015
On 2015-04-18 20:18:56 +0000, Dan Olson <zans.is.for.cans@yahoo.com> said:

> Yeah, I was hoping somone might have done the same for Xcode 6.  I've
> never poked at how Xcode plugins works, maybe somehow it can be
> upgraded.  I have gotten the impression that the Xcode plugin API
> changes often and is undocumented, making it hard to maintain something
> non-Apple.

It's undocumented API, and they sometime change it although not that much. Xcode 4 broke the plugin and I didn't put much effort into figuring out what was wrong. Feel free to fork and fix it if you want, the code is on Github.
https://github.com/michelf/d-for-xcode/


-- 
Michel Fortin
michel.fortin@michelf.ca
http://michelf.ca

April 19, 2015
Michel Fortin <michel.fortin@michelf.ca> writes:
>
> It's undocumented API, and they sometime change it although not that
> much. Xcode 4 broke the plugin and I didn't put much effort into
> figuring out what was wrong. Feel free to fork and fix it if you want,
> the code is on Github.
> https://github.com/michelf/d-for-xcode/

Thanks Michel, I'll take a look.
April 19, 2015
On Saturday, 18 April 2015 at 20:18:56 UTC, Dan Olson wrote:
> Yeah, I was hoping somone might have done the same for Xcode 6.
>  I've
> never poked at how Xcode plugins works, maybe somehow it can be
> upgraded.  I have gotten the impression that the Xcode plugin API
> changes often and is undocumented, making it hard to maintain something
> non-Apple.

http://www.joelonsoftware.com/articles/fog0000000339.html
April 19, 2015
On 2015-04-18 22:18, Dan Olson wrote:

> Another approach is to use different IDE that can supports iOS dev
> (download, debug).  Not sure what is available, but these folks setup
> Eclipse for Java iOS dev.

Xamarin [1] seems to have pretty good support for iOS development. They collaborating with Microsoft to make C# (.Net) the first choice for developing cross-platform mobile applications.

Their IDE is based on (or the new) MonoDevelop, which a D plugin already exists for, Mono-D [2].

I've look at a couple of their talks and it looks really good. Although I still prefer to use Xcode.

[1] http://xamarin.com/
[2] https://github.com/aBothe/Mono-D

-- 
/Jacob Carlborg
April 19, 2015
On 2015-04-19 02:28, Michel Fortin wrote:

> It's undocumented API, and they sometime change it although not that
> much. Xcode 4 broke the plugin and I didn't put much effort into
> figuring out what was wrong. Feel free to fork and fix it if you want,
> the code is on Github.
> https://github.com/michelf/d-for-xcode/

Xcode 4 was a big change compared to Xcode 3. Hopefully there aren't that many changes in later versions. There are many other plugins that work with Xcode 6 that one can look at. There's even a package manager for Xcode plugins [1], which is a good starting point to find other plugins.

[1] http://alcatraz.io/

-- 
/Jacob Carlborg
April 19, 2015
On 2015-04-19 00:28:14 +0000, Michel Fortin <michel.fortin@michelf.ca> said:

> On 2015-04-18 20:18:56 +0000, Dan Olson <zans.is.for.cans@yahoo.com> said:
> 
>> Yeah, I was hoping somone might have done the same for Xcode 6.  I've
>> never poked at how Xcode plugins works, maybe somehow it can be
>> upgraded.  I have gotten the impression that the Xcode plugin API
>> changes often and is undocumented, making it hard to maintain something
>> non-Apple.
> 
> It's undocumented API, and they sometime change it although not that much. Xcode 4 broke the plugin and I didn't put much effort into figuring out what was wrong. Feel free to fork and fix it if you want, the code is on Github.
> https://github.com/michelf/d-for-xcode/

I just realized, I have some unpushed changes on my computer that aren't on Github. I probably never pushed them because it didn't work well enough, but it might be closer to something that works. If someone want to sort things out, I pushed those to a separate branch "xcode-4-work".

-- 
Michel Fortin
michel.fortin@michelf.ca
http://michelf.ca

July 09, 2015
Michel Fortin <michel.fortin@michelf.ca> writes:

> On 2015-04-19 00:28:14 +0000, Michel Fortin <michel.fortin@michelf.ca> said:
>
>> It's undocumented API, and they sometime change it although not that much. Xcode 4 broke the plugin and I didn't put much effort into figuring out what was wrong. Feel free to fork and fix it if you want, the code is on Github. https://github.com/michelf/d-for-xcode/
>
> I just realized, I have some unpushed changes on my computer that aren't on Github. I probably never pushed them because it didn't work well enough, but it might be closer to something that works. If someone want to sort things out, I pushed those to a separate branch "xcode-4-work".

I started trying to update d-for-xcode, and although the plugin is still incompatible with Xcode 6, at least D code displays nice in editor now and I can click to set line based breakpoints in debuggger.  Actually a huge help because I was typing 'b thread.d:1040' like stuff otherwise.

Your Xcode project looks like it has more that wasn't put in git, like dumping the Xcode API.  Is that available?

-- 
Dan
« First   ‹ Prev
1 2