Xcode: Using a custom framework
Posted
by Robert
on Stack Overflow
See other posts from Stack Overflow
or by Robert
Published on 2008-09-16T23:45:40Z
Indexed on
2010/05/21
4:00 UTC
Read the original article
Hit count: 314
The error I'm getting:
in /Users/robert/Documents/funWithFrameworks/build/Debug-iphonesimulator/funWithFrameworks.framework/funWithFrameworks, can't link with a main executable
Cliff notes:
- trying to include framework
- doesn't want to link
More detail: I'm developing for a mobile device... hint, hint using Xcode and I'm trying to make my own custom framework which I can include from another application. So far, I've done the following:
- Create a new project; an iPhone OS window based app.
- Go to target info-> under packaging, change the wrapper extension from app to framework
- Go to Action->new build phase -> copy headers. Change roles of headers to 'public'
- From my application, I add the framework to the frameworks group.
© Stack Overflow or respective owner