ARM7 assembler generation inside Xcode

Discussion in 'iOS Programming' started by sms2000, Feb 8, 2011.

  1. sms2000 macrumors newbie

    Joined:
    Feb 1, 2011
    #1
    I'm using XCode under SnowLeopard to build Object-C test appls for iPhone.
    Those Apps run in Simulator.

    OK till now...

    I need to see the assembly code generated when Object-C code compiled. But what I see is just x86 code! How can I compile directly to ARM7 assembler?

    If I specify "Device" instaed of "Simulator" I have ARM6 ARM7 target instead of i386. OK.
    But it refuses to compile, asks for certificate.

    How can I compile to ARM code without that certificate and more important without any iPhone, iPad, iPod?
    I have no money right now to obtain any of those devices...
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Turn off code signing in the build setting for the "Device" build.
     
  3. sms2000 thread starter macrumors newbie

    Joined:
    Feb 1, 2011
    #3
    I tried "Don't code sign" in "Edit Project Settings"-> "Build" -> "Code Signing" -> "Code Signing Identity".

    Same problem:

    "CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 4.2'
     
  4. multinode macrumors regular

    Joined:
    Feb 4, 2011
    #4
    After you make any changes to the Build Settings in XCode, close the project and re open it to bind those new settings. I've always had to do that ... it's a shortcoming of XCode. If that doesn't help, quit XCode and relaunch it.
     
  5. holmesf macrumors 6502a

    Joined:
    Sep 30, 2001
    #5
    You can specify architecture information to GCC directly. Of course then it won't run in the simulator, you'll just be able to view the output.
     

Share This Page