Reputation: 2098
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
I followed other answer on the question. I don't have any "Ressources" folder inside my project.
Thanks for your help
Upvotes: 39
Views: 21229
Reputation: 11
In my case, the value for "Bundle Identifier" key was missing in Info.plist
Upvotes: 1
Reputation: 12063
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
Upvotes: 0
Reputation: 1
In my case, the framework info.plist lack of Bundle identifier. use cmake create dynamic framwork misss Bundle identifier of the info.plist
Upvotes: -1
Reputation: 1
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.
Upvotes: 0
Reputation: 650
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.
Upvotes: 1
Reputation: 1182
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
Upvotes: 0
Reputation: 1022
I was building the wrong target on a device in my case. I was building the Test target rather than the normal app target.
Upvotes: 0
Reputation: 4515
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.
Upvotes: 0
Reputation: 2317
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.
Upvotes: 5
Reputation: 1094
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
I just deleted all files under DerivedData
Upvotes: 94