News for hackers. Stuff that matters.
Re:Apple Starts to Woo Its App Developers by ryanwaggoner on Friday June 10, 2016 @10:08PM (#11881639)
That's a feature, not a bug. What possible benefit could there be to helping people who are hostile to their platforms develop for them? If you want to develop for Apple platforms, you do so from Apple platforms. Fair and logical.
Re:Apple Starts to Woo Its App Developers by mkishi on Friday June 10, 2016 @10:15PM (#11881659)
So, developers who use other systems and want to publish iOS apps are "hostile" to Apple's platform? That makes no sense.

A polished iOS app with lots of users is worth much more for the whole Apple ecosystem than a few developers using OSX computers.

Re:Apple Starts to Woo Its App Developers by ryanwaggoner on Friday June 10, 2016 @11:26PM (#11881889)
I think that if the hurdle of using OSX to develop for Apple platforms is so high to one that they'd describe it as "fundamentally developer hostile", then yes.

It just doesn't make sense to me why anyone thinks they're entitled to have Apple build and support a complex developer toolchain on their platform of choice, and if Apple doesnt, it's a sign of "hostility".

I don't think Apple wants that person building for their platforms. As an apple user and developer, neither do I.

Re:Apple Starts to Woo Its App Developers by mkishi on Saturday June 11, 2016 @12:37AM (#11882097)
> What possible benefit could there be to helping people who are hostile to their platforms develop for them? If you want to develop for Apple platforms, you do so from Apple platforms.

That suggests you think every developer who wants to publish iOS apps should either do so from a Mac or they are automatically hostile towards Apple. That's the point I was touching.

I personally wouldn't call Apple's choices hostile and I don't think anyone is entitled to have cross-platform tools. But you made it clear you think I'm an "enemy" as long as I'm not on a Mac, and there would be zero benefits in allowing me to publish apps to my phone.

(ps. I do own a Mac)

Re:Apple Starts to Woo Its App Developers by ryanwaggoner on Saturday June 11, 2016 @01:25AM (#11882214)
No, I was responding to a particular user.
Re:Apple Starts to Woo Its App Developers by kitsunesoba on Saturday June 11, 2016 @03:44AM (#11882537)
They may not be "hostile" but they are most certainly more likely to treat iOS as a second-class citizen or an afterthought, which is obviously not all that desirable. Depending on who you ask a half hearted port is worse than nothing at all.

By requiring a Mac to develop for iOS, they're forcing a certain level of investment which makes it more likely that developers targeting the platform make their apps worth the time spent (for both the dev and the consumer). By opening it up they're welcoming those who port just to tick a box.

Re:Apple Starts to Woo Its App Developers by Drakim on Saturday June 11, 2016 @04:51AM (#11882714)
That's ridiculous.

Sure, somebody who doesn't have an iPhone and yet wants to develop apps for the iPhone is likely to treat iOS as a second class citizen.

But you are saying that if somebody bought the iPhone on launch date, and has upgraded to every new model as soon as it came out, and is obsessed with all things iOS....then he is still gonna treat iOS as a second-class citizen because he doesn't own a OSX and a Mac, which are different hardware and a different OS from the device he wants to make an app for??

That's crazy.

Re:Apple Starts to Woo Its App Developers by mkishi on Saturday June 11, 2016 @04:49AM (#11882706)
That's a much more reasonable argument. It's also likely the real reason there's no cross-development support.

It does open another thread of discussion, though: as far as I'm aware, there's no proven correlation between buying a Mac and caring about the quality of your iOS product.

I could just as well say that companies that want to tick a box for their sub-par apps farm invest in several platforms much more easily than starting devs who can't afford multiple setups and pride themselves in craftsmanship.

Which one is closer to reality or has the bigger impact, I have no idea.

Re:Apple Starts to Woo Its App Developers by timecube on Friday June 10, 2016 @10:12PM (#11881654)
Lots of people use iPhones with Windows computers. What actual benefit does this completely arbitrary restriction give to anyone other than Apple?
Re:Apple Starts to Woo Its App Developers by kartickv on Friday June 10, 2016 @10:47PM (#11881764)
It's not an arbitrary restriction. All the tools will have to be reimplemented. Take the simulator, for example. It's implemented by translating iOS system calls into OS X system calls. It's not an entire OS running on a emulated CPU. That won't work on Windows. Will Apple have to implement an emulator? But that will be slower for developers using a Mac. Should have they to support both?

There are significant downsides. You can argue that the upside is still worth it, but you can't dismiss the downsides as "completely arbitrary".

Re:Apple Starts to Woo Its App Developers by sjtgraham on Friday June 10, 2016 @11:23PM (#11881877)
AFAIK this is incorrect the simulator runs x86/x86-64 binaries and links against x86/x86-64 versions of Apple's frameworks (including UIKit). There is no translation of syscalls happening, the instruction for a syscall, e.g SVC 0x80 on ARM wouldn't be happening in your binary but in a framework your binary (indirectly) links to.

Also the simulator is basically an x86 version of iOS, look inside for yourself and see. Someone correct me here but I don't see why it would be impossible to for apple to ship a simulator for Windows, n.b. how MS has shipped the Linux ABI translation.

Re:Apple Starts to Woo Its App Developers by kitsunesoba on Saturday June 11, 2016 @03:49AM (#11882555)
The simulator doesn't run a full x86 version of iOS; it runs an x86 version of the iOS userland on top of the host kernel (Darwin) and components shared between OS X and iOS.

A port of the simulator would be possible but it'd be a good deal heavier than its OS X counterpart since it'd be running the entire OS instead of just the topmost layer.

Re:Apple Starts to Woo Its App Developers by sjtgraham on Saturday June 11, 2016 @06:15AM (#11882894)
Both platforms share the same core OS (Darwin) and Kernel (XNU), so when I say the simulator is basically an x86 iOS I think that's fair.
Re:Apple Starts to Woo Its App Developers by kartickv on Sunday June 19, 2016 @02:19AM (#11932004)
You're again missing the point that that would be heavier and so perhaps not as good for developers that choose to use macOS.

The question is not whether "the simulator is basically an x86 iOS". The point is that requiring macOS to build iOS apps is not an arbitrary restriction — it's a tradeoff. You can argue for or against Apple's decision, but you can't argue that it's an arbitrary restriction on Apple's part.

Re:Apple Starts to Woo Its App Developers by douche on Saturday June 11, 2016 @08:52AM (#11883274)
Why is the simulator not simply a VM loaded with iOS, like with Android, or Windows Phone, or most of the other targets that you can cross-compile and test for from Windows or Linux?
Re:Apple Starts to Woo Its App Developers by pcwalton on Friday June 10, 2016 @10:13PM (#11881655)
The same type of benefit that Apple gets from making iTunes available on Windows: a broader userbase.

A broader base of developers can mean more and higher-quality apps. A better selection of apps can lead to greater sales of iPhones and iPads.

(It also might not. But there is certainly a potential benefit for Apple here.)

Re:Apple Starts to Woo Its App Developers by paulcole on Friday June 10, 2016 @11:30PM (#11881900)
> A broader base of developers can mean more and higher-quality apps.

One word counter-argument: Android.

Re:Apple Starts to Woo Its App Developers by pcwalton on Friday June 10, 2016 @11:47PM (#11881944)
I don't think that Android would have had better apps if Android developer tools were Mac-only. The reason behind the Play Store/App Store quality difference has more to do with the way the store is run, the system frameworks (Core Animation vs. the Java frameworks, etc.), and the inclination of users to purchase apps.
Re:Apple Starts to Woo Its App Developers by paulcole on Saturday June 11, 2016 @01:04AM (#11882159)
> I don't think that Android would have had better apps if Android developer tools were Mac-only.

Would it be worse?

Re:Apple Starts to Woo Its App Developers by ChrisLTD on Friday June 10, 2016 @11:14PM (#11881852)
Apple platforms already have the best consumer software, so maybe Apple's strategy is the right one?