56

enter image description here

my Xcode is Version 4.4.1

The project worked perfect before updating to this newer version, but now it stopped working

Som
  • 122
  • 1
  • 1
  • 12
user1297301
  • 887
  • 1
  • 9
  • 12
  • Estimation is new xcode with old not compatible – user1297301 Aug 24 '12 at 07:01
  • Ok, not sure if this is the Problem in Your Project. But what fixed it for me, was to change the Name of the Info.plist File. 1. I changed the name from Info.plist to my-project-info.plist 2. also change it under target-build-settings/Packaging/Info.plist 3. Than delete the App from Devices/Simulators and re-run the App through Xcode In my Case, everything worked fine since than. In my Case **there was nothing wrong with the specifications made in the plist file or with the valid architectures**. – Oleg Hein Sep 05 '13 at 15:58
  • 1
    My Solution Find Here: http://stackoverflow.com/a/20798054/1092219 – Himanshu Agnihotri Dec 27 '13 at 09:26
  • 9
    It's a compiler issue, you can set the 'Compiler for C/C++/Objective-C' flag under build options to default or Apple LLVM 5.0. – Say2Manuj Feb 27 '14 at 06:59
  • 1
    Target -> Build Settings -> Build Options set the "Compiler for C/C++/Objective-C" - "Default compiler (Apple LLVM 5.0)" and the issue will be solved – Jayaprada Mar 13 '14 at 08:39

7 Answers7

39

I have had the same issue when making multiple targets. My issue was that I had to change my Product Name under Packaging.

In each target project > Build Settings > Packaging -> Product Name

M Jesse
  • 2,213
  • 6
  • 31
  • 37
27

I wanted to install my old application on iPad. I updated the my XCode from 4.3.2 to XCode 4.5 and having this problem.I tried searched alot finally got this solution.

In your target settings (not project settings), please check the following settings there

Valid Architectures : armv7

In my case, there was arm6 which i removed from it and it works. Hope this helps :)

iNeal
  • 1,729
  • 15
  • 23
8

Had the same issue today. If you have added any file check if you didn't also add info.plist with the files. Remove that and it will work.

LetynSOFT
  • 134
  • 1
  • 8
  • Please note that Info files may exist under one of your "Library Search Paths" directories. and not necessarily added to your project files! (took me hours to notice) – AmitP Mar 17 '14 at 16:53
3

In your Info.plist remove a string "Required device capabilities armv7"

OrdoDei
  • 1,379
  • 2
  • 16
  • 9
2

I had this same error message thrown at me today.

I was working in a workspace with a few iOS App projects and a Framework project (using https://github.com/kstenerud/iOS-Universal-Framework). I had just added that Framework project and tested things out in the iPhone emulator, but when I went to just fire up any of the apps on my iPhone, they all threw this error (mentionned above).

Turns out I fixed the problem by just removing the Framework project from the workspace. I could use the framework from within an iOS app without trouble, but the framework project could live in the same workspace for some reason.

Hope this helps anyone in my situation!

matehat
  • 5,214
  • 2
  • 29
  • 40
2

I just ran into this issue I had added the Info.plist from the Facebook SDK 3.5 to my Xcode project. As soon as I removed the facebook Into.plist file everything worked.

ribeto
  • 2,038
  • 1
  • 16
  • 17
2

In your Info.plist remove a string "Required device capabilities opengles-1"

Jarson
  • 123
  • 4