Skip to main content

All Questions

2 votes
4 answers
410 views

Why inline assembly doesn't work with ARC in Xcode?

I am really confused with this subject. I am using LLVM 4.1 compiler on Xcode and when I compile a simple basic code like this in 32 bit or x64 or x64-x86 mode with ARC off, everything is ok but if I ...
Aug's user avatar
  • 599
5 votes
2 answers
2k views

How to use ARC compatible files in non ARC compatible projects

My project has dependent libraries that don't compile under the LLVM compiler, so my project is not compatible with ARC. How can I include other third party libraries and source files that are ARC ...
Ramakrishna's user avatar
3 votes
2 answers
775 views

Disable Objective C ARC using XCodeConfig settings

It is easy to turn off ARC in XCode using the Build Phases tricks, but is it possible to specify using XCodeConfig? Seems to me that using XCodeConfig approach (if possible) is more flexible.
Ryan's user avatar
  • 10.1k
2 votes
2 answers
2k views

(nonatomic, readwrite, retain) and (nonatomic, strong) in Objective-C ARC

Any difference? Suppose they are the same as in ARC, retain should be replaced by strong? So can I say that they are the same?
Ryan's user avatar
  • 10.1k
6 votes
2 answers
2k views

Xcode 4.4, build app with ARC for iOS 4.2

Xcode 4.4, Mountain Lion, llvm 4.0 compiler. I build my app, it works on ios5, ios6 devices, but on iphone 3g with ios 4.2 I have such error: dyld: lazy symbol binding failed: Symbol not found: ...
Gleb Tarasov's user avatar
0 votes
2 answers
403 views

iOS project compilation

I am working on a project accessing web service. I found a project http://d1xzuxjlafny7l.cloudfront.net/downloads/PromoTest.zip The above code include JSON library [project setting compiler = LLVM ...
SDEZero's user avatar
  • 363
1 vote
1 answer
325 views

How to enable the ARC optimizer in debug configuration?

The Transitioning to ARC Release Notes makes this statement: One issue to be aware of is that the optimizer is not run in common debug configurations, so expect to see a lot more retain/release ...
Proud Member's user avatar
  • 40.5k
5 votes
1 answer
4k views

Convert to ARC - LLVM compiler 3.0 Error

I opened up an older project of mine and chose Convert to Objective-C ARC from the Edit/Refactor menu. I am getting the following error: Apple LLVM compiler 3.0 Error Error in format of file: /Users/...
RanLearns's user avatar
  • 4,166