iOS Environment variable not setting correct path to libcache.dylib

rchaud10

macrumors newbie
Original poster
May 28, 2013
4
0
Hey everyone,

I have been trying to build a package for the iPhone that requires the use of libcache.dylib under the Xcode path, but I keep getting an error where it keeps looking for it in /usr/bin/libcache.dylib. I want it to use the Xcode one rather than the MacOS one because it does not have the required armv7 architecture for compiling the package for the iPhone properly. Does anyone know how I need to set the environment variables in my script to make this work? I am working with Xcode that includes iOS6.1 SDK.

Thanks
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
Look at the features of the xcode-select and xcrun command line tools to find the appropriate path for your command line build.
 

rchaud10

macrumors newbie
Original poster
May 28, 2013
4
0
I am building outside of the Xcode application. I'm just using a script that is setting environment variables to point to the right places. But it was not working properly. How do I make sure it works?