我今天更新了cocoapods到1.0.0版本.我更新pod时得到了这个字符串:
[!] Invalid Podfile file: [!] The specification of link_with in the Podfile is now unsupported, please use target blocks instead..
我已经删除了podFile中的link_with,但我无法构建项目,因为我有很多Match-O-Linkers.任何人都知道我应该如何解决这个问题?
这是我的Podfile现在:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
inhibit_all_warnings!
pod 'pop', '~> 1.0'
pod 'AFNetworking', '~> 1.3'
pod 'SDWebImage', '~> 3.7'
pod 'GoogleAnalytics', '~> 3'
pod 'ARAnalytics' , :subspecs => ["Crashlytics", "Amplitude", "DSL"]
pod 'FBSDKCoreKit', '~> 4.10.1'
pod 'FBSDKLoginKit', '~> 4.10.1'
pod 'FBSDKShareKit', '~> 4.10.1'
pod 'Google/SignIn'
pod 'Branch'
pod 'Leanplum-iOS-SDK'
pod 'Fabric', '1.6.7'
pod 'Crashlytics', '3.7.0'
pod 'TwitterKit'
pod …Run Code Online (Sandbox Code Playgroud) 我对Xcode 5中的.pch文件感到担忧.
我的.pch文件中有以下代码 -
#ifdef __OBJC__
#import <Example/Example.h>
#endif
Run Code Online (Sandbox Code Playgroud)
但是当我在我的代码中使用Example.h类时,它无效.当我使用代码时 -
[Example sharedInstance];
Run Code Online (Sandbox Code Playgroud)
xcode显示错误"Use od undeclared identifier Example".问题是什么?