kstenerud / iOS-Universal-Framework

An XCode project template to build universal frameworks (arm7, arm7s, and simulator) for iOS / iPhone.
2.95k stars 473 forks source link

Extra headers dir created in real framework #104

Open ghost opened 11 years ago

ghost commented 11 years ago

In the real framework - public headers are placed in an extra headers dir below the the current version headers dir causing xcode to not see the headers.

I had to comment out the following script lines to eliminate this behavior.

line 173

if [ -e $FRAMEWORK_HEADERS_DIR/$PUBLIC_HEADER ]; then

mkdir -p "$FRAMEWORK_HEADERS_DIR/$RELATIVE_PATH"

mv "$FRAMEWORK_HEADERS_DIR/$PUBLIC_HEADER" "$FRAMEWORK_HEADERS_DIR/$RELATIVE_PATH/$PUBLIC_HEADER"

fi

Im not sure what the purpose of this is no framework I have ever seen puts public headers in headers/header.

ghost commented 11 years ago

I believe this is because in my project I have my public headers in a dir called "Public Headers" perhaps its trying to use that path and truncating after the space.