简体   繁体   English

无法在macOS 10.14 Mojave下加载Info.plist错误Xcode 10

[英]Unable to load Info.plist error Xcode 10 under macOS 10.14 Mojave

I got this error message while running my app from within Xcode and the Archived exported app do NOT execute under macOS 10.14 我在Xcode中运行我的应用程序时收到此错误消息,并且Archived导出的应用程序不在macOS 10.14下执行

[default] Unable to load Info.plist exceptions (eGPUOverrides)

BTW, change Xcode's File -> Project Settings -> Build System to "Legacy Build System" does not work for me. 顺便说一句,将Xcode的文件 - >项目设置 - >构建系统更改为“旧版构建系统”对我来说不起作用。

It's not an Xcode bug, it's a Mojave bug. 这不是Xcode错误,它是一个Mojave错误。

I met this error every seconds. 我每秒都遇到这个错误。 No matter I open any app, all comes with this bug in the Console. 无论我打开任何应用程序,都会在控制台中附带此错误。

I can't use the settings in System Prefrences - Security - Privacy - Accessibility because I can't add anything to the list ( I'm sure I unlocked the panel ) 我不能使用System Prefrences - Security - Privacy - Accessibility的设置,因为我无法在列表中添加任何内容(我确定我已解锁面板)

And when I start Steam, it also cause this error ------ Then the Steam exits on it's own. 当我启动Steam时,它也会导致此错误------然后Steam自行退出。

Seems it was due to the CoreServices or LaunchServices , but I don't know what to do. 似乎是由于CoreServicesLaunchServices ,但我不知道该怎么做。

I have the same problem with my project - everything builds fine, but nothing show up except that error: 我的项目遇到了同样的问题 - 一切都很好,但除了那个错误之外什么都没有显示:

Unable to load Info.plist exceptions (eGPUOverrides) 无法加载Info.plist异常(eGPUOverrides)

It IS Mojave bug. 这是Mojave的错误。 Apple trying to fix this issue in the next versions of Xcode. Apple试图在Xcode的下一个版本中修复此问题。 For now, I recommend to just downgrade the IDE for 9.4.1 version and waiting for resolve. 目前,我建议只需将IDE降级为9.4.1版本并等待解决。 It was the only option worked for me. 这是我唯一的选择。

Possibly not relevant but I had a similar issue today - XCode 10 + High Sierra. 可能不相关,但今天我遇到了类似的问题 - XCode 10 + High Sierra。

Mine was an issue with the Fabric/Run script in the Build Phases window. 我的Build Phases窗口中的Fabric / Run脚本存在问题。 The error suggested it was a 'timing' issue. 该错误表明这是一个“时机”问题。 I checked the box that said 'Run script only when installing' in the build phases window, and now my project builds and runs again. 我在构建阶段窗口中选中了“仅在安装时运行脚本”框,现在我的项目构建并再次运行。

[UPDATE] My solution was found here: XCode 10 archive failure [更新]我的解决方案在这里找到: XCode 10存档失败

Apps linked against 10.14 (Mojave) need to add this key to their Info.plist 与10.14(Mojave)相关联的应用需要将此密钥添加到其Info.plist中

NSAppleEventsUsageDescription

Details on usage available here Apple Developer Video and here Apple Developer Forum . 有关Apple Developer VideoApple Developer Forum的详细信息

The very latest Beta of Mojave 10.14.4 Beta (18E194d) fixed it for me. Mojave 10.14.4 Beta(18E194d)的最新测试版为我修复了它。 Without changing anything in XCode the error is finally gone. 在XCode中没有改变任何东西的情况下,错误终于消失了。

This seems to be resolved with the Public release of 10.14.4. 这似乎可以通过10.14.4的公开发布来解决。 I was having the issue until yesterday using 10.14.3 Public release but after overnight update the issue is gone. 直到昨天使用10.14.3公开发布我才遇到这个问题但是在一夜之间更新后问题就消失了。

I have removed the various work around suggestions such as 'Build System Legacy' in XCode and NSAppleEventsUsageDescription, which didn't actually help in my case, and everything is still fine. 我已经删除了各种建议,例如XCode和NSAppleEventsUsageDescription中的“Build System Legacy”,这在我的情况下实际上没有帮助,一切都还可以。

I've got xcode 10.1 and mojave 10.14 and solve it by build to Legacy Build System (as you mentioned) but also when my app ran, it triggered the OS to open an accessibility window for that app. 我有xcode 10.1和mojave 10.14并通过构建到Legacy Build System (正如你所提到的)解决它,但是当我的应用程序运行时,它触发操作系统打开该应用程序的辅助功能窗口。 I removed the current app association with - and re-added it. 我删除了当前的应用程序关联-并重新添加它。

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

相关问题 Xcode 10构建错误-多个命令产生了info.plist - Xcode 10 build error - Multiple commands produce info.plist Xcode 构建时错误:“无法加载文件列表的内容:‘.../Info.plist’(在目标‘xxxx’中) - Xcode Buildtime Error: 'Unable to load contents of file list: '.../Info.plist' (in target 'xxxx') Xcode 11 Swift 5 - 无法安装应用程序(无法加载 info.plist 文件) - Xcode 11 Swift 5 - Unable to install app (failed to load info.plist file) Xcode 10 命令行构建:存档失败,Fabric Info.plist 错误 - Xcode 10 command-line building: Archive failed with Fabric Info.plist Error Xcode 10故事板和info.plist git diff无法正确显示 - Xcode 10 storyboard and info.plist git diff is not properly showing Xcode 无法从捆绑包 Carthage GoogleAppMeasurement 加载 info.plist - Xcode Failed to load info.plist from bundle Carthage GoogleAppMeasurement Xcode 11.3.1 无法从路径中的包加载 Info.plist - Xcode 11.3.1 Failed to load Info.plist from bundle at path 将flutter项目导入MacOS并运行时出现Info.plist错误 - Info.plist error when importing flutter project into MacOS and running it High Sierra上的Xcode 10错误“可执行文件至少需要macOS 10.14” - Xcode 10 error on High Sierra “Executable requires at least macOS 10.14” Xcode 7错误:无法从Info.plist中读取CFBundleIdentifier(null) - Xcode 7 error: could not read CFBundleIdentifier from Info.plist (null)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM