gpt4 book ai didi

ios - XCode 7 dyld : Symbol not found after setting ENABLE_BITCODE=NO

转载 作者:行者123 更新时间:2023-11-29 10:27:40 28 4
gpt4 key购买 nike

我已经安装了 Xcode 7 beta 3,我可以在模拟器上运行我的代码,但不能在我的设备上运行。我无法构建并收到警告:

ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Developer/Library/Frameworks'
ld: -bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together

所以我设置了 ENABLE_BITCODE=NO,现在设备可以构建,但它会因错误而崩溃:

dyld: Symbol not found: __TMdVSS5Index
Referenced from: /private/var/mobile/Containers/Bundle/Application/75C6AF90-20D1-4CC7-B206-94C8FAD41DEF/BiggerCity.app/Frameworks/Alamofire.framework/Alamofire
Expected in: /private/var/mobile/Containers/Bundle/Application/75C6AF90-20D1-4CC7-B206-94C8FAD41DEF/BiggerCity.app/Frameworks/libswiftCore.dylib
in /private/var/mobile/Containers/Bundle/Application/75C6AF90-20D1-4CC7-B206-94C8FAD41DEF/BiggerCity.app/Frameworks/Alamofire.framework/Alamofire

我的 Podfile 是:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift-2.0'
pod 'PubNub', '3.7.10.8’

有谁知道可能导致此错误的原因是什么?自从我安装 Xcode 7 后才出现这种情况。Xcode 6 运行得很好。

最佳答案

我需要做的是清理和删除派生数据。之后我就可以在我的设备上运行我的应用程序了。

关于ios - XCode 7 dyld : Symbol not found after setting ENABLE_BITCODE=NO,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31343875/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com