Dependent projects and multiple SDKs

I'm trying to build a pair of libraries that target the iPhone and OS X from the same set of sources. I've created a single project with two targets, one for each SDK. I've then created individual front-end projects that reference the appropriate target from the shared project.
My problem is getting the inter-project build dependencies working. When it comes time to link in the library, Xcode seems to check the build flavor defined at the project level, not the target level. If I manually change the setting in the lib project, it builds fine - I'd love to have this happen automatically, if possible.
That turned out pretty wordy, so here's an example:
MyLib.xcodeproj has two flavors: MyLib_iphone, and MyLib_cocoa. MyLib_cocoa gets built to the build/Debug folder; MyLib_iphone winds up in build/Debug-iphonesimulator.
MyCocoaApp.xcodeproj includes MyLib.xcodeproj, and its target has a dependency on MyLib_cocoa.
The problem happens when I do a clean build of MyCocoaApp, if I forget and leave the Base SDK setting in MyLib on the iPhone Simulator value. When I build MyCocoaApp, MyLib_cocoa builds correctly and winds up in the correct place (build/Debug), however I get a linker error when MyCocoaApp tries to find the resulting lib in build/Debug-iphonesimulator.
Am I missing a setting that allows the front-end product to find the lib in the correct location?
Thanks.

I'm very new to Xcode, so not sure of the terminology. I added MyLib.xcodeproj to MyCocoaApp.xcodeproj, so I guess that makes MyLib a sub-project? When I expand the MyLib tree node, I see entries for the two built targets, but not the source files.
Xcode almost gets it right - it builds the correct target from the inner project, it's just looking in the wrong location to link to that target.

