0

Possible Duplicate:
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file

There is no build issue problem in program.But,When i try to run on simulator it show two error.

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'CalCulator/CalCulator-Info.plist'.

I'm not understanding, why this errors are showing?

Update:I solved the errors.but why this is showing?

Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1

Thanks in advice

Community
  • 1
  • 1
Adnan
  • 8,468
  • 9
  • 29
  • 45

1 Answers1

5

The compiler warning (or error) is 100% accurate.

The Copy Bundle Resources build phase contains this target's Info.plist file

You accidentally added your projects Info.plist file to your project target.

Select your Info.plist file in the left sidebar. Open the File Inspector in the right sidebar and remove the checkmarks in the "Target Membership" section.

Matthias Bauch
  • 89,811
  • 20
  • 225
  • 247