This question shows research effort; it is useful and clear
1
Save this question.
Show activity on this post.
No biggie, but when I add the AVFoundation framework for the iPhone, it turns red for some reason I'm unable to figure out why. The project will not compile unless I add this framework, and if I do, Xcode will mark the framework red (apparently that means xcode cannot find the framework), but yet it will work.
This is quite annoying. Any clue what I might be doing wrong here?
2
Try adding AVFoundation framework via your target.
- Look for your target under "Groups and Files"
- "Get Info" for it
- Click the "General" tab
- At the bottom right of the window click the "+" button
- At the top of your list you should find AVFoundation, add it.
5 Comments
Double click your project file under "groups and files" then navigate to the "Build" tab and change the "Base SDK" to "iPhone Device 2.2". Hope this helps.
This is odd, now it's red again even though I'm using 2.2 or above. I didn't even do anything, just opened the project again and boom, there it is red again.
- close Xcode
- delete your project
- shut down your mac
- take the mac back to your boss and tell him it's not working
- wait until they figure out what it is
- if this doesn't work, find a new job that doesn't require the use of a mac
All I had to do was open up the "General" settings tab for the project and change the "Base SDK for All Configurations" value. It was set to an SDK that I no longer had installed.
answered Sep 16, 2009 at 15:36
macbuddy45
Comments
Explore related questions
See similar questions with these tags.
