0
votes

I just got an application from net. But the problem is it is not compiling for simulator but when i add my provisioning profile and attach device and run it on device it runs fine on it. So I want to know which of the Functionality will not allow application to run on simulator. Application is using IN App purchase, device accelerometer.

Error is

 llvm-gcc-4.2: error trying to exec '/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/../llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2':
 execvp: No such file or directory

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 255
2
Add some error info from your compiler.Pavel Oganesyan
try running in a different simulator version n seeSharanya K M
please check now. I try different simulator and i also reset themIqbal Khan

2 Answers

1
votes

At Last found my solution on this link.

Very strange. I encountered the same error and both the Debug and Release "Valid Architectures" were set to armv6 and armv7. (The same code compiles fine in Xcode 3.2.) I ended up deleting both settings, then expressly setting them to $(ARCHS_STANDARD_32_BIT) ... which in turn translates to armv6 and armv7 again ... and it compiles just fine now. No i386 needed. Hmm ...

0
votes

Some of the specific functionality provided by apple in ios that need device are as - IAP(In app purchase),Push Notifications,Accelerometer/Gyroscope ,Image Picking,Camera recording,Calling,Messaging,Open a app from your app,Voice related,Sometime recording also need a device(But i observe it sometime not all the time),Bluetooth data connectivity,App that is using any Game Center functionality need a device,Printer connectivity,Airplayetc.

All these things need a device to run the app you can't check the functionality with the simulator provided for development.I think you got an idea now.

Thanks,