简体   繁体   English

iOS构建问题使用Xcode(10.2)

[英]iOS build issue With Xcode (10.2)

My Xcode Version is 10.2 and MacOS Version is 10.14.4. 我的Xcode版本是10.2,MacOS版本是10.14.4。

I am new to iOS. 我是iOS新手。 I have a project in Unity, which I export and build in Xcode. 我在Unity中有一个项目,我在Xcode中导出和构建。 If I build my project with Xcode-9.4 it works perfectly. 如果我使用Xcode-9.4构建我的项目,它可以很好地工作。 But When I try to build my project with XCode-10.2 it gives me this error: 但是当我尝试使用XCode-10.2构建我的项目时,它给了我这个错误:

dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from: /private/var/containers/Bundle/Application/FE30DBA8-091A-4350-9E8F-2CAF3FF03497/MyApp.app/Frameworks/libBluetooth.framework/libBluetooth Reason: image not found dyld:未加载库:@rpath / libswiftCore.dylib引用自:/private/var/containers/Bundle/Application/FE30DBA8-091A-4350-9E8F-2CAF3FF03497/MyApp.app/Frameworks/libBluetooth.framework/libBluetooth原因:图像未找到

I have google it a lot but found nothing helpful any help is highly appreciated. 我已经谷歌了很多,但没有找到任何帮助任何帮助非常感谢。

Below are the solutions I have already tried. 以下是我已经尝试过的解决方案。

  1. Always Embed Swift Standard Libraries => Yes (Not helpful) 始终嵌入Swift标准库=>是(无用)
  2. "Clean" my project (shift+cmd+K) a “清理”我的项目(shift + cmd + K)a
  3. My Apple World Wide Certificate is already valid. 我的Apple World Wide证书已经有效。

This fixed it for me : 这为我修好了:

  • Close Xcode 关闭Xcode

  • Open Keychain Access 打开钥匙串访问

  • Right click on your certificate -> Get Info 右键单击您的证书 - > 获取信息

  • Under Trust -> Change When using this certificate value to Use System Default 信任 - >更改时使用此证书使用系统默认值

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

相关问题 Xcode 10.2 更新问题构建系统错误-1:无法加载文件列表的内容:输入/输出xcfilelist - Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist Xcode 10.2 上的 Swift 通用框架问题 - Swift Universal framework issue on Xcode 10.2 InAppBrowser无法在iOS 10.2(Xcode 8)中正常打开 - InAppBrowser does not open properly with iOS 10.2 (Xcode 8) 更新到 Xcode 10.2 版本后在 testflight 上出现黑屏 - After updating to Xcode 10.2 build gets black screen on testflight Xcode 10.2 iOS Swift (+ React Native) 项目编译错误 - Xcode 10.2 iOS Swift (+ React Native) project compilation error 无法在 Xcode 10.2 中的模拟器上运行 iOS 应用程序 - Can't run iOS app on simulator in Xcode 10.2 未找到Alamofire框架(Xcode-8.2.1和iOS 10.2) - Alamofire framework not found(Xcode-8.2.1 and iOS 10.2) Xcode8/SDK iOS 10.2 设备、配置文件和代码签名问题 - Xcode8/SDK iOS 10.2 device, profiles and code signing problems 自定义类不会自动显示 - Swift 3 iOS 10.2 Xcode 8 - Custom class not automatically showing up - Swift 3 iOS 10.2 Xcode 8 Xcode 10.2 无法在 iOS &lt; 10 的模拟器上运行应用程序 - Xcode 10.2 Failed to Run App on Simulator with iOS < 10
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM