Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

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
 
Look at the features of the xcode-select and xcrun command line tools to find the appropriate path for your command line build.
 
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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.