Xcode 3 architecture switching

I'm working on a project in xcode 3, and I need to compile it for JUST PPC. I need to run it in PPC mode on an intel machine so that it does correct endian stuff the first time.
Unfortunately, xcode seems to only be compiling as intel (not even universal).
The Architectures line says ppc i386. (which still only gives me intel, even after make clean) When I double click (which used to give me check boxes for archs) now only gives me 32 vs 64 bit. (only 32 is checked). Single clicking on the arch line and manually deleting the "ppc" has no effect on actual compilation that I can tell...
Can anyone tell me what I'm doing wrong?
thanks!

etresoft wrote:
Brian Postow wrote:
It's also possible that I keep looking at the same version. I still haven't figured out how to make xcode put the executable where I want it...
There are other settings that control where output files should go. I don't quite know how to refer to some of these "things" since it seems based on which window you are looking at and that is configurable. Anyway, all those settings in the main project (The Xcode icon that lists all the files under it) define all the settings for the project. On top of that, there is another set of options for configurations. Since Debug and Release files get created in different places, there is a good chance that the output location is defined in the configuration settings. You can also override all those settings at the Target level as well.
To make matters even more complicated, there are some other, project-level settings (such as minimum OS target) that can be set in yet another project settings window. I think this other settings window has options for output locations too. I'm not sure. I also don't know how to tell you to find that window. They are all the same settings, so if you update a particular value in once place, it will update the settings in the configuration windows too.
Exactly. I've figured it out at various times, but can never remember which change made it happen..
For example, today I managed to change the name of the executable jar file I was creating. I tried 5 times and it didn't take, the 6th time, it worked. I have no idea what I did differently the 6th time... Sunspots or something...
Sometimes I hate computers...
That is one of the problems with fancy GUI environments. Instead of telling you the file to edit and the path to that file, I have to resort to describing what the icons look like. If anyone knows what these windows are actually titled (I can't check because I'm at a PC now), please chime in.
Can I just look at the .xcodeproj folder and edit something? it doesn't look like there's anything even as easy to understand as xml in there...

