Garbage Collection
|
|
Does BaseTen currently work in projects utilizing Garbage Collection? I am new to Cocoa and thus am starting with Obj-C 2.0 and XCode 3. I built the framework after turning on GC in the project settings but get.. was not compiled with -fobjc-gc or -fobjc-gc-only, but the application requires GC Thanks for any help |
|
|
Hi! |
|
|
Tuukka, Thanks for the reply. Please excuse my ignorance but I am still having issues. I open the BaseTen.xcodeproj, I make BaseTen Framework the active target. I then build the project and move the new framework to my /Library/Frameworks folder. Then I open my project and add the BaseTen.framework from the /Library/Frameworks folder. Next I hit build and go and still get objc25694: ’/Library/Frameworks/BaseTen.framework/Versions/A/BaseTen’ was not compiled with -fobjc-gc or -fobjc-gc-only, but the application requires GC Thanks again – I am really want to make this work as BaseTen seems to be the magic bullet. |
|
|
Never mind. I am an idiot. I was putting the compiled framework into /Library and no /Library/Frameworks and thus I kept adding the old non-GC framework to my project. Sorry for the confusion and thanks for the help on the GC target, I never would have found that! |