Incorrect Environment Variables?
Hi, I was hoping someone could help me figure out why
always translates to "-iphoneos", regardless of whether I'm running in the simulator or on the iOS device.
Perhaps I'm using the wrong environment variable. What I want is for it to be "-iphoneos" when I'm running it on the device and "-iphonesimulator" when on the simulator.
Many thanks in advance.
Code:
$(EFFECTIVE_PLATFORM_NAME)
always translates to "-iphoneos", regardless of whether I'm running in the simulator or on the iOS device.
Perhaps I'm using the wrong environment variable. What I want is for it to be "-iphoneos" when I'm running it on the device and "-iphonesimulator" when on the simulator.
Many thanks in advance.
Update: I fixed the issue.
should be
The first one was taken out of a shell script.
Code:
$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
should be
Code:
$CONFIGURATION$EFFECTIVE_PLATFORM_NAME
The first one was taken out of a shell script.
Speaking of which...
Where is a good list of all the environment variables?
Where is a good list of all the environment variables?
KB Productions, Car Care for iPhone/iPod Touch
@karlbecker_com
All too often, art is simply the loss of practicality.
Do a clean build and look at the build log. Other than that, if you search for it, many of them are probably in the documentation.
There is documentation, but there's nothing like seeing the actual values. Xcode used to print all of them before running a shell script build phase.
Possibly Related Threads...
Thread: | Author | Replies: | Views: | Last Post | |
Mobile development environment Gideros Studio | gorkem | 0 | 4,439 |
Feb 8, 2012 12:55 PM Last Post: gorkem |
|
Best cross platform dev environment? | arutau | 8 | 8,780 |
Feb 26, 2006 01:32 PM Last Post: DesertPenguin |
|
Xcode debugger and C++ global/file scope variables. | WhatMeWorry | 2 | 6,600 |
Sep 9, 2005 12:34 AM Last Post: WhatMeWorry |
|
What is your game development environment? (June 2005) | Carlos Camacho | 38 | 27,059 |
Sep 5, 2005 03:45 PM Last Post: akb825 |
|
What's your game development environment? | XxtraLarGe | 17 | 15,748 |
Jan 9, 2004 09:18 AM Last Post: PowerMacX |