252 points · by yconst · 11y ago · 174 comments
In a word - Yes.
I am a developer from a 3rd world country, and I bought a Mac Mini for $500 (not '$1000+') for the purposes of entering the Apple ecosystem. I'm not going to spend another $500 on an iPhone[2], especially since I'm not sure if it will work out financially. The emulator will have to do (my apoligies to anyone who'll potentially run my apps and encounter bugs I miss because of this).
1. I'm not sure if the smiley is an indicator of sarcasm or not
2. If push comes to shove,I can afford it, but I've already bought the phone I'll use for the next 2-3 years (OnePlus), and I'd rather spend the money on other things - like family.
The passion for building things doesn't only strike those with four figures of disposable income, you know :)
With credit card? not!
And in my case, is necessary to fax(!) apple and do banking stuff that is a problem if you have credit problems
Though note that there's a current bug listed that looks like accounts with expired developer memberships currently can't use free provisioning.
(For me, this is mildly irritating, because I let my membership lapse a few days ago on a hunch that they'd combine the developer programmes. And then they did, but I can't use the free provisioning, and the re-enrolment form doesn't seem to be working right now either.)
Really nice to see this though.
More generally, this is an awesome move. Kudos to Apple :)
yeah try/catch is very advanced.
Regarding Apple, I find it inappropriate (and dishonest) to use the word "advanced", when it is just catching up with a commodity feature. Exceptions are provided by almost every other modern programming language in the world.
That said, the spec here is a bit different than C++ exception I believe.
func loadData() throws { }
func test() {
do {
try loadData()
} catch {
print(error)
}
}
I guess that you have to prefix any statement that might throw with 'try', and cannot prefix other statements with it.If so, their motto really seems to be 'explicit over implicit'. I'm not sure that is an improvement, but I'm not sure that it is bad, either, provided that the refactoring tools work fine (for example when one removes that "throws" from the definition of loadData)
I wonder why they insist on that. Perhaps it is easier to parse?
http://clang.llvm.org/docs/AutomaticReferenceCounting.html#e...
When bitcode is enabled for a target, all the objects, static libraries and user frameworks used when linking that target must contain bitcode. Otherwise, an error or a warning will be issued by the linker. (Note: missing bitcode is currently a warning for iOS, but it will become an error in an upcoming beta release of Xcode 7.) ENABLE_BITCODE should be consistently turned on for all the targets. If you use a library or framework provided by a third party, please contact the vendor for an updated version which contains bitcode."
Dear God, do we need to wait for all libs to update? :S
This is the insane part - you're relying on things you have zero control over and zero support for. Apple's requirement is no different than some fatal bug discovered or backdoor discovered in those libraries - except Apple is giving you some notice without immediately putting the liability on you.
Is there a fundamental change of architecture planned for future iOS devices?
My guess is that it is future-proofing towards running iOS apps on Mac OS and/or running (parts of) iOS apps on the Apple Watch. It also might mean that Apple plans to make their own ARM extensions (for example, I suspect having the CPU know about tagged pointers, so that an 'add' instruction can do an indirection, if needed, might be an overall win)
Update: the release notes for the Xcode 7 Beta say:
"• Bitcode. Archive for upload to the App Store in an intermediate LLVM binary representation that the store can then optimize into the 64 or 32-bit executable to be delivered to customers."
This falls under a feature they call 'App Thinning'. It makes the App Store optimize an app for the device it gets installed on, CPU-wise and asset-wise, and also allows your app to download some resources on demand.
Oh boy; if this is the start of apps lazy-loading resources and code, I'm really excited. It's the largest barrier to signing in your account from any device.
What would be the selling points for an ARM MAC? Access to the iOS app store software library? (unlikely) Better battery usage? (maybe) Super cheap devices? (un-apple-like)
Changing archs has been done before but I don't see a rosetta for intel apps running smoothly on arm. Virtualizing windows and linux is another killer app for intel macs that would be missed for some.
http://channel9.msdn.com/Shows/Going+Deep/Mani-Ramaswamy-and...
https://msdn.microsoft.com/en-us/library/dn584397%28v=vs.110...
It boggles my mind how little I hear people complain about this. Aren't these basic tools by now?
There's something else going on with your environment, it shouldn't be giving you this many problems.
I guess Apple just hates refactoring. Why though?
Once Swift 2 is nailed down, I'm sure refactoring will follow.
It is a very odd feeling to miss Eclipse, but back when I worked in XCode, that would frequently be how I felt.
Chris Lattner is a bit of a C++ head, no? LLVM is a C++ project...
With that said, yea, refactoring support in Xcode is a drag.
This update is almost surely for Yosemite and above. The cost of developing on Apple platform is crazy these days. I miss the days when they could mock Microsoft for having an expensive Visual Studio. Now they make you buy a new Mac per developer every 2 years.
I'm running a 2008 Mac Pro running Xcode 6 and Yosemite. I have a 2012 MacBook Pro at home running Yosemite and Xcode 6 (but my word is the hard disk in that slow - luck of the draw getting a 5200 Hitachi or a Samsung, eh!!!)
Which 2012 Macs can't run Xcode 6?
I find this difficult to believe, care to provide evidence of it being an Apple problem?
Now, for indie developer setting, these issues might not be huge. But the problem here is - Apple puts businesses in awkward positions, when they have to bulk buy RAMs and upgrade all the systems just to compile on the newest minor release of iOS. Then, they started soldering RAM, so now to compile on 8.3, buy 25 new Macs or fuck off.
Apple's actions that screws us - solder RAM, make only latest XCode work with latest SDK, make OS impossible to run on low RAM, make XCode run only on newest OS.
woops, repetition !
This says it all, regarding what the future for Objective-C looks like.
Generics don't make much sense in Objective-C dynamic model.
> Objective-C lightweight generics are ignored by Swift. Any other types using lightweight generics are imported into Swift as if they were unparameterized.[1]
So it doesn't look like the goal here is Swift interop.
[1]: Excerpt from Using Swift with Cocoa and Objective-C (Swift 2 Prerelease) https://itunes.apple.com/us/book/using-swift-cocoa-objective...
I really want to start using Swift. And no, can't upgrade.
Also it's very hard to run with 2gb ram. For example you won't be able to use the iOS emulator because the swapping will take so long XCode will timeout when trying to launch the emulator. It's very painful even with 4gb. 8 is probably the minimum.