我已经安装了Xcode 7 beta 3,并且能够在模拟器上运行我的代码,但不能在我的设备上运行。我没有能够建立,也收到了警告:XCode 7 dyld:设置后找不到符号ENABLE_BITCODE = NO
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运行得很好。
PubNub最近发布了4.0版本。你有请求3.7的理由吗? – gurooj
我还没有更新。这是我会做的。 –