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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mad_macConnect With a Mentor Commented:
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.  
0
 
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....
0
 
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.
0
 
gawhemantAuthor Commented:
Great solution provided...keep going...
0
All Courses

From novice to tech pro — start learning today.