Right this has become a right pain I have been looking at it for 2 days now and can\'t seem to solve it. Here is the error I am getting.
Normally, extra slashes won't muck up a UNIX-like build process.
But, you do need to make sure the armv7 architecture is inside the framework file that your build is trying to use. To do this, use the lipo -info command at the command line:
lipo -info /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/System/Library/Frameworks//SystemConfiguration.framework/SystemConfiguration
You should see output like this:
Architectures in the fat file: SystemConfiguration are: armv6 armv7
If you don't, your project is probably set up to link to the wrong version of the SystemConfiguration.framework. There's multiple versions of that framework on your machine. So, I would verify the path of the framework (i.e. SystemConfiguration) that you have in your project.
Normally, I would expect that file to be something like this (adjusted for the OS version you're using):
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/System/Library/Frameworks/SystemConfiguration.framework