[xcode] - don't codesign from within xcode
[platinum] - fix shadowed local var
[xcode] - fix framework include path (take it from sdkroot)