right now i have to go into xcode and manually add the framework in question.
Is there any way to make it do this automatically, or do something tricky in the .a such that it includes a reference to the framework in question (in this case CoreGraphics.framework), or include it via a source file #pragma or anything like this?
thanks
You have to let Xcode know to link against any frameworks required by your plugins. You can do this via Applescript if you want to automate it.
great. I am not even close to enough of an OS X expert to know how to even begin doing this. Got any tips or examples?
thanks
Ok i’ve wasted hours trying to figure out how to make this work. I have failed completely. I can’t seem to get an applescript to do anything useful. I also failed to get Automator to do anything useful.
i tried numerous variations on somethign like this:
tell application “Xcode”
tell root group of front project
set my_group make new group with properties {name:“test”} – this does succeed
tell my_group
make new file reference with properties {name:“XXXX.framework”, path type:absolute, path:“/System/Library/Frameworks/XXXX.framework”}
end tell
end tell
end tell
tips please?
(ps i’m currently on xcode 4)