Ok, I have been working on an iPhone App using MonoTouch and MonoDevelop for the last few months. In this time I have been able to deploy to the app to my phone for debugging/testing purposes and have also been able to compile Adhoc versions for my employers to try out. This has all worked fine... until this week.

The latest version I sent out will not go into iTunes and fails with the following error:

```
The app "Payload.ipa" could not be added to your iTunes library because it is not a valid app.

```

So basically your generic "something is wrong but I am not going to tell you exactly what" kind of error.

My initial investigations seemed to suggest that the problem may be with the app name containing special characters but as I have not changed the app name for a long time this isn't the problem. I did add a bundle version to info.plist though however removing this didn't fix the problem.

So then I had a look at the files in the output folder and I noticed that Settings.bundle was now included (I added a file called Config.plist to store some settings used by the app). In MonoDevelop I changed the options to make it "Content" and "Always copy" as suggested by the guides I was following. This works perfectly when running the app in the Simulator or on my phone via MonoDevelop. But when I package the app as a .ipa file iTunes says the app is not valid. If I remove Settings.bundle iTunes accepts it.

I have read that the "Always copy" option isn't required when setting "Content" but the Settings.bundle file still appears in the output (bin) folder even with the option set to "Do not copy".

I also thought that maybe I had to change the name to Root.plist because that's what the examples use and maybe it's expected to be that. But again changing the name didn't make a difference.

So I was just wondering if anyone else has run into this problem and how do you solve it?