Open stitch84 opened 12 years ago
Check your build settings for your framework and make sure "Strip Linked Product" is set to Yes.
Weird that it's not doing that by default. I'll have to take another look at the template.
You can't strip a static library (nor an object file), only an app can be stripped. The problem here is because your embedded framework should be installed in a path common to all developers using it. The path MyFramework-fognfixcojlotibypyqsmfowrxgk probably does not exist on another machine.
Hey kstenerud and 0xced,
thanks for your help. I had no time to try the suggestion yet.
@0xced: Do you know a setting in xcode where i can change this path?
I have seen this too and the temporary fix I found is to set the Debug Information Build Settings to DWARF instead of "DWARF with dSym file" for both your framework and the application. I'm wondering whether there's any way to include the .o objects in the .framework so it can be redistributed without this issue
And I found the fix. You need to set the GCC_GENERATE_DEBUGGING_SYMBOLS of the framework project to NO - the bundle will not look for these .o object
Hi,
i can successfully build my framework and work with it on my own Mac. But there are problems when i share this framework with other developers.
There´s following linker warning:
ld: warning: directory not found for option '-F/Users/michael 1/Documents/Projekte/iPhone/SVN/test/test/fwtest/../../../../../Library/Developer/Xcode/DerivedData/MyFramework-fognfixcojlotibypyqsmfowrxgk/Build/Products/Debug-iphoneos/MyFramework.embeddedframework'
Why does XCode search something in the DerivedDate folder? That does not make sense to me.
Hope you can help me with that