2014-02-05 101 views
0

我是iOS開發新手。在我的應用程序中,我試圖包含Dropbox API。包括這個API後,我得到了錯誤。找不到架構i386的符號 - Xcode中的Dropbox SDK

這樣做是否需要。

-[MPOAuthCredentialConcreteStore(KeychainAdditions) addToKeychainUsingName:andValue] in DropboxSDK 
    "_kSecAttrSecurityDomain", referenced from: 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) addToKeychainUsingName:andValue] in DropboxSDK 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) findValueFromKeychainUsingName:returningItem in DropboxSDK 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) removeValueFromKeychainUsingName] in DropboxSDK 
    "_kSecAttrServer", referenced from: 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) addToKeychainUsingName:andValue] in DropboxSDK 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) findValueFromKeychainUsingName:returningItem] in DropboxSDK 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) removeValueFromKeychainUsingName] in DropboxSDK 
    "_kSecAttrService", referenced from: 
     +[DBKeychain initialize] in DropboxSDK 
    "_kSecAttrType", referenced from: 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) addToKeychainUsingName:andValue] in DropboxSDK 
    "_kSecClass", referenced from: 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) addToKeychainUsingName:andValue in DropboxSDK 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) findValueFromKeychainUsingName:returningItem] in DropboxSDK 
     -[MPOAuthCredentialConcreteStore(KeychainAdditions) removeValueFromKeychainUsingName in DropboxSDK 
     +[DBKeychain initialize] in DropboxSDK 
     +[DBKeychain setCredentials in DropboxSDK 
    "_kSecClassGenericPassword", referenced from: 
     +[DBKeychain initialize] in DropboxSDK 
    "_kSecClassInternetPassword", referenced from: 

回答

1

確保你沒有忘記添加Security.framewok

+0

謝謝你的答案阿尼爾。但是我已經添加了這個框架。 – Sagar

+0

所有符號僅來自安全框架。可以重新檢查一遍框架是否正確連接 –

+0

獲得增加和刪除安全框架,但同樣的問題。 – Sagar