简体   繁体   English

Xamarin 应用程序说它缺少 CFBundleIdentifier,即使我在 info.plist 中有它

[英]Xamarin app says it's missing CFBundleIdentifier even though I have it in the info.plist

I am trying to run a Xamarin app and it gives out an error that the "CFBundleIdentifier" is missing.我正在尝试运行 Xamarin 应用程序,它给出了“CFBundleIdentifier”丢失的错误。 I looked at the "info.plist" and I can see that it's there.我查看了“info.plist”,我可以看到它就在那里。 This is the error I am getting:这是我得到的错误:

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.Shared.targets(3,3): Error: A bundle identifier is required. Either add an 'ApplicationId' property in the project file, or add a 'CFBundleIdentifier' entry in the project's Info.plist file. (MyCoffeeApp.iOS)

This is a screenshot from the "info.plist": info.plist这是来自“info.plist”的截图: info.plist

Did someone encounter this?有人遇到过这个吗? How can I resolve this?我该如何解决这个问题?

I found the issue - I had 2 different locations with the same project and the "info.plist" file I had was in the wrong location.我发现了问题 - 我有 2 个不同的位置与同一个项目,并且我拥有的“info.plist”文件位于错误的位置。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Xcode 说 Facebook 应用程序 ID 不包含在 info.plist 中,即使我已经提到它 - Xcode says Facebook app id isn't included in info.plist even though I have mentioned it Framework的Info.plist中没有CFBundleIdentifier - Framework did not have a CFBundleIdentifier in its Info.plist 即使我在 info.plist 中添加了 NSCameraUsageDescription,应用程序也会崩溃,使用 iOS 10、Xcode 8 - App crashes even though I added NSCameraUsageDescription in info.plist, using iOS 10, Xcode 8 确保应用程序的 Info.plist 包含 CFBundleIdentifier 的值。 打印:条目,“:CFBundleIdentifier”,不存在 - Ensure that the application's Info.plist contains a value for CFBundleIdentifier. Print: Entry, ":CFBundleIdentifier", Does Not Exist 缺少info.plist键(但是我有键) - Missing info.plist key ( but i have the key ) 应用程序因Info.plist文件麦克风中缺少目的字符串而被拒绝,但我无法在info.plist中添加说明 - App got rejected for missing Purpose String in Info.plist File Microphone, but I can't add the description in info.plist 框架使用Swift和Cocoapods在Info.plist中没有CFBundleIdentifier - framework did not have a CFBundleIdentifier in its Info.plist using Swift and Cocoapods 尽管我的info.plist具有“ NSCameraUsageDescription”属性,但iTunes Connect会显示“无效二进制” - iTunes connect says 'Invalid Binary' although I have 'NSCameraUsageDescription' property in my info.plist iTunes Connect 抱怨我的 Xamarin Forms 应用程序“Info.plist 中缺少目的字符串” - iTunes Connect complains about my Xamarin Forms app "Missing Purpose String in Info.plist" 有没有办法在Info.plist文件的其他地方引用CFBundleIdentifier? - Is there a way to refer to the CFBundleIdentifier elsewhere in the Info.plist file?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM