Xcode debugging help

I'm new to xcode, so I don't really know how to use much of it, so here's my problem: I started a fairly simple project with version 2.0 (came with tiger) and I got about half way through and it was working great. Then I realized that it wasn't universal, so I downloaded xcode 2.4.1. When I tried to build it as universal I got a bunch of errors, and I have no idea what it means or how to fix it! I'm coding in applescript, and when I run the app via the debugger, it all seems to work just fine, but it won't build because of some errors. Can anyone give me any insight as to what this all means? I couldn't seem to copy and paste, so I took screenshots:
pic 1
pic 2
Thanks!
p.s. - Can you include images in posts?!

It appears that you may not be linking against the Universal libraries. But here are some things to check.
I believe your "target" has to be a "native" target in order to build universal binaries. Older projects that are brought forward may not be "native"... I'm not sure exactly when this changed so I'm not sure if your 2.0 Project would've been "native" or not. Select the top level "project" icon in the "Groups & Files" pane (the one with the little Xcode icon). Then select the "Project" menu on the menu bar... if "Upgrade all Targets in Project to Native" is dimmed out then you're already native and you don't need to do anything. If it's not dimmed then select it to upgrade your targets to "native" format.
With the top level project item still selected click on the "Info" button in Xcode's toolbar (or select "File -> Get Info" from the menu bar). In the Info window click the "General" pane. Check the pop-up setting for "Cross-Develop Using Target SDK:"... it should be set to "Mac OS X 10.4 (Universal)". Change it if it's not.
While still in the Info window, click the "Build" tab. The first setting in the list should be "Architectures" and it's value should be "ppc i386". If it's not then select that line and click the "Edit" button to turn on the checkboxes for both PPC and Intel. The second item in the list should be "SDK Path" and should be set to "/Developer/SDKs/MacOSX10.4u.sdk". If it's not then select that line and click "Edit" to enter the path to the sdk (without the quotes).
Check those items and post back if it doesn't fix your problem.
Steve

