Search Results

Search found 2735 results on 110 pages for 'xcode'.

Page 11/110 | < Previous Page | 7 8 9 10 11 12 13 14 15 16 17 18  | Next Page >

  • How to manually throw a compiler error in GCC and Xcode

    - by coneybeare
    In xcode, while compiling apps with gcc, I want to throw compilation time errors if things like NSZombieEnabled is on for a distribution release, thus ensuring that compilation will fail and I won't accidentally do something stupid. I did some googling, but could not figure out how to cause the compiler to bail if a certain condition is met. Surely it must be easy, am I just not finding it?

    Read the article

  • Tell system events to keystroke in Xcode?

    - by user354779
    Hello, I'm making an application, in which I need to run a code that will tell system events to keystroke a certain phrase. Like in an AppleScript, I would do: Tell Application "System Events" to keystroke "This is a test" I don't know how to do this from Xcode, and I would really appreciate any help. Thank you!

    Read the article

  • Xcode's colored console output

    - by krasnyk
    Is possible to format/color the output in the Xcode console? I know that you can do that while debugging CoreData on Mac by setting: com.apple.CoreData.SQLDebug 3 and com.apple.CoreData.SyntaxColoredLogging YES What with our own logs, can we color/format them too somehow?

    Read the article

  • xCode Distribution error {iPhone SDK}

    - by Momeks
    Hi , when i want compile my app with the Distribution or Release method i get 140 ERRORS, i am using facebook connect on my app , and the path is right [my errors refer to fbconnect] , xcode runs my app fine on the debug !!!!!!! what's the problem ?

    Read the article

  • Xcode xcconfig file and build rules

    - by g-Off
    I have an Xcode project that contains many sub-projects. The main project file and all sub-projects have the same xcconfig file. Some of the sub-projects currently have a build rule set on them to use the Intel compiler for C++ files. I'm wondering if there is a way to move this build rule into the xcconfig file so that I can easily turn on or off the Intel compiler for C++ files by changing just the one xcconfig file instead of having to modify the build rule for each sub-project

    Read the article

  • Learning to compile in xcode

    - by 00PS
    I have started using c++ extensively in school and now my programs are getting to the point where have more than 1 file (i.e. header, driver, implementation file). I don't know enough about software development to understand or get a grasp of how to setup the build process by looking at apple's guides. Could someone walk me through how to compile a simple c++ project with a header and two c++ files in xcode? Do I first need to make a makefile??

    Read the article

  • Xcode preferences across multiple computers?

    - by Martytoof
    I run Xcode on both my laptop and desktop. I'm constantly tweaking my setup with regards to key bindings. Rather than try to get both configurations identical by hand, is there any way to create the configuration on one computer and then share it via dropbox (for example) for the other to use? Perhaps by symlinking the laptop's configuration file to one stored on dropbox? Very curious how others handle this situation.

    Read the article

  • XCode - Run Focussed Test

    - by Akshay
    In XCode - Is there a way of running just one test(one test case or preferably one test method). What I do today is to run the 'Test' task which runs all tests and takes up a lot of time. Thanks

    Read the article

  • build version - iphone app (xcode)

    - by peter61
    For one of my applications in xcode, I have the option to build for many different versions ranging from 3.0 to 3.1.3. Now when I make a new application, I only have the option to build this new application for 3.1.3. I can't seem to find where this project setting is. How can I build my application for 3.0? Thanks.

    Read the article

  • Compare two Xcode build settings

    - by John Smith
    I have a project where I use two build settings predominantly. Unfortunately today something went wrong. One compiles and the other doesn't. How can I compare the two build settings in XCode to see what the differences are? (For those interested, the error I get in one build is jump to case label crosses initialization of 'const char* selectorName' if you know what this means I'll be very grateful )

    Read the article

  • How to turn off startup text of GNU gdb in XCode

    - by willc2
    I'm new to XCode 3.1.2 and Objective-C 2.0. I've just discovered using breakpoints for logging instead of littering the code with millions of NSLog() statements. The problem is, when the debugger starts up it spews half a screen full of status and credits info into the console. Is there any way to suppress this text?

    Read the article

  • xcode compile options

    - by joels
    I am compiling from the command line with gcc -o output-file $(mysql_config --cflags) main.c $(mysql_config --libs) How can I add the extra params to xcode compiling options? gcc -o output-file $(mysql_config --cflags) main.c $(mysql_config --libs)

    Read the article

  • Write to XCode build transcript.

    - by eaigner
    Is there any way to write to the XCode build transcript? What i want to do, is throw a warning if a device is not attached to the computer instead of an assertion failure in my unit test cases (some cases rely on an attached ipod). I thought of something like the standard compiler warnings (only with custom message). Thanks.

    Read the article

  • Custom Data Formatters broken in xcode 3.2.2

    - by krunk
    I've noticed with Xcode 3.2.2 that all the custom data formatters are no longer working. Some searching around the mailing lists and google confirms others are having the same issue. A) Anyone else seen this B) Got a work around or an example custom data formatter plugin that still works in 3.2.2 that I can look to for hints on how to fix the ones I have?

    Read the article

  • How to get headers into framework in Xcode?

    - by john146
    I'm trying to build a framework for MacOS in Xcode 3. It looks like it's building everything except the Headers directory according to the layout listed in the Apple documentation. I can't find anything that tells me what settings to use to get the build process to copy the headers into Headers directory in the framework, or alternately where I have to put those files. Any help? Thanks.

    Read the article

  • Xcode/GCC predefined macro for target name?

    - by Justicle
    I was wondering if there is an Xcode or GCC preprocessor symbol for the target name of the application. For example if I'm building an application called "MonkeyChicken", is there a preprocessor symbol such that printf( __TARGET_NAME__ ) outputs: MonkeyChicken

    Read the article

  • how do you create a simple obejctice-c command line project in xcode

    - by Mark
    im moving from a c# VS2008 world into the mac world and I just wanted to know how I can create a quick little command line based application so that I can write many little objective-c apps without worrying about creating an iPhone app or whatever. Which projects do I create in xcode? I can see the Command Line Tool under "Mac os x" but the only options for the type is "C", "C++", "Core Data", "Core Foundation", "Core Services" and "Foundation" but no simple objective c project? Thanks

    Read the article

  • How to update Xcode to install "UNIX Development Support"

    - by Oscar Reyes
    I installed Xcode a long time ago. Apparently I didn't check back then the "UNIX Developemtn Support" checkbox. Now I want to have them bu when I click on the installation this is what appears: The UNIX Development Support check box is disabled Q. ¿How can I install the UNIX Development Support? Is there a way to run some script that creates all the needed links from /Developer/ to /usr/bin ? Thanks in advance.

    Read the article

  • How to enable MALLOC_PROTECT_BEFORE in Xcode?

    - by Daniel S.
    After switching on some debug options in Xcode, it now tells me the following in the output: GuardMalloc[Roadcast-4010]: free: magic is 0x0000090b, not 0xdeadbeef. GuardMalloc[Roadcast-4010]: free: header magic value at 0x43f49bf0, for block 0x43f49c00-0x43f50000, has been trashed by a buffer underrun. GuardMalloc[Roadcast-4010]: Try running with MALLOC_PROTECT_BEFORE to catch this error immediately as it happens. How do I switch on MALLOC_PROTECT_BEFORE?

    Read the article

< Previous Page | 7 8 9 10 11 12 13 14 15 16 17 18  | Next Page >