2017-03-20 19 views
1

Swift 32.2からアップグレードしました。私はFirebase,Google Maps,Google Places,SwiftyJSON,Alamofire 4.4およびSDWebImageを使用しています。私はgit commitを走り、これ以外のすべてのエラーを修正し、すべてのpodsを再インストール:Swift 3にアップグレードするエラー:フレームワークが見つかりませんでした。GoogleInterchangeUtilities

私は GoogleInterchangeUtilitiesを見つけるか、どのように私はそれをインストールしたり、修正しない

ld: framework not found GoogleInterchangeUtilities clang:

error: linker command failed with exit code 1 (use -v to see invocation)

(null): Framework not found GoogleInterchangeUtilities

(null): Linker command failed with exit code 1 (use -v to see invocation)

+1

[この](http://stackoverflow.com/questions/37306621/integration-google-analytics-in-swift-app)はあなたの問題を解決するのに役立ちますかどうかを確認してください。 –

+0

@ f_qiありがとう私はそれを見ている –

+0

@ f_qi私は、あなたの助けを借りて、問題を解決しました: –

答えて

5

私はSwift 2.2からSwift 3にアップグレードする場合、私がした最初のものはきれいだったし、私のcocoapodsを削除します。

pod deintegrate 
pod clean 
pod cache clean --all 
rm Podfile 

何らかの理由で、私は私がもともと持っていたポッドのすべて、GoogleInterchangeUtilitiesファイルに加えて、いくつかを再インストール他の人は、プロセス中に削除されました:

Analyzing dependencies 
Removing GoogleInterchangeUtilities //**REMOVED** 
Removing GoogleNetworkingUtilities //**REMOVED** 
Removing GoogleParsingUtilities //**REMOVED** 
Removing GoogleSymbolUtilities //**REMOVED** 
Removing GoogleUtilities //**REMOVED** 
Downloading dependencies 
Installing Alamofire 3.5.1 (was 3.4.1) 
Installing Firebase 3.15.0 (was 3.3.0) 
Installing FirebaseAnalytics 3.7.0 (was 3.2.1) 
Installing FirebaseAuth 3.1.1 (was 3.0.3) 
Installing FirebaseCore (3.5.2) 
Installing FirebaseCrash 1.1.6 (was 1.0.6) 
Installing FirebaseDatabase 3.1.2 (was 3.0.2) 
Installing FirebaseDynamicLinks 1.3.4 (was 1.1.0) 
Installing FirebaseInstanceID 1.0.9 (was 1.0.7) 
Installing FirebaseStorage 1.1.0 (was 1.0.2) 
Installing GTMSessionFetcher (1.1.9) 
Installing GoogleMaps 2.2.0 (was 1.13.2) 
Using GooglePlacesAPI (1.0.6) 
Installing GoogleToolboxForMac (2.1.1) 
Installing ObjectMapper 1.5.0 (was 1.3.0) 
Installing Protobuf (3.2.0) 
Using SDWebImage (3.8.2) 
Generating Pods project 
Integrating client project 
Sending stats 
Pod installation complete! There are 10 dependencies from the Podfile and 17 total pods installed. 

私は最終的にGoogleに行って、それのポッドに私を導いたGoogleInterchangeUtilitiesで入力しますインストールページhere。エラーを取り除いたポッドを再インストールしましたが、削除された他のファイルのそれぞれが独自のld: framework not found... Xcodeエラーを起こしました。

あなたのcocoapodsファイルをクリーニングして削除してすべてを再インストールすると、Google...Utilitiesフレームワークが削除される可能性があります。特定の個々のポッドをポッドファイルに含めてから、pod installを再度実行する必要があります。ここで

# Uncomment the next line to define a global platform for your project 
# platform :ios, '9.0' 

target 'myProject' do 
    # Comment the next line if you're not using Swift and don't want to use dynamic frameworks 
    use_frameworks! 

    # Pods for myProject 

pod 'GoogleInterchangeUtilities', '~> 1.2' 
pod 'GoogleNetworkingUtilities', '~> 1.2' 
pod 'GoogleParsingUtilities', '~> 1.1' 
pod 'GoogleSymbolUtilities', '~> 1.1' 
pod 'GoogleUtilities', '~> 1.3' 

//all my other pods... 

そのcocoapodsがインストールされているページ:

GoogleInterchangeUtilities

GoogleNetworkingUtilities

GoogleParsingUtilities

ここ

は彼らと私のポッドファイルはすべて私の他のポッドに加えて、含まれています

GoogleSymbolUtilities

GoogleUtilities

+0

あなたは、救世主です。 – PanxShaz

+0

@PanxShazうれしい –

関連する問題