Possible Duplicate:
Build Error - missing required architecture i386 in file
I have searched high and low for an answer to this problem but just have not found a solution.
Basically I have made an app that works just fine when run from an actual iphone (3GS and 4) but it will not run in the iphone simulator.
When I try to run it through the sim it gives me two warnings and one error.
The warnings are that it is ignoring AVFoundationFramework and CoreFoundationFramework. It says that it is missing the required architecture i386 in file for architecture i386. - To me this is saying that these files are not supported for a intel cpu - is that correct?
Then the error tells me
"Command Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1"
If anyone can tell me of a fix for this that would be most appreciated, or if you could tell me that it simply won't run in the simulator - that would also be appreciated.
thankyou.