The application bundle does not contain a valid identifier
Asked Answered
B

11

39

I try to run my project but i get the following error "The application bundle does not contain a valid identifier."

here my info.plist

enter image description here

I followed other answer on the question. I don't have any "Ressources" folder inside my project.

Thanks for your help

Bohun answered 10/6, 2016 at 14:0 Comment(7)
Already done ;) my identifier does't bad character, i haven't 'ressources' folder inside my project, my info.plist is link !!Bohun
did you figure it out? i just ran into this issue. one moment i can build, changed 2 lines of code and boom, this stupid error appearsHannon
I restarted my project, I never found the solution ...Bohun
@Multinerd Have you found a solution?Beleaguer
@Beleaguer clearing derived data fixed it for me iircHannon
Thanks @Lilrom for the hint "I don't have any "Ressources" folder inside my project". This was my issue (even though it was located in a dynamic framework which is part of the app target). This helped: forums.coronalabs.com/topic/…Schmitz
@Schmitz I'm glad I was able to helpBohun
U
93

I solve this problem after I delete all build files by Xcode. Your build file path at Xcode > Preferences > Locations > Derived Data

If you didn't change the default path, Your path is like

File Path

I just deleted all files under DerivedData

Underrate answered 12/9, 2016 at 12:34 Comment(1)
Equivalent keyboard shortcut. cmd + alt + shift + kAte
W
5

In my case, this problem occurred when I manually removed a pod from my file browser in XCode. In order to fix it, I deleted the associated entry in my podfile, and ran 'pod install' from the terminal. Additionally, I had to delete the relevant search paths and other references to that pod. And of course I had to clean the project.

Whap answered 6/1, 2018 at 14:4 Comment(0)
O
1

In my case, my app's bundle contained a dash like com.some-thing.app so I just changed it to com.something.app and the problem was fixed.

Omniumgatherum answered 26/3, 2019 at 1:21 Comment(0)
T
1

In my case, the value for "Bundle Identifier" key was missing in Info.plist

Tallyho answered 30/12, 2021 at 4:54 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Guddle
H
0

In my case the info.plist had the wrong encoding format, I still don't know why it changed. So I had to create a new one from Xcode and copy paste all the keys.

Histrionism answered 14/5, 2018 at 10:20 Comment(0)
A
0

Cleaning the project solves my issue. Product -> Clean

Asaasabi answered 18/9, 2018 at 5:29 Comment(0)
R
0

I was building the wrong target on a device in my case. I was building the Test target rather than the normal app target.

Rehearsal answered 27/9, 2018 at 14:45 Comment(0)
C
0

In my case, I've added a framework into Embed Binaries phase, but it was already in my Link Frameworks and Binaries phase, which created a duplicate entry. Once I deleted one of them, this error starting appearing.

To fix it, I've removed the framework from both build phases and added it one more time

Countersignature answered 7/3, 2019 at 8:40 Comment(0)
A
0

For my case, it's caused by a wrong Info.plist in a framework(lack of Bundle identifier and Executable file)

Use ideviceinstaller -i xx.app can see the detailed error log.

Attis answered 9/10, 2019 at 11:51 Comment(0)
B
0

I ran into this issue trying to run flutter build ios, where the errors were related to trying to access WatchOS and TvOS simulators. For now, not sure how to disable that.

What worked was to run flutter run

Brunswick answered 18/8, 2020 at 23:21 Comment(0)
I
-1

In my case, the framework info.plist lack of Bundle identifier. use cmake create dynamic framwork misss Bundle identifier of the info.plist

Ignatius answered 16/7, 2020 at 2:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.