In iOS/MacOS XCode project, MacOS static library product appears "red" in Navigator, and shows no path in Assistant.
In iOS/MacOS XCode project, MacOS static library product appears "red" in Navigator, and shows no path in Assistant.
- Subject: In iOS/MacOS XCode project, MacOS static library product appears "red" in Navigator, and shows no path in Assistant.
- From: Michael Hanna <email@hidden>
- Date: Mon, 18 Jul 2011 09:22:37 -0400
In Xcode 4, I have a subproject building a static lib for both iOS and MacOS. It's originally an iOS project. Both the iOS static lib.a and the MacOS build libMac.a build product appear in the DerivedData/proj-xxxxx/Build/Products as expected. BUT in the Navigator, the libMac.a file appears "red" as if the project is missing the lib product somehow.
Also, when I click on the iOS lib.a file in the Navigator, I see the path in the Assistant but when I click on the "red" libMac.a file in the Navigator, there is no path listed(even though the file exists). Seems XCode 4 has lost the mac build.
The project and the iOS static lib target was originally created in XCode 3.2.5. The MacOS static lib was added by opening the project in Xcode 4.0.2 and creating a new Cocoa static library target.
I also have a similar issue in the parent project. The Navigator shows the build product as "red", the build product builds OK and appears in the DerivedData/.../Products dir. This project was also originally an XCode 3.2.5 project. Xcode 4 seems to build it, but looks for it in the wrong place when displaying it in the view.
I have a workspace set up for the parent project. Under Workspace Settings... "Derived Data > Default" and Build Location > Default subfolder.
The parent project builds a static library from the subprojects' static libraries. The parent static library doesn't 'glom' the subprojects libraries' products. I'm afraid that the issues with Xcode navigator missing the locations could be the cause of this.
Any suggestions?
Michael
_______________________________________________
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