Are Automatic Reference Counting (ARC) applications allowed into the App Store? [closed]
Since ARC will work in 4.0 are we able to compile our applications with LLVM3 now and put them into the App Store?
Or do we have to wait until Xcode 4.2 to release?
There's no problem with submitting ARC enabled applications. You have just to sign and submit the app with XCode 4.1.
The runtime support for ARC is already there (current Snow Leopard and Lion versions have it built in already). And as you are allowed to use whatever tool you want to build your binaries there should be no problem with a binary built with the clang/llvm3 suite.
If you manage to force Xcode 4.0.2 to compile with Clang from LLVM 3, I imagine you could. If you use the LLVM 3 backend, Apple may or may not detect this and invalidate your binary. Of course, you can't submit with 4.2 as the standard procedure is to only allow stable SDKs.
精彩评论