Similar Messages

  • Question about dependent projects (and their libraries) in 11g-Oracle team?

    Hello everyone,
    I have a question about dependent projects. An example:
    In JDeveloper 10.1.3.x if you had for instance 2 projects (in a workspace): project 1 has one project library (for instance a log4j library) and project 2 is a very simple webapplication which is dependent on project 1. Project 2 has one class which makes use of log4j.
    This compiles fine, you can run project 2 in oc4j, and the libraries of project 1 (log4j) are added on the classpath and everything works fine. This is great for rapid testing as well as keeping management of libraries to a minimum (only one project where you would update a library e.g.)
    However in 11g this approach seems not to work at all anymore now that weblogic is used, not even when 'export library' is checked in project 1. The library is simply never exported at all - with a noclassdeffound error as result. Is this approach still possible (without having to define multiple deployment profiles), or is this a bug?
    Thanks!
    Martijn
    Edited by: MartijnR on Oct 27, 2008 7:57 AM

    Hi Ron,
    I've tried what you said, indeed in that .beabuild.txt when 'deploy by default' is checked it adds a line like: C:/JDeveloper/mywork/test2/lib/log4j-1.2.14.jar = test2-view-webapp/WEB-INF/lib/log4j-1.2.14.jar
    Which looks fine, except that /web-inf/lib/ is empty. I presume its a sort of mapping to say: Load it like it in WEB-INF/lib? This line is not there when the deploy by default is not checked.
    I modified the TestBean as follows (the method that references Log4j does it thru a Class.forName() now only):
    public String getHelloWorld() {
    try {
    Class clazz = Class.forName("org.apache.log4j.Logger");
    System.out.println(clazz.getName());
    catch(Exception e) {
    e.printStackTrace();
    return "Hello World";
    In both cases with or without line, it throws:
    java.lang.ClassNotFoundException: org.apache.log4j.Logger
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:42)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at nl.test.TestBean.getHelloWorld(TestBean.java:15)
    Secondly I added weblogic.xml with your suggested code, in the exploded war this results in a weblogic.xml which looks like:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    <jsp-descriptor>
    <debug>true</debug>
    <working-dir>/C:/JDeveloper/mywork/test2/view/classes/.jsps</working-dir>
    <keepgenerated>true</keepgenerated>
    </jsp-descriptor>
    <library-ref>
    <library-name>jstl</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    </weblogic-web-app>
    The only thing from me is that container-descriptor tag, the rest is added to it during the deployment. Unfortunately, it still produces the same error. :/ Any clue?

  • Export to MS Project and multiple resources to one role

    Ok, after this rather cryptic title i will explain my problem:
    We are currently in a project where we have the following requirement:
    A download of cProjects needs to be imported into MS Project 2007.
    When a project role is staffed with multiple resources in cProjects it is imported into MS Project as a single role with only the first resource attached to it. All the other resources are nowhere to be found.
    Does anyone have a solution to this?
    Edited by: Miel Claessens on Jul 16, 2010 12:57 PM
    Edited by: Miel Claessens on Jul 16, 2010 12:58 PM

    Hello Meil,
    You can try to implement your requirement in BAdI DPR_MSP_CUST_FIELDS method CUST_CONVERT_DPR2MSPINT. Here you have to convert each and every Resource assigned to a Role as individual resource in MS Project. You have to use method CUST_CONVERT_MSPINT2DPR to convert it back in Project's format.
    e.g. 1) Downloading Project to MSP --> Role 1 has Resource 1 and Resource 2 then in first method you need to Create entry for Resource 1 and Resource 2 and keep track of to which role these are staffed. But this will create individual entries for each resource and will not add the resources name to Project role. Other possible implementation would be that you can maintain the Employee number of each Resource in some Text field which is not used in Field Mapping and accordingly decode these Emplyee numbers while uploading the Project from Ms project.
    2) Uploading Project from MSP --> Use second method CUST_CONVERT_MSPINT2DPR to decode the above implementation to fill the Project structure for Role and Resources.
    You may check it if it is possible to implement it in that way.
    As a standard, as metioned earlier, it is not possible.
    Thanks and Regards,
    Piyusha

  • Multiple libraries, projects and reorganizing for the new year

    I have used Aperture since 1.0 and really like it but the growing pains are still present - over time of use, I've ended up with multiple libraries [2 main ones and 2-3 little ones that probably can be safely archived]. I want to start fresh in the new year and have a new Library that is my main one, my only one in fact == is it possible/feasible/desireable to export projects from Library A and B and then import the ones i want into my 2007 Library the way my new organizing system will be? I mainly have images according to geography and people [e.g. people in locations versus family and friends]. Can I consolidate all my Libraries into one new one for use in the future ?? Will exporting each project and then importing into my new master Library work??

    I've been thinking just a little about what features I would like the next rev of aperture to have. Though I haven't thought through the specifics, easier and more efficient use and management of multiple libraries, projects etc would be nice. Whole aperture projects referenced from multiple libraries or some such? (I said I hadn't thought it through!)
    It's over a year since aperture came out, macworld is coming up, and I suspect that 2.0 will be released eventually some time in the future, perhaps with changes (maybe even improvements!) in library and project workflow.
    So while I too am considering how to organize my own aperture materials I am currently holding off for bit just in case there might maybe possibly be (Conjecture Warning!!!) something new announced soon....
    MBP17 2.16 ghz 2gb 120gb   Mac OS X (10.4.8)  
    MBP17 2.16 ghz 2gb 120gb   Mac OS X (10.4.8)  

  • Is there a way to set up browse sequences for project with multiple TOCs and conditionalized modules

    I'm using RoboHelp 9 with WebHelp output.
    I've got five outputs, one of which contains Help for common functions, while the other four contain Help for licensed modules. When a user opens the Help for a licensed module, the user sees the core Help and the licensed Help. In addition, files are conditionalized so that searching for unlicensed content from a licensed Help module brings up nothing.
    I've been troubleshooting problems with the Previous Topic and Next Topic which, thanks to William, I learned are related to browse sequences. After trying assorted configurations, I've got a couple of questions:
    Does RH support only a single browse sequence in a project, even when the project has multiple outputs & TOCs?
    If RH supports only a single browse sequence, does that mean there is no way to create a unique browse sequence for each separate output?
    If RH supports multiple browse sequences, what is the workflow?
    I also maintain a 'master' TOC that contains all the modules, both common and unlicensed. What I've done for now is to autocreate a browse sequence based on the 'master TOC'. When I generate output for a licensed module, which is conditionalized, I only see the TOC for that module and, therefore, can only browse between books and subbooks in that module. I've also verified that topics that do not appear in the conditionalized module, such as for another licensed module, do not appear in the Search results list either.
    Carol

    Me again, Carol
    You also asked about the functional differences between WebHelp and WebHelp Pro, so let me elaborate.
    I'm aware of only two major differences (other than the extra benefits of feedback analytics reports and management of "Areas" with authentication in RoboHelp Server).
    The behavior of Browse Sequences as explained above
    The fact that Content Categories are not supported in WebHelp Pro for this latest version 9.
    As for the Browse Sequences you are trying to provide for different modules (licensed, etc.): Multiple Browse Sequences are included in a single .BRS file. The sequences are defined in the XML within the single file.
    As a workaround (for either WebHelp or WebHelp Pro) you could create a NGP Help.brs. which you have already created for one module; then backup and archive it. Then, create a modification for the different module before you generate again. The NGP Help.brs. will need to have the same name as your project so you will have to manage the desired .brs file into the project folder when you generate that version. All of your other choices (TOC, Index, Conditional Tags, etc.) would remain the same for the respective modules.
    Finally, I note that you are apparently generating WebHelp Pro right now even though you are not publishing it to the RH Server? This is really not the best practice. You should generate plain WebHelp for a web server that does not have RH Server on it (even though you may be getting away with it). As for your concern about "breaking" something; each output is placed in a different !SSL! folder automatically when you generate, so you should be able to generate WebHelp without interferring with the WebHelp Pro output. Then, you can re-publish to the RH Server using WebHelp Pro whenever the server is ready.
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

  • Project management and multiple master images

    Anyone here making use of 2 or more projects with the same master image in each project?
    scenario is:
    project 1 "blah shoot" <-- contains all images from shoot
    project 2 "portfolio" <-- will contain some of the images from the shoot
    The problem im having at the moment is when i drag any master image from project 1 into project 2, it removes the master file from project 1
    Surely i can have multiple images in multiple projects?

    You can copy the master image to your portfolio by
    clicking and dragging with the option key held down.
    I don't know of a way to link these images so that
    changes in one are carried over to the other though.
    If someone does know, please let me know, it'd make
    my life easier...
    If you drag an image from one project into an album under another project, it will not move the master - it puts only that version in the album, linked back to changes made in the original project.
    if you export that project, the master that version is based on will be copied at that time and pushed out into the exported project. So if you export a project and then re-import you will no longer have a link but a copied master. To get around that you can manually copy the project with the album holding links out of the Aperture library to elsewhere to make backups or move a set of projects together,

  • Multiple exams in one project and variable

    Hello captivators,
    How do I make a captivate project with multiple exams. And with variables (widgets) that I need in the whole project.
    In the intro of the project you can select a character. That selected person is the visual coach (different branding) for the course.
    The student needs to through an intro module, next he can choose 6 parts of the course.
    One part = intro,n * show me, n * practice me, 1 * exam.
    The student needs to follow 1 part to the end. And then return to the intro.
    1st option: one project
    I can’t seem to make multiple examns with multiple results
    2nd option: multiple CP’s
    Then I have problems with the variables that are only known in one CP (SWF)
    3th option: Aggregator
    Then I can’t make condition. And I can’t hide the captivate menu when exported. I need conditions.
    HEEEELP Please,
    Koen

    I've not tried something like this to advise on whether it's possible in Captivate natively...but you've seem to have looked at all options and not found it possible. If that's the case, then perhaps the best option is to make the 'aggregator' in Flash, where you load each related CP file as the condititions are met. It's definitely possible to do, as one of my colleagues always uses his own 'Flash Shell' for this sort of thing. Possible for you, and ok in the project constraints?
    Erik

  • Re-allocating Actual Costs and Actual Work from one project to multiple projects

    My company would like to track costs in one project and then re-allocate those costs to multiple projects.  Example: An end user would submit a timesheet against a task named 'Analysis' for Project A.  Once accepted and published, the
    costs for those hours would be subtracted from Project A and 60% of those costs would be transferred to the 'Analysis' task for Project X and 40% of the costs for those hours would be transferred to Project Y. 
    We believe we can accomplish this through reporting, but before we go this route, we wanted to make sure there was not a logical, supported way in MS Project Server to complete these actions.  Could a script be developed to accomplish this?
    Thank you!
    Tasha

    Out of the box Project and Project Server do not support this. However with VBA anything is possible. You could also use PSI to work directly with project data in teh Server db but that would take much longer to develop. Check you can do what you want
    in VBA then you can use the result to spec the server version afterwards.
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Problem in loading multiple lev1 and multiple lev2 WBS elements in projects

    Hi guys,
    I've a requirement to load (from file) projects with multiple level 1 and multiple level 2 WBS elements. I'm using CJ01 recording to load projects in step 1 and it loads all the projects successfully.
    Next I need to load WBS elements of level 1 & level 2 under each projects and also level 1 & level 2 must be linked correctly. Now in this step what I'm doing is that am doing the CJ02 recording to load WBS elements (irrespective of levels) under each projects. But as in the data file, the sequence of WBS records are not guarranteed to be in the exact sequence of hierarchy of WBS elements, what's happening is that though WBS elements are getting loaded successfully, but level 1 & 2 are not getting linked to each other correctly. So the hierarchy is broken. Please help how to resolve this issue like how to design the LSMW correctly.
    Alternatively we can use CJ20N for loading the correct hierarchy but here we need to select correct project/level 1/leve2 etc which is difficult in case if a project doesn't have level 2 or level 1.
    Please suggest the easiest design.
    Cheers guys.

    Hi,
    You have to use levels in recording.
    I think using CJ01 only you can upload all the projects with hierarchy.
    Just arrange the file records accordingly;
    Level 1----
    WBSE 1
    Level 2----
    WBSE 1.1
    Level 2----
    WBSE 1.2
    Level 2----
    WBSE 1.3
    Level 1----
    WBSE 2
    Level 2----
    WBSE 2.1
    Level 2----
    WBSE 2.2
    Level 2----
    WBSE 2.3
    Now, hierarchy will be correct.
    Regards,
    Harsh.

  • Is it possible to save a Photoshop project with multiple tabs (inducing images) for later use. Now, when I close Photoshop, it ask to save each tab separately and they are not staying in the project for later usage. Thanks in advance for you help.

    Is it possible to save a Photoshop project with multiple tabs (inducing images) for later use. Now, when I close Photoshop, it ask to save each tab separately and they are not staying in the project for later usage. Thanks in advance for you help.

    You should ask in Photoshop General Discussion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Dependency between web project and bean module

    i am using netbeans [6.7],
    i created web application has different packages
    i created bean module separated from the web project
    i want this module use one of package from that web project
    so how can i do that by netbeans?
    also
    want the web project to access the beans from the bean module
    so how can i do that by netbeans?
    i wait the reply
    as soon as possible
    thanks for all

    hm, its not good when two different projects have bidirectional dependencies - in my opinion that means they should be part of the same code base and thus the same project.
    A possible solution I see is:
    - take the part that the 'bean' project depends on in the web project out of the web project and put it in the bean project itself
    - add the bean project as a project dependency to the web project (thus bringing back the logic you just moved to the bean project)
    You can manage library and project dependencies in the project properties. Right click on the project name in the tree view to get a menu that holds the function to do that (cannot remember its exact name right now and I don't have Netbeans handy).

  • I made a project with multiple tracks and had it all panned and mixed.  Now it's only playing in the right speaker.  Not even regestering a left side in the master volume?  What happened, how can I get both sides back?

    I made a project with multiple tracks and had it all panned and mixed.  Now it's only playing in the right speaker.  Not even regestering a left side in the master volume?  What happened, how can I get both sides back?

    Thank you for that info.
    For video, the codec is MPEG-4 Video (XVID) and for audio it says MPEG Audio Layer 1/2/3 (mpga).
    There are two issues with that file:
    The first is the Xvid CODEC (not meant for editing), and then the MPEG Audio/MPGA. I would convert that file, to something that is more editable.
    Good luck,
    Hunt

  • Multiple projects and their promotion from Develop to Test to Production

    A customer has an interConnect infrastructure running about 5 projects. Each project has a Development, a Test, an Acceptance and a Production environment.
    This basically works, but is really cumbersome to maintain.
    They want to reduce the number of Interconnect installations as much as possible to ease maintenance. The iConnect version is 10gR1.
    As far as I can see there are two options:
    1) Put all projects into a single repository. You'd end up with only 4 InterConnect environments (Development, Test, Acceptance and Production)
    2) Put all hub schemas into a single DB
    The first one is obviously our favourite, but can you promote a single project to a new environment (say, from Development to Test) without affecting the other projects in the same repository? How difficult (if possible) is this? What are the possibilities and risks?
    What are the possibilities for option number 2?
    I hope anybody can give me some advice.
    Arjan

    Its slightly confusing about having multiple projects, the reason being the way Interconnect works is that it has a single database repository and when you create a project it is just a view on that repository. Therefore a project and a repository are essentially one and the same.
    Therefore it would imply that if you have 5 separate projects then you also have 5 separate repository instances.
    In terms of your options:
    1) is the general way that most projects work. Lets say you have DEV, SYS, UAT, PROD. Therefore you'd generally have a repository instance for each env, therefore 4 repository instances, HUBDEV - for DEV env, HUBSYS for SYS env etc... These repositories would usually be in separate Oracle Instances although they could be on the same servers. Therefore the Hub schema for all, would be the normal one installed by the product, OAIHUB904. Then you would also have a single project for each repository. This repository would hold all the metadata for all your interfaces that go though this HUB instance.
    As interfaces move through the various phases then you migrate between the different repositories, to move stuff from DEV to SYS etc...
    2) From my understanding, this is not much differnet to the above except you want to hold all the Hub schemas in a single database instance. This is possible by creating each schema with a differnet name, OAIHUB904DEV, OAIHUB904SYS etc... and you would need to change the necessary infrastructure ini files to use these new names. With this setup you would still have 1 project per repository but it would just point to the relevant schema.
    Let me know if you have any more queries.
    Regards
    Stuart.

  • Project Size and Multiple CHMs

    I'm looking for some information on the affects/dangers of large projects and the feasability of breaking up a large project into several smaller ones and linking them together.
    From time to time, we experience significant speed issues when loading and editing topics.  How much does project size affect this? At what point does a project's size become "dangerous"? Can a project get so big that is damages itself (i.e., corrupts files, etc), or does it just reach a point where it won't compile anymore?
    We use RoboHelp 7 HTML, but are considering upgrading to Robo 9 and also to Windows 7 (64-bit, I believe). We use Sourcesafe. Certainly moving the project to a faster machine would speed things up, but I'm wondering if we'd still want to break up the project into smaller projects to improve speed and ensure the project does not get too big.
    Our project has 1767 topics. We have begun to add more graphics to topics, although the overall number of graphics is small.  We generate CHM and webhelp. The CHM is 13.8 megs. The folder for the compiled webhelp is 61 megs.

    I would not have thought that size of project should cause performance issues. I have some projects with over twice that number of topics and a fair number of graphics.
    I would start investigating by taking a copy of the project out of source control and trying it on a different machine with reasonable performance. I think this is more an environment issue rather than one of project size.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Multiple Projects and Authoring Tools Setup

    Currently we have one project set up on Robohelp with 6,821 topics using word as the authoring tool.
    Another team will be starting a new project that will be using FrameMaker as its authoring tool.
    We are debating on whether to put these projects on separated servers or on the current servers as merged projects. We would like users for these different projects to not be able to see the other project.
    My questions are
    1.   Can you have separate authoring tools on one server for merged projects?
      2.  We know developers can write a script to control user access, how hard is it to write, where
           would it go?
    System Attributes:
        Robohelp HTML V9.0
        RoboSource Control 3.1
        RoboHelp Server V9.0
        WebHelp Pro 9.0.1.262

    Yes you can have separate outputs on the RH Server BUT they all have to be WebHelp output published from within RoboHelp. Of course if you have the Adobe Technical Communication Suite you could have people authoring in Word and / or FrameMaker. You'd just need to link the relevant Word / FM files into your RH project and publish the output to the server.
    Think of the RH server areas as Windows direcotries.

Maybe you are looking for