Sources familiar with Apple's plans say the primary reason for banning cross compilers is to support the new sophisticated multi-tasking APIs in iPhone OS 4.0, reports AppleInsider.
The system will now be evaluating apps as they run in order to implement smart multitasking. It can't do this if apps are running within a runtime or are cross compiled with a foreign structure that doesn't behave identically to a native C/C++/Obj-C app.
"[The operating system] can't swap out resources, it can't pause some threads while allowing others to run, it can't selectively notify, etc. Apple needs full access to a properly-compiled app to do the pull off the tricks they are with this new OS," wrote one reader under the name Ktappe.
Apple news, rumors, tutorials, price drop alerts, in your inbox every evening, free.
Unsubscribe at any time.
Success!
You have been subscribed.
Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments (2)
Comments are closed for this article.
0
mmmhshiney - April 10, 2010 at 4:44am
Does this mean apps will need to be re-written if they are to work on 4.0?
0
David - April 9, 2010 at 5:24pm
Seems unlikely. There does not seem to be such deep analysis by the OS but rather requests for services by the app combined with implementing specific methods needed for the OS to call back the app as needed (such as to tell its time to finish a task is up or to request more audio data). This only requires the proper API interfacing. It's all in the SDK docs on multitasking.