Similar Messages

  • Can't create new file automator action

    I'm trying to create a new Automator action that prompts the user to choose a new file. The Action is similar to the "Ask for Finder Items" actions except that it asks the user to choose a new file and not one that already exists.
    I chose to write it in applescript:
    script PicknewFile
    property parent : class "AMBundleAction"
    on runWithInputfromAction_error(input, anAction, errorRef)
    return choose file with prompt "Where do you want to save it?"
    end runWithInputfromAction_error
    end script
    When I try and run it, I get the following error message in the Xcode console.
    [Switching to process 10606]
    Program received signal: “EXCBADACCESS”.
    [Switching to process 10606]
    sharedlibrary apply-load-rules all
    No memory available to program now: unsafe to call malloc
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Not safe to call dlopen at this time.)
    kill
    Does anybody know when this happens?
    Thanks,
    Scott

    Looks like I was wrong. I created a brand new project in Xcode and all I did as add "choose file name" to the applescript. It still gets a "EXCBADACCESS". I also tried a 'display dialog "Error"' in my applescript and it does the same thing.
    Here is the script the fails. Everything else in the project is default.
    script ChoosenewFile
    property parent : class "AMBundleAction"
    on runWithInputfromAction_error(input, anAction, errorRef)
    -- Add your code here, returning the data to be passed to the next action.
    display dialog "Error"
    return input
    end runWithInputfromAction_error
    end script
    In the debugger, this is the stack:
    #0 0x91184917 in objc_msgSend
    #1 0x63707472 in ??
    #2 0x16c01e36 in DecodeAEDescInternal
    #3 0x16c02b4b in DecodeObjectSpecifier
    #4 0x16c01c24 in DecodeAEDescInternal
    #5 0x16c022bb in DecodeAEList
    #6 0x16bccdd0 in ASExecuteEvent_PushSendStackFrame
    #7 0x16bccfcc in ASExecuteEvent
    #8 0x918026cb in callComponent_4444
    #9 0x16bc3d4a in AppleScriptComponent
    #10 0x917efcb6 in CallComponentDispatch
    #11 0x972455df in OSAExecuteEvent
    #12 0x00339ffe in +[BAObjectProto invokeScriptHandler:forObject:args:error:]
    #13 0x0033a363 in -[BAObjectProto invokeScriptHandler:args:error:]
    #14 0x0033b581 in -[BAObjectProto forwardInvocation:]
    #15 0x92f760c4 in __forwarding__
    #16 0x92f75bf2 in _forwarding_prep_0__
    #17 0x000718af in -[AMAction runWithInput:loopParent:]
    #18 0x00070d2f in -[AMWorkflowRunner runAction:withInput:loopParent:]
    #19 0x000c60a8 in -[AMWorkflowRunner runAction:]
    #20 0x0013261d in -[AMRunActionOperation main]
    #21 0x9094d34c in -[__NSOperationInternal start]
    #22 0x9094cfe0 in ___startOperations_block_invoke2
    #23 0x91caa7b8 in dispatch_call_block_andrelease
    #24 0x91c9c97e in dispatch_workerthread2
    #25 0x91c9c401 in pthreadwqthread
    #26 0x91c9c246 in start_wqthread
    Any more advice would be appreciated.
    Scott

  • Corrupted DMG

    I am having problems downloading Xcode 6 beta. Repeated attempts always result in an unable to open image - file corrupted message. This happens on both my MBP and Mac Mini so I cannot attribute to a disc problem - notheless have run disk utily to verify disc and repair permissions with no joy. It also occurs when downloading via safari or Chrome. Downloads from other sites are okay (i.e updated MS Office with no problems) so don't think I can blame router/broadband problems.
    Any ideas?

    I think I've solved it (thanks Google!)
    It might be a problem with Safari being used to download the Xcode beta, I switched to using Firefox instead and now it's installed and running successfully.
    Hope this helps you.

  • Networkinfo.ane does not support iOS 64bit?

    I get the following error when packaging using AIR SDK 16.0.0.272.
    I used com.adobe.extension.Networkinfo.ane to check the network state.
    When is Networkinfo.ane updated?
    Anyone who knows?

    I have been experiencing the same problem with the NetworkInfo.ane.
    From these threads I know that all ANEs you use must also support 64-bit.
    https://forums.adobe.com/message/6850282#6850282
    https://forums.adobe.com/message/6850180#6850180
    The ANEs that Adobe supply on http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/networkinfo.html haven't been updated since 2011. So I attempted to recompile them myself. I downloaded the original source from Adobe then recompiled the .a file from XCode with Architectures set to Standard architectures (arm7, arm64).
    If I check that the binary is a universal one with lipo -info I get "Architectures in the fat file: libNetworkInfoiOSLibrary.a are: i386 x86_64"
    I then tried generating the ANE via two methods
    - via shell script as explained here http://www.lorenzonuvoletta.com/how-to-create-your-own-ane-for-ios-using-adobe-air/
    - via the ANEBuilder GUI Air App http://as3breeze.com/anebuilder/
    Both techniques result with the error
    "Error: Apple App Store allows only universal applications. This ANE must have a universal iOS binary. Please change build settings in Xcode project to "Standard Architecture" to create universal library."
    This is the same error that is discussed in this thread.
    https://forums.adobe.com/thread/1660929
    I have triple checked every step myself and got my workmates to review my work. Can anybody see what I am doing wrong? Am I even doing anything wrong or is this something that can't be remedied without Adobe fixing something on their end? I hoped that when Adobe released AIR 16 they would also release updates to their ANEs. Does anyone know if they will have a chance to work on/update them anytime soon?

  • Crash on startup on 32 bit device with air 17 / flex 4.6

    We experienced  crazy crash right on startup on 32 bit device only.
    We tried our app on
    ios 6.1 with ipod touch 5. ( Crash )
    ios 7.1 with ipod touch 5  ( Crash )
    ios 8.2 with ipod touch 5. ( Crash )
    ipad mini 2 with ios8.1 ( Work )
    This project is built with air 17 with flex 4.6.
    In the Xcode setting, our setting is
    Architectures : standard architectures (armv7,arm64) - $(ARCHS_STANDARD).
    Valid Architectures : arm64, armv7,armv7s.
    Our project crashed on 3 different ipod touch 5. Is there any setting wrong that cause the app failed on 32 bit device?
    Hope someone could help! Thanks!

    We have the same problem. Our project built with Flex 4.7 and Air SDK 16. The application uses a native extension that was compiled with the following XCode settings:
    Architectures : standard architectures (armv7,arm64) - $(ARCHS_STANDARD).
    Base SDK: Latest iOS (iOS 8.2)
    Valid Architectures : arm64, armv7,armv7s.
    Our application worked well on 32-bit iPads with iOS 8.1, but after upgrading to 8.2 it crashes on the native extension object creation generating the following crash log:
    Incident Identifier: C7E2AEEA-89BB-4BF0-9C35-B4BA951DDFB5
    CrashReporter Key:   938c52b810720c30c7709dad0c6fe743df9e9eb8
    Hardware Model:      iPad3,3
    Process:             Necto EE [381]
    Path:                /private/var/mobile/Containers/Bundle/Application/FA8E4A2A-7518-4BEB-BE9C-965A0C186FCF/Ne cto EE.app/Necto EE
    Identifier:          com.panorama.Necto
    Version:             15.1.0 (15.1.0)
    Code Type:           ARM (Native)
    Parent Process:      launchd [1]
    Date/Time:           2015-04-01 11:50:36.982 +0300
    Launch Time:         2015-04-01 11:50:34.627 +0300
    OS Version:          iOS 8.2 (12D508)
    Report Version:      105
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Subtype: KERN_PROTECTION_FAILURE at 0x02d4e348
    Triggered by Thread:  0
    Thread 0 name:  Dispatch queue: com.apple.main-thread
    Thread 0 Crashed.
    Please help!

  • Catalyst 2980 IOS upgrade

    Hi:
    Can I upgrade the Cat2980/2948 from CatOS to IOS?

    Hi,
    The 2980G switch are pure L2 switches and have a Cat4000 Sup2 architecture hence they only support CatOS and cannot support IOS.
    But in case of 2980G-L3, you have ONLY IOS running on them as they are L3 switches and can support L3 routing as well. So in summary there is no conversion possible from CatOS to IOS or the other way round on Cat4000 architecture switches.
    Hope this helps..
    Regards,
    Param

  • [SOLVED]Upgrade to Arch64?

    I was wondering if it was possible to upgrade to Arch64 without a reinstall. Now, if the upgrade is going to be harder than a reinstall I won't do it - I have a separate /home, it's not like I'll lose much. But I was just thinking that if I replaced all instances of i686 in /etc/pacman.d/mirrorlist with x86_64, then -Syu'ed, it may sort of fix itself up. I know I'd have to definitely change makepkg.conf, and a few other architecture-specific settings, but the very way Arch updates seems like it would be possible to do a full architecture switch.
    I originally installed i686 because I didn't want to deal with the hassle of a 32-bit chroot for running Firefox with java, flash, etc...but I've read up on it a bit and it doesn't look that hard, so I was thinking of using my chip to it's fullest with Arch64.
    Has anyone done this? Does anyone know if or why this will destroy my install? These are the things I want to know.
    Last edited by Redroar (2008-06-03 01:49:40)

    Many thanks for the wonderful script. This will make it much quicker to get all my packages back. Though I think that -Qqe would be a better option since it wouldn't 'double-install' dependencies very often. Plus, it would keep the 'explicitly installed' list intact, otherwise -Rs would be near useless because with the original script I think every single package will be installed explicitly.
    But it is still a big time-saver, I won't have to go hunting down packages.

  • Launchd_core_logic.c error on iPhone SDK 3.1

    Hi,
    I am running release version of the app on the iPhone, it works fine. There is no error messages in the XCode debugger:
    Running…
    [Switching to thread 11779]
    [Switching to thread 11779]
    sharedlibrary apply-load-rules all
    (gdb) continue
    [Switching to thread 12291]
    [Switching to thread 11779]
    [Switching to thread 13059]
    Debugger stopped.
    Program exited with status value:0.
    However I see these messages in the console of iPhone when connect to it via Organizer:
    Wed Oct 7 15:37:01 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.blah.blah[0x830c]) Bug: launchdcorelogic.c:2649 (23909):10
    Wed Oct 7 15:37:01 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.blah.blah[0x830c]) Working around 5020256. Assuming the job crashed.
    Wed Oct 7 15:37:01 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.blah.blah[0x830c]) Job appears to have crashed: Segmentation fault
    Wed Oct 7 15:37:01 unknown com.apple.debugserver-43[6124] <Warning>: 1 [17ec/1603]: error: ::read ( 7, 0x28091c, 1024 ) => -1 err = Bad file descriptor (0x00000009)
    Wed Oct 7 15:37:01 unknown SpringBoard[25] <Warning>: Application 'blah' exited abnormally with signal 11: Segmentation fault
    There is no crash logs created, so I don't think it is a crash.
    What is it? Is it a problem, even though application works perfectly fine?
    Thanks

    I am also experiencing this problem.
    Our application used to work perfectly fine, then suddenly this situation appeared :/ And in our case, this is serious problem, because we save application state using archiveRootObject:toFile method of NSKeyedArchiver class in applicationWillTerminate, and due to this crash, our root object do not get saved so we can not restore application state!
    Of course, everything works perfectly on simulator...
    I tried installation new iPhone OS (had 3.0.1, now 3.1.2), also installed newer version of iPhone SDK with new Xcode - of course - did not help. Tried installing application from other computer, tried installing other application, which used to work - nothing - problem remains. Really fantastic...
    I wonder whether this problem with iPhone device or something else. As for now, I don't have possibility to check if this situation is present on other device.
    Any help will be greatly appreciated!

  • Xcode building to both architectures when I only want one?

    I have a fairly simple (one source file) command line application in C which was written for Linux but ought to run in OSX as long as I can provide its dependencies (some GNU libraries). I compiled/installed the GNU libraries it needed using Fink. Fink only builds Intel binaries, since I am using an Intel Mac. Because of this, I need Xcode to only try to compile my little application as an Intel (i386) binary, and not try to make a PPC binary or a Universal binary.
    I opened "Project" -> "Edit Project Settings..." -> clicked on the "Build" tab and went to the "Architectures" setting. I made sure it said only "i386" and did a Clean and then another Build. However I can clearly see in the build log that Xcode is invoking the compiler and linker twice each -- once for each CPU architecture. After compiling the PPC version of my code it will fail to link, because there are no PPC versions of its dependencies (the GNU libraries).
    Why is Xcode doing this, and is there a second setting that I haven't found, to make it ONLY build an Intel binary?

    I tried your experiment and saw a similar problem... I'm on a PPC Mac though. Initially the standard tool was building a Universal Binary even though the Project Info -> Build -> Architectures was just set to "ppc".
    So first I tried going to the "General" pane of the Project Info window and switching the pop-up at "Cross-Develop Using Target SDK:" from "Mac OS X 10.4 (Universal)" to "Current Mac OS"... That still tried to build a universal binary only this time I got several errors on the Intel link phase because the "Current OS" SDK contained no Intel libraries.
    However there appears to be a different Architectures setting on a per Target basis.
    In your "Groups & Files" pane expand the "Targets" group and select your target. Then click the "Info" button in the toolbar (or select "File -> Get Info") to get to the Target Info window. Select the "Build" pane... On my machine the "Architectures" setting here was set to both "ppc" and "i386". Turning off the "i386" here fixed my problem and allowed it to build only for ppc.
    I'm not sure how these Target settings roll up into what you see in the Project settings. But it does seem kind of odd.
    Steve

  • Switch tabs in XCode "Organizer"

    Dear everyone,
    I recent wrote a very small AppleScript as part of my whole automation script. What I wanna do it start Xcode -> choose "Window" from the menu -> click on "Organizer" from the menu -> click on "Device" button from "Organizer" -> choose "Editor" from menu -> Click on "Refresh from Developer Portal". The incomplete code is provided in the following.
    Actually the only problem I have got so far is this step "click on "Device" button from "Organizer"" because sometime the focus is not on "Device" but other tabs (don't know how to attach a screenshot to this forum) and I have no idea of how to switch between them. I know I can use "Select Next Tab" menu item to switch to the next one but how to decide which tab (maybe by tab name) I have already switched to?
    Actually I even do not know whether I should call them "tabs". They maybe "button". I tried using "button" but it did not work for it.
    Any hint is much appreciated!
    Cheers
    Daniel
    tell application "Xcode" to activate
    #Activate "Organizer"
    tell application "System Events"
        tell process "Xcode"
            tell menu bar 1
                tell menu bar item "Window"
                    tell menu "Window"
                        click menu item "Organizer"
                                            ***************In here, I need to switch between tabs and choose the tab "Device"***************
                    end tell
                end tell
            end tell
        end tell
    end tell
    delay 2
    #tell application "System Events"
    #    tell process "Xcode"
    #        click button "Devices" of button group of window "Organizer"
    #        #click button "Radio On" of tab group 1 of window "Wireless Utility"
    #    end tell
    #end tell
    #Refresh the provisioning profile
    tell application "System Events"
        tell process "Xcode"
            tell menu bar 1
                tell menu bar item "Editor"
                    tell menu "Editor"
                        click menu item "Refresh from Developer Portal"
                        delay 2
                        keystroke (ASCII character of 13)
                    end tell
                end tell
            end tell
        end tell
    end tell

    Hi Gamelot,
    That solved my problem. Thanks a lot for that. "tool bar" should be used in that case.
    BTW, do you know anywhere to know more about the terminologies used in AppleScript?
    The whole code is:
    tell application "Xcode" to activate
    #Activate "Organizer"
    tell application "System Events"
              tell process "Xcode"
                        tell menu bar 1
                                  tell menu bar item "Window"
                                            tell menu "Window"
                                                      click menu item "Organizer"
                                            end tell
                                  end tell
                        end tell
              end tell
    end tell
    delay 2
    tell application "System Events"
              tell process "Xcode"
                        click button "Devices" of tool bar 1 of window 1
              end tell
    end tell
    #Refresh the provisioning profile
    tell application "System Events"
              tell process "Xcode"
                        tell menu bar 1
                                  tell menu bar item "Editor"
                                            tell menu "Editor"
                                                      click menu item "Refresh from Developer Portal"
                                                      delay 2
                                                      keystroke (ASCII character of 13)
                                            end tell
                                  end tell
                        end tell
              end tell
    end tell

  • Cisco 2960 Series Switch Architecture

    Hi all,
    I wanted to know if there is a document or an article which describes 2960 series architecture specifically for model WS-C2960-24-S as there is for 2600 series in the following link:
    http://www.cisco.com/c/en/us/support/docs/routers/2600-series-multiservice-platforms/23852-2600-architecture-23852.html
    Thanks.

    Hi,
    You should be able to find the information that you need here:
    http://www.cisco.com/c/en/us/support/switches/catalyst-2960-24-s-switch/model.html
    Thanks,
    Jake

  • Cisco Architectures for 2950/2960 Switches and 2800 Routers

    Hello,
    I have a question regarding the architectures of these three series, i.e. the type of switch fabric they use and the general architecture (first, second, or third generation regarding the sharing of the bus, memory and the type of switch fabric). We have so far learned these three generation and our assumption is that the only generation being produced now is the third (crossbar) generation, but so far we have to information to back up this claim. We are doing a study on buffer sizing in edge routers/switches so knowing the exact architecture of each model is our priority.
    Thank you for reading and thanks in advance for the answers. 

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    Exact details on Cisco switch and/or router architecture can be hard to come by, as much of the information, Cisco appears to consider proprietary.
    Most switches have some kind of cross bar architecture.  Overall bandwidth tends to be higher in later variants (to support higher port densities and/or higher bandwidth ports).  Later switch architectures are less likely to block at ports.  However, there are often other architecture changes which may improve or worsen performance.  For example, 2960 tends to have more fabric bandwidth than the 2950, but the 2960 has different port buffer management (I believe) from the 2950, often resulting in more port drops with bursty traffic.
    True routers, like the 2800 series, I believe use a PCI bus, with additional bandwidth restrictions to the modules.  They will well support the WAN bandwidths they are recommended for, but they do not well support LAN port bandwidths.  Again, specific architecture details can be hard to come by.

  • You cannot open the application "Xcode" because it is not supported on this architecture.

    I'm currently trying to understand why XCode 4.3.3 gives me this message when download has completed.  I have a MacBook Pro 10.5.8 OS X.  Any help would be appreciated WWnewbee

    As noted, your OS is not compatible, sorry - see Xcode Versions ~ iOS - As of 9.19.12.

  • Xcode freaks out when I switch C++ project to 10.3.9 SDK

    I have a very simple program in a .cpp file in a command-line project that can build for 10.5, but I wanted to make this project build for the oldest version of OS X that's reasonable. So I went into the Project configuration and simply chose the Base SDK "10.3.9". Was that wrong? Should I not have done that?
    Because now I'm getting one of those error cascades where nothing seems to make sense to the compiler. It starts with the very first line in the .cpp, "#include <string>", to which Xcode says "/Developer/SDKs/MacOSX10.3.9.sdk/usr/include/c++/4.0.0/string:44:28: error: bits/c++config.h: No such file or directory", and then gives the same error while referring to bits/c++locale.h, bits/c++io.h, etc. etc. It also returns the same errors for the next line of code, #include <iostream>.
    Failing to find the appropriate headers then causes hundreds of errors in the remainder of the code, of course. But there's something fundamental here that I messed up, and I'm guessing it's obvious and that I should really know better.

    Did the code compile with a different Base SDK? If so, set the deployment target to Mac OS X 10.3 and use the 10.5 SDK. Your app will run on Mac OS X 10.3.9 and later, and hopefully your compiler errors will go away. The deployment target determines the earliest version of Mac OS X that can run your app, not the SDK.

  • Xcode 4.2 - execution error [Switching to process 2252 thread 0x0].  What do I do to chase this down?

    I started with a small example from a book.  It worked fine.  I tweaked a couple things.  It still worked.  I tweaked a couple more and get this execution loop.  Some times it comes back with different process numbers than 2252, but the net is that I am stuck.  I cannot even get it to work when I undo what I did.  Any ideas would be appreciated.  Thanks.

    The above is NOT the correct answer, but I cannot seem to undo that.

Maybe you are looking for

  • CUA - SUIM in client system with background processing of IDOCS

    Hi We have setup CUA in our Solution Manager system 4.0 sr2 SP11 and activated background processing of idocs.  When we run SUIM in the child system the user creation/change information is now showing the name of the background user rather than the a

  • Is this PDF too big and is that why it won't send?

    Hello, I have an 18 page full color dcoument that is taking forever to attatch to my email (or it just won't let me send) There is no message that says it can't send, but it indefinately says it is still working to send. It is 44.7MB which sounds ver

  • Transparent background - export to iMovie?

    I'm pretty new to FCE/LiveType; I've played a bit with creating titles in LifeType with a transparent background and moved them over to FCE. I have an unfinished project in iMovie 06 and was wondering if I could create a LiveType title with a transpa

  • Ovi Chat on N8?

    I used to have it on my N86, can i get it as an app on the N8? And if not directly, is there a "social" app that i can use? The likes of whatsapp, etc? Cheers

  • No camera available on macbook pro (early 2008)

    I noticed today that when I tried to use my isight camera that it comes up as "no camera available" I have never had this issue happen or show up before. So far I have reproduced the error on a different account tried resetting smc reset pram booted