views:

85

answers:

2

Hi everybody,

I downloaded a project developed by Apple employees ( who taught course at Stanford on iPhone application development). Strangely , the frameworks are red.

I tried to locate coreGraphics.framework and UIKit.framework to add them again but i couldnt find them either.

Taimur

A: 

@Taimur Hamza - Its happen (red color) following any one of reason,

  1. Your downloaded project may be miss some required files

  2. Before run the application at first time.

    so, first you have to find that above reason is happen and try to solve via copy the framework from another running project and paste it your project.

Sivanathan
+1 This answer didn't deserve a checkmark. It's not really incorrect just poorly phrased.
TechZen
Sorry, I mean down vote not checkmark.
TechZen
+3  A: 

The red text indicates that the actual files are not at the path that the project has for them.

Get info on the framework and look under the General tab. The first section shows the name and path of the framework bundle itself. The most common cause of a problem with system supplied frameworks is that the path type has been changed to something that breaks the path. The default setting is Relative to Current SDK. Change the path until you get one that leads to the actual framework.

If you have the developer tools installed in a custom location, you are more likely to run into this problem. If you copy a project from someone with non-standard settings, you can encounter it as well.

TechZen