<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Ross,<br>
</p>
<p><br>
</p>
<p><span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">> One correction to your file: I presume that</span></p>
<p><span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"></span><span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">>
/usr/bin/xcrun (3 occurrences)</span><br style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">
<span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">> should be replaced with</span><br style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">
<span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);">> $(TOOL_PATH)/xcrun</span><br>
</p>
<p><br>
</p>
<p>xcrun is actually located in /usr/bin. I should have added a note to the build script that “Command line tools (OSX *.*) for Xcode - Xcode *.*” has to be installed as it includes xcrun. There may be a way to get this script working without xcrun, but I haven't
found it. The vast majority of iOS developers will have that set of tools installed.<br>
</p>
<p><br>
</p>
<p>Also: I forgot I was building without testProgs. When I downloaded the live555 source to test the build script I posted yesterday it failed on testMP3Streamer as the std c++ library wasn't being linked.<br>
</p>
<p><br>
</p>
<p>I've updated the script to include a note about the command line tools and added a linker option for the missing library. I downloaded a fresh copy of the live555 source and the following script builds the static libraries successfully:<br>
</p>
<p><br>
</p>
<div># **Note: you must install the relevant “Command line tools (OSX *.*) for Xcode - Xcode *.*” for this script to work.<br>
</div>
<div># Available from: https://developer.apple.com/downloads/index.action</div>
<div># Change the following version number, if necessary, before running "genMakefiles iphoneos"</div>
<div>IOS_VERSION =<span class="Apple-tab-span" style="white-space:pre"> </span>8.1</div>
<div><br>
</div>
<div>DEVELOPER_PATH =<span class="Apple-tab-span" style="white-space:pre"> </span>
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer</div>
<div>TOOL_PATH =<span class="Apple-tab-span" style="white-space:pre"> </span>$(DEVELOPER_PATH)/usr/bin</div>
<div>SDK_PATH =<span class="Apple-tab-span" style="white-space:pre"> </span>$(DEVELOPER_PATH)/SDKs</div>
<div>SDK =<span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"></span>$(SDK_PATH)/iPhoneOS$(IOS_VERSION).sdk</div>
<div>COMPILE_OPTS = $(INCLUDES) -I. $(EXTRA_LDFLAGS) -DBSD=1 -O2 -DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -arch armv7 --sysroot=$(SDK)</div>
<div>C = c</div>
<div>C_COMPILER = /usr/bin/xcrun clang</div>
<div>C_FLAGS = $(COMPILE_OPTS)</div>
<div>CPP = cpp</div>
<div>CPLUSPLUS_COMPILER = /usr/bin/xcrun clang</div>
<div>CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall</div>
<div>OBJ = o</div>
<div>LINK = /usr/bin/xcrun clang -o </div>
<div>LINK_OPTS = -v -L. -arch armv7 --sysroot=$(SDK) -L$(SDK)/usr/lib/system /usr/lib/libc++.dylib</div>
<div>CONSOLE_LINK_OPTS = $(LINK_OPTS)</div>
<div>LIBRARY_LINK = libtool -s -o </div>
<div>LIBRARY_LINK_OPTS =</div>
<div>LIB_SUFFIX = a</div>
<div>LIBS_FOR_CONSOLE_APPLICATION =</div>
<div>LIBS_FOR_GUI_APPLICATION =</div>
<div>EXE =</div>
<div><br>
<br>
</div>
<div>Best regards,<br>
</div>
<div><br>
</div>
<div>Braden Ackerman<br>
</div>
<div><br>
</div>
<p><br>
</p>
</div>
</body>
</html>