我正在嘗試安裝pod。以下是我的Podfile(我的項目名稱是NLP):無法安裝pod
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-NLP`: (``)
Using `ARCHS` setting to build architectures of target
`Pods-SwaggerRolesAndPolicies`: (``)
Using `ARCHS` setting to build architectures of target
`Pods-SwaggerUserProfile`: (``)
Using `ARCHS` setting to build architectures of target
`Pods-SwaggerNextStudent`: (``)
Using `ARCHS` setting to build architectures of target `Pods-SwaggerLogin`:
(``)
Using `ARCHS` setting to build architectures of target
`Pods-SwaggerNextAttendance`: (``)
Using `ARCHS` setting to build architectures of target `Pods-SwaggerNextFee`:
(``)
Using `ARCHS` setting to build architectures of target
`Pods-SwaggerNextStaff`: (``)
Finding Podfile changes
A OpenSSL-Universal
- Alamofire
- Charts
- Crashlytics
- FMDB
- Fabric
- KFSwiftImageLoader
Resolving dependencies of `Podfile`
Comparing resolved specification to the sandbox manifest
A OpenSSL-Universal
- Alamofire
- Charts
- Crashlytics
- FMDB
- Fabric
- KFSwiftImageLoader
Downloading dependencies
-> Using Alamofire (4.4.0)
-> Using Charts (3.0.1)
-> Using Crashlytics (3.8.4)
-> Using FMDB (2.6.2)
-> Using Fabric (1.6.11)
-> Using KFSwiftImageLoader (3.0.0)
-> Installing OpenSSL-Universal (1.0.2.10)
> Git download
> Git download
$ /usr/bin/git clone https://github.com/krzyzanowskim/OpenSSL.git
/var/folders/nz/8hrtwpzd5dj617b_38nqrw940000gn/T/d20170523-2509-vg335k
--template= --single-branch --depth 1 --branch 1.0.2.10
Cloning into '/var/folders/nz/8hrtwpzd5dj617b_38nqrw940000gn/T/d20170523-2509-vg335k'...
正是在這一點得到來襲:當我嘗試安裝莢
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
def pod_target
pod 'Alamofire','~>4.4'
end
target 'NLP' do
use_frameworks!
pod_target
pod 'KFSwiftImageLoader'
pod 'FMDB'
pod 'Fabric'
pod 'Crashlytics'
pod 'Charts'
pod 'OpenSSL-Universal'
end
target 'SwaggerRolesAndPolicies' do
use_frameworks!
pod_target
end
target 'SwaggerUserProfile' do
use_frameworks!
pod_target
end
target 'SwaggerNextStudent' do
use_frameworks!
pod_target
end
target 'SwaggerLogin' do
use_frameworks!
pod_target
end
target 'SwaggerNextAttendance' do
use_frameworks!
pod_target
end
target 'SwaggerNextFee' do
use_frameworks!
pod_target
end
target 'SwaggerNextStaff' do
use_frameworks!
pod_target
end
下面發生的事情。什麼可能是錯誤,我該如何解決它?只有在添加OpenSSL-Universal pod時纔會出現此錯誤。我的xcode版本是8.3.2。
如果您的項目名稱/目標NLP爲什麼您使用其他目標? – Roy
我爲項目添加了其他目標...我需要Alamofire在其他目標中,所以我以這種方式添加。 –
用'--verbose'試着'pod install'來查看是否有錯誤 – Tj3n