Similar Messages

  • Xcode 3 Help Viewer and Back Button silliness

    I like the changes and additions they have in the Xcode 3 help viewer, except for this annoying back button behavior. When I click a link in the documentation, it goes to the topic. Then when I click the back button, it opens the previous page in a new Safari window. Whoever programmed this will get a visit from me

    This is a duplicate post. Please direct any responses to
    this
    thread

  • XCode debugging problems

    For some reason, when I try to debug or run my application within XCode, my Application menu does not appear, and keys pressed go to the runlog window, not my application controls.
    Any Idea what's going on, or how I should start troubleshooting this problem?

    It sounds like your Info.plist file is messed up. I used to get that problem when I was first using Xcode. The best way to fix it is to create a new Cocoa application with nothing in it. Compile and run it to make sure it works correctly. Then, inspect the Project and Target settings. I don't remember precisely where the problem was. Usually, it was something related to a mismatch involving the name of the application. I had renamed my app something different than MyApp and didn't use the new name everywhere.
    Anyway, inspect those settings. Your GUI has become disconnected from your application. Sorry I can't provide more help. It has been several years since I had this problem. I have since learned to pick a good application name when I create the project and stick with it.

  • Need Debugging Help

    Hi All
    I am learning Plugins developement for InDesign CS2. In the SDK there is a ww-plugins.pdf, in which it mentioned how we will develop a plugins. I have tried but not able to do it. When I am making plugins the following error I am getting. I know it is a simple project settings.
    ================================================
    Could not find or load the file WFPActionComponent.cpp for target Debug for project WFP.mcp.
    Could not find or load the file WFPDialogController.cpp for target Debug for project WFP.mcp.
    Could not find or load the file WFPDialogObserver.cpp for target Debug for project WFP.mcp.
    Could not find or load the file WFPNoStrip.cpp for target Debug for project WFP.mcp.
    Could not find or load the file WFPID.cpp for target Debug for project WFP.mcp.
    Could not find or load the file WFP.fr for target Debug for project WFP.mcp.
    Could not find or load the file PublicPluginDbg.Lib for target Debug for project WFP.mcp.
    Could not find or load the file PMMSLRuntimeDbg.Lib for target Debug for project WFP.mcp.
    Could not find or load the file PMGlobalChainDbg.Lib for target Debug for project WFP.mcp.
    Could not find or load the file SDKPlugInEntrypoint.cpp for target Debug for project WFP.mcp.
    Could not find or load the file SDKInfoButton.r for target Debug for project WFP.mcp.
    ===============================================
    Below are the path settings
    Target Setting: {project}../debug/SDK.
    Please someone help me.
    Thanks
    Rajeev Kumar

    Hi
    I am again back to give some more inputs.
    As I import the project below Notification/Errors I am getting. I think you well uderstand by this.
    ==================================
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/precomp/codewarrior/(debug)
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/precomp
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/public/interfaces
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/public/includes
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/public/widgets/includes
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/sdksamples/common
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../build/mac/debug
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../external/afl/includes
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../external/boost
    The following access path in target Debug of project WriteFishPrice.mcp cannot be found:
    {Project}../../../build/mac/debug/packagefolder/contents/macos
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/precomp/CodeWarrior/(Release)
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/precomp
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/public/interfaces
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/public/includes
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/public/widgets/includes
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../source/sdksamples/common
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../build/mac/release
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../external/afl/includes
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../external/boost
    The following access path in target Release of project WriteFishPrice.mcp cannot be found:
    {Project}../../../build/mac/release/packagefolder/contents/macos
    ================================
    Please suggest me.
    Thanks
    Rajeev

  • Sapscript Debugging help

    Hi Experts,
    i am new to SAP Script ,i want to debugg sapscript MEDRUCK when i create Purchase order thorugh ME21N .
    i tried to do through SE71 =->utilities->active debugger..
    print out is getting but debugger is not stopping at MEDRUCK .
    I want to stop debugger at MEDRUCK and Printprogram when i create Purchase order through ME21N tcode.i have done all required NACE sttings and print out is getting.
    Please help.

    You Can debug a SAP Script by activating debugger in two ways
    1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
    2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
    for details refer this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Regards,
    Maha

  • Paid debugging help

    I'm nearing the end of a deadline for a project (tomorrow)
    that has proven to be too much for me to handle on my own in the
    time allowed. I'm still new to Flex and I'm not able to debug some
    of the issues as quickly as I'd like. If anyone can provide some
    help on this I'm willing to pay for your services. I have a project
    posted on Elance for further infromation:
    http://www.elance.com/c/rfp/main/jobInfo.pl?jobid=14566430&catId=10216&ajax=2

    As we may wait for a long time before seeing such a tool if we ever do, I will describe my own tip.
    I never build long formulas in a single task.
    I build components in contiguous cells then, when every component behaves correctly, I gather them in a single formula.
    It's an efficient time saver and it helped me to keep some hair on my head
    Yvan KOENIG (from FRANCE jeudi 20 novembre 2008 23:06:28)

  • Debugging Help - NetBeans IDE

    I am trying to debug java programs in NetBeans IDE but when I start the debugger using F7 Key, it points to some old class file that I had debugged previously.
    Can somebody suggest what's going on? What setting do I need to do in order to debug my current class file/ source code.
    Any help would be greatly aprpeciated.....
    Thanks!

    VShan wrote:
    Dude ... I know that That makes you look even more stupid...
    but I thought may be somebody would have came across this kind of problemMaybe someone has come across my problem too, which is how to pass the flight medical for a PPL with eyes that are sub-marginal, but I don't ask that here because it's not the right place.
    Capice?

  • Debugging help required

    Hi,
    Am new to webdynpro. I have created a simple webdynpro application and now i want to debugg it.
    but however , In the sap j2ee engine when i set the debugging status of the server to ON, and refresh the server the server does not seem to be running properly. yello colour comes on the server instead of green.
    can anyone help on this?
    Regards,
    Rashmi.

    Hi Rashmi,
    When you set the debugging status of the server to ON, it takes some time to restart the server.
    So, check after sometime, it would show status as green.
    And then go to debug option, there choose debug as..
    one wizard appears there configure your appication for debugging.
    Then click on debug button.Your debugging starts.
    Don't forget to put break points.
    Regards,
    Bhavik

  • One works vi, one doesn't. debugging help.

    The attached vi sends a series of xml files to two separate servers. The files configure a camera; turn it on; then, turn it off. It works over and over again. When I add the same code to a more complicated vi, something hangs up. I'm looking for a suggestions, other than running highlighted that might help me debug this.
    Thanks
    Attachments:
    Dazle.vi ‏68 KB

    Hi exo,
    You may also want to try setting a breakpoint in your code, then step through it.  You can set a breakpoint from the Tools Palette (View » Tools Palette).  From the Tools Palette, click the Set/Clear Breakpoint button.  You can now set breakpoints in the code, which will halt execution.  You can then step throught the execution using the Step Into, Step Over, and Step Out of buttons, which are all found on the toolbar.  Like Andre said, you can also use Probes to debug your application.  These tools are explained in more detail in the link below, please let me know if you have any other questions!
    LabVIEW Debugging Techniques
    Regards,
    Erik J.
    Applications Engineer
    National Instruments

  • Segfaulting on full container operations - debugging help

    Hi all -
    I have some data that has been through lots of dbxml upgrades and the last two upgrades have full container operations segfaulting. I was able to ignore this data for a year but now its coming back to haunt me. All full container operations, such as reindex, add/remove index, and trying to dump all data either through dump or getDocuments segfault. It's data specific and my container is 16GB. I want to be able to provide more info that the basic gcc stacktrace but I'm not sure. I have recompiled dbxml and bdb with debug flags but I'm not sure where to go from there - I get more or less the same undetailed information on the bug (below). Is it because I'm running the test through the shell? I want to help myself but its been quite some time since I have written any C++. If there is ANY other way to get my documents out of this DB I'm happy to dump and reload but everything segfaults that I can think of. I'm sure its just an ancient data issue.
    Thanks in advance!
    #0 0x00002b1b0d060f80 in DbXml::NsFormat::unmarshalInt64 () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #1 0x00002b1b0d077a21 in DbXml::NsRawNode::setNode () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #2 0x00002b1b0d05cecb in DbXml::NsEventReader::getNode () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #3 0x00002b1b0d05d07f in DbXml::NsEventReader::endElement () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #4 0x00002b1b0d05d355 in DbXml::NsEventReader::next () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #5 0x00002b1b0d049625 in DbXml::EventReaderToWriter::doEvent () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #6 0x00002b1b0d049a92 in DbXml::EventReaderToWriter::start () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #7 0x00002b1b0d133cc8 in DbXml::DocumentDatabase::reindex () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #8 0x00002b1b0d103d61 in DbXml::Container::reindex () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #9 0x00002b1b0d10ad72 in DbXml::Container::setIndexSpecificationInternal () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #10 0x00002b1b0d10b648 in DbXml::Container::setIndexSpecification () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #11 0x00002b1b0d16f1a0 in DbXml::XmlContainer::setIndexSpecification () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #12 0x00002b1b0d16f52b in DbXml::XmlContainer::deleteIndex () from /usr/local/xmldb/lib/libdbxml-2.5.so
    #13 0x000000000040f67e in DeleteIndexCommand::execute ()
    #14 0x0000000000427475 in Shell::mainLoop ()
    #15 0x000000000042c7f9 in main ()

    Hi Vyacheslav -
    Sorry to not have the line number - I was having some missing magic incantations in my library loading so it wasn't finding the symbols. Full bt with line number is below. I'll look into this as well but if you've seen this before I'd be happy to hear about it! BTW, when not run in debug this is a SEGFAULT but when run under debug its an assertion error. I am using the exact same test case and getting different results.
    No idea what the first version was - it was about 5 years ago. Everything worked fine until the 2.5.16 upgrade, which happened to fix bugs that OTHER containers were having so it was a must. I can go document by document but I literally have 16GBs of documents (49307 docs). I get the segfault when I try to do any full container query so getting all ids for example isn't working. I'll keep plugging on this part - was just looking for a cursor-ish way to find out which one is making things upset.
    Thanks again
    Liz
    #0 0x00000037dec30265 in raise () from /lib64/libc.so.6
    #1 0x00000037dec31d10 in abort () from /lib64/libc.so.6
    #2 0x00002b1f3fb24a27 in DbXml::assert_fail (expression=0x2b1f3fba1bc2 "data.data", file=0x2b1f3fba1ae0 "src/dbxml/nodeStore/NsEventReader.cpp", line=665) at src/dbxml/DbXmlInternal.cpp:21
    #3 0x00002b1f3fa3c3cf in DbXml::NsEventReader::getNode (this=0x7fff7e6887b0, parent=0x27215420) at src/dbxml/nodeStore/NsEventReader.cpp:665
    #4 0x00002b1f3fa3c648 in DbXml::NsEventReader::endElement (this=0x7fff7e6887b0) at src/dbxml/nodeStore/NsEventReader.cpp:874
    #5 0x00002b1f3fa3c7ae in DbXml::NsEventReader::next (this=0x7fff7e6887b0) at src/dbxml/nodeStore/NsEventReader.cpp:508
    #6 0x00002b1f3fa2307c in DbXml::EventReaderToWriter::doEvent (this=0x7fff7e6886e0, writer=0x7fff7e6889b0, isInternal=true) at src/dbxml/nodeStore/EventReaderToWriter.cpp:160
    #7 0x00002b1f3fa23955 in DbXml::EventReaderToWriter::start (this=0x7fff7e6886e0) at src/dbxml/nodeStore/EventReaderToWriter.cpp:146
    #8 0x00002b1f3fa5b15c in DbXml::NsWriter::writeFromReader (this=0x7fff7e6889b0, reader=@0x7fff7e6887b0) at src/dbxml/nodeStore/NsWriter.cpp:104
    #9 0x00002b1f3fa25d0b in DbXml::NsDocumentDatabase::getContent (this=0x167b7180, context=@0x16a84368, document=0x16a842d0, flags=0) at src/dbxml/nodeStore/NsDocumentDatabase.cpp:111
    #10 0x00002b1f3fb2b409 in DbXml::Document::id2dbt (this=0x16a842d0) at src/dbxml/Document.cpp:888
    #11 0x00002b1f3fb2e267 in DbXml::Document::getContentAsDbt (this=0x16a842d0) at src/dbxml/Document.cpp:530
    #12 0x00002b1f3fb8017d in DbXml::XmlDocument::getContent (this=0x16a844a8, s=@0x7fff7e688c60) at src/dbxml/XmlDocument.cpp:145
    #13 0x00002b1f3fb197c9 in DbXml::DbXmlNodeValue::asString (this=0x16a84490) at src/dbxml/Value.cpp:507
    #14 0x00002b1f3fb8a263 in DbXml::XmlValue::asString (this=0x7fff7e689010) at src/dbxml/XmlValue.cpp:299
    #15 0x000000000040d16a in PrintCommand::execute (this=0x167a7a90, args=@0x7fff7e689160, env=@0x7fff7e689880) at src/utils/shell/PrintCommand.cpp:83
    #16 0x0000000000427dda in Shell::mainLoop (this=0x7fff7e689900, in=@0x7fff7e689240, env=@0x7fff7e689880) at src/utils/shell/Shell.cpp:66
    #17 0x0000000000416d4b in IncludeCommand::execute (this=0x167a7870, args=@0x7fff7e689580, env=@0x7fff7e689880) at src/utils/shell/IncludeCommand.cpp:56
    #18 0x0000000000427dda in Shell::mainLoop (this=0x7fff7e689900, in=@0x647790, env=@0x7fff7e689880) at src/utils/shell/Shell.cpp:66
    #19 0x000000000042eac0 in main (argc=1, argv=0x7fff7e689ad8) at src/utils/shell/dbxmlsh.cpp:248
    Edited by: eleddy on Feb 22, 2011 2:39 PM

  • Lenovo T520 Debugging Help

    I recently wiped the HDD of my T520 and installed Arch from scratch from a thumb drive (side note: it's been a while since I did a fresh install and I found the new method really great). About a week later (2 days ago), I ran a system update (-Syu) and updated several packages, linux among them. Seeing that, I rebooted. After seeing the BIOS stuff and selecting to boot to Arch (I don't have it auto-select, even though I only have one partition), the screen goes black and nothing ever happens. The Wifi light turns on, but the HDD read light doesn't. I booted from my install media and tried to see if the systemd journal said anything helpful, but the logs look like they never picked up after rebooting after my latest update. My next thought was the chroot and run another system update. I updated linux again, but still no boot. During both updates, the output indicated that new image creation was successful.
    Any ideas on how to begin debugging this?
    FWIW, I'm using efibootmgr to boot and I see that it has had issues with kernel upgrades in the past (https://bbs.archlinux.org/viewtopic.php?id=156670&p=1), but this machine never had 3.6 or 3.7 on it (the earliest still in the cache is 3.10.3 and the latest is 3.10.7; I've never cleared the cache).

    After 5 days of  frustrations of how to try to identify the cause of "AC plugged in but not charging" message.My Lenovo 3000V100 has suddenly started recharging.At one moment it recharges up to 99% and stops recharging, at times it just shows 3 % remaining and stops recharging and now its showing 100% fully charged.
    I dont understand this, whats a turn around to this?
    Also, are there any drivers for download  -IntelWin DVD drivers for this 3000V100 running on Windows Vista/media drivers.My hard disk was formatted, and i never created any recovery disc.I have at least re-installed few other drivers though.

  • Forms DEBUG - help

    Hello all.
    I need to debug a list of forms which are running in a remote server. Because of the setup we have, i can not run them in the developer tool. I need to test them using the web based environment we have installed. I used to enable the debug mode in windows by adding the clause "/debug". I tried adding this in the web address that's calling the forms, but it didn't work. Could you please help me out?
    Thanks in advance.

    what do you mean when you say that i also attach my linux run form with Windows Forms builder?
    I use windows forms builder just to make the make the changes i need. Because of the nature of the forms, i can neither run nor compile them in windows.
    What i do, is to upload them to our linux server, compile them with a script i run from the command line, and move the fmx to the right folder. That's how i'm able to run them, otherwise i can't. If i try to run them in windows it raises an error message saying there's no http listener running in my local box...
    On the other hand, I tried to run them using the "DEBUG=YES" flag, but nothing happened. I used to work with forms 4.5, and at that time, when i wanted to debug a form i just made a shortcut with that same flag. Something like: "F45RUN.EXE formname.fmx /debug=yes", so, I tried something similar in this case...
    The URL I use to run the forms is "http://as4.ajc.bz:8889/forms/frmservlet/atisweb". I added the flag you mentioned at the end. Something like "http://as4.ajc.bz:8889/forms/frmservlet/atisweb debug=yes"... but it didn't work.
    Any other ideas?

  • CS3 / XCode: Debugging - Stop on pthread_kill?

    Hi
    I try to debug an Indesign plugin in XCode. But the debugger stops on pthread_kill.
    Why stops it?
    Any options wrong?
    Thanks
    Hans

    Could be an assert.
    Watch your debugger and console output.
    Dirk

  • Weird xcode debugging iss

    I am having issues debugging with xcode. When I step through my code, the steps go backwards. For instance, it will take a step, then the next step it will go two lines up, then it will continue on for a bit more, then go back up, then continue on.
    In my experience thus far, i've noticed weird behavior after my code does something bad. However, in this case, I'm finding this behavior in my bootstrap class (iphone)
    - (void)applicationDidFinishLaunching:(UIApplication *)application
    Also, my app appears to work ok. I don't see anything in the log. This has been bugging me for a while b/c it makes debugging very difficult. Any ideas?

    Either you're trying to debug an optimized (Release) build, or the binary that the debugger is loading isn't the same as what's running. In the former case, build for Debug with optimization turned down. In the latter case, try "Clean All", and maybe restart the target device or the simulator, if you're debugging there.

  • Debug Help bbp_create_req_back

    Hello Friends, I need a little help here.  I am trying to populate the trackingno field from SRM to R/3 on the PR/PO.
    Here is a snipet of my code which is in a loop. Everything else works except trackingno:
    data:
    ls_header          TYPE          bbp_pds_sc_header_d
    MOVE ls_header-object_id TO req_items_wa-trackingno.
              MODIFY req_items
                FROM req_items_wa
                  TRANSPORTING trackingno
    Any ideas?  Also, does anyone have step by step instructions on debugging this badi?  Thanks in advance.

    hi,
      to debug back-end related Badi is some thing different then other Badi. i used to debug back-end badi like this. i hard code break-boint 'user-name' in bbp_create_req_back implementation.
      we have a method 'TRANSFER' in BUS2121. after u create the SC which will wait for approval goto SWO1 and execute this method, here first time only bebug mode will gets call if you try 2nd time it won't trigger. so write your all coding and but the hard code break point while SC waiting for Approval goto SWO1 with BUS2121 and execute TRANSFER method u will get into debug mode.
    thank you,
    regards,
    john.

Maybe you are looking for