Comments (4)
pod 是什么版本呢?
from v2ex.
谢谢您的回复啦!我的pod版本是1.0.0。
还有我第一次编译工程的时候就改了工程里的Podfile,因为我每次直接拿down下来的podfile进行 pod install时,会出现如下错误:
Analyzing dependencies
[!] The dependency AFNetworking (> 2.2.0) is not used in any concrete target.> 2.3) is not used in any concrete target.
The dependency NYXImagesKit (
The dependency FXKeychain (> 1.5) is not used in any concrete target.> 2.2.0) is not used in any concrete target.
The dependency BlocksKit (
The dependency NSString-Hashes (> 1.2.1) is not used in any concrete target.> 1.3.2) is not used in any concrete target.
The dependency FrameAccessor (
The dependency MWFeedParser (> 1.0.1) is not used in any concrete target.> 4.0) is not used in any concrete target.
The dependency RegexKitLite (
The dependency MBProgressHUD (~> 0.8) is not used in any concrete target.
所以我把podfile改成了如下:
platform :ios, '7.0'
inhibit_all_warnings!
use_frameworks!
target 'v2ex' do
pod 'AFNetworking', '> 2.2.0'> 2.3'
pod 'NYXImagesKit', '
pod 'FXKeychain', '> 1.5'> 2.2.0'
pod 'BlocksKit', '
pod 'NSString-Hashes', '> 1.2.1'> 1.3.2'
pod 'FrameAccessor', '
pod 'MWFeedParser', '> 1.0.1'> 4.0'
pod 'RegexKitLite', '
pod 'MBProgressHUD', '~> 0.8'
end
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ARCHS'] = 'armv7 arm64'
end
end
end
然后pod install的话,可以执行成功,显示如下:
Setting up CocoaPods master repo
Setup completed
Analyzing dependencies
Downloading dependencies
Using AFNetworking (2.2.4)
Using BlocksKit (2.2.5)
Using FXKeychain (1.5.3)
Using FrameAccessor (1.3.2)
Using MBProgressHUD (0.9.1)
Using MWFeedParser (1.0.1)
Using NSString-Hashes (1.2.2)
Using NYXImagesKit (2.3)
Using RegexKitLite (4.0)
Generating Pods project
Integrating client project
Sending stats
我只对工程的podfile做了修改,剩下的就是您主页里提到的方法改过。
还有就是我觉得我第一个编译只在target是'v2ex'时能成功是因为我改了podfile,但是因为我是初学者,理解学习的不够深刻,可能改的不够完善,所以只在那一种target下成功了。
但是现在都编译不过,我现在也还没找到别的原因。
再谢谢了!~
from v2ex.
现在编不过是什么提示? 刚刚把 Podfile 更新到支持 Cocoapods 1.0 了
from v2ex.
我的也出现这个问题,使用更新后的1.0也不行
from v2ex.
Related Issues (20)
- 貌似不能回复楼中楼 HOT 1
- Markdown 不解析 HOT 1
- 关于Manager类的一些问题? HOT 4
- 注销账户后,重新登录crash。 HOT 1
- 看源码关于SCAnimationView.m中一个疑惑 HOT 5
- iOS 10 滑动返回动画卡顿 HOT 4
- 很奇怪的,app store里面有两个一样的。 HOT 2
- 有没有考虑做数据持久化? HOT 1
- pod install失败 HOT 1
- iPad上乱码问题 HOT 4
- 头像变形
- 下载下来就报错 HOT 4
- iOS 11 iPad乱码 HOT 1
- pod fail
- 请问一下登录为什么一直提示失败 是API过期了吗 HOT 3
- 这么好的东西,不继续维护了吗? HOT 5
- 向您请教一个关于v2ex中SCActionSheet组件的问题 HOT 2
- 回复会丢失
- 访问v2ex官网提示连接被重置?发生了什么???
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2ex.