ZXingWidget.xcodeproj how to include the project in Xcode 4

Hi All,


I am stuck with an issue of including an project in xcode 4 i have all the document but it works with xcode 3 and not xcode 4.

Please help me out  in how to add ZXingWidget.xcodeproj to my project in xcode 4.

Regards,
Hemant
LVL 3
gawhemantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mad_macCommented:
Hi, not an expert in any way on this but from playing around it would seem in XCode 4 you need to create a project workspace then add your projects to it.  However I only have a few weeks experience with XCode 4....
gawhemantAuthor Commented:
same here so i am confused on it and no forums have yet commented on the such things.Lets see if anyone can help me out will try your suggestion.
mad_macCommented:
done some playing about this afternoon and have it working..

simply create a new workspace from the file new menu and let it open the workspace, this should give you a blank xcode view.

next in finder locate you existing projects and drag the <projectname>.xcodeproj into the navigation area of the workspace you should end up with a view like.  

Projects
when dragging your second or later projects into the navigation area make sure that the disclosure symbol is at it's left most otherwise the project will become a child of another project rather than a child of the workspace.

to set dependancies between the projects in the workspace you need to modify the link section of the build phase for the main project, in my example i have a IOS app and a IOS static lib if you look at the images below this should become more obvious.

Build Options
Selector
I hope this helps as it is not that intuitive on how to set this up.  

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gawhemantAuthor Commented:
Great solution provided...keep going...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Swift Programming

From novice to tech pro — start learning today.