|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I have two three projects in my application: Base.xcodeproj Framework.xcodeproj App.xcodeproj Base.xcodeproj and Framework.xcodeproj produce static libraries. App.xcodeproj in this case creates a command-line application. I wish to define dependencies in App.xcodeproj so that building App.xcodeproj causes Base.xcodeproj and Framework.xcodeproj to be rebuilt if they are out of date. I figured that it would be possible to do this if I simply dragged the project files from Base and Framework into App.xcodeproj. When I do this, Xcode acknowledges this action and shows the build products of these projects in the App.xcodeproj project browser. I check the checkbox to target the build products from these projects for inclusion in App.xcodeproj. The problem occurs when I build App.xcodeproj. The build system doesn't seem to be able to locate the static library files for Base and Framework. I get an error of the following form: Bundlizing /Development/VisualScience/TNT/Version1/ViSOSExamples/Code/BasicServices/build/BasicServices.build/Debug/BasicServices.build/Objects-normal/ppc/libVisosFramework.ab build/Debug/libVisosFramework.a cd /Development/VisualScience/TNT/Version1/ViSOSExamples/Code/BasicServices /usr/bin/gcc-4.0 -bundle -arch ppc build/Debug/libVisosFramework.a -Wl,-all_load -mmacosx-version-min=10.4 -Wl,-twolevel_namespace -Wl,-twolevel_namespace_hints -Wl,-undefined -Wl,dynamic_lookup -Wl,-multiply_defined -Wl,suppress -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o /Development/VisualScience/TNT/Version1/ViSOSExamples/Code/BasicServices/build/BasicServices.build/Debug/BasicServices.build/Objects-normal/ppc/libVisosFramework.ab powerpc-apple-darwin8-gcc-4.0.1: build/Debug/libVisosFramework.a: No such file or directory I would have though that if Xcode could analyse the xcodeproj files I dragged into App.xcodeproj, it would have been able to sort out the library include paths so that the build results from Base and Framework could be linked into the application generated by App.xcodeproj. Am I doing something wrong here? The documentation that comes with Xcode is a bit too 'introductory', and doesn't seem to cover setting up this sort of relationship between .xcodeproj files. -- Kind regards, James Milne _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.