mirror of
https://github.com/zhigang1992/facebook-ios-sdk.git
synced 2026-04-29 18:06:34 +08:00
Summary: This is to prevent the following error that was seen in D33750740 (8044535803) ``` objc attribute used without importing module 'Foundation' ``` Found the files with: ``` git ls-files '*.swift' | xargs ack -l 'objc' | xargs ack -L 'import (Foundation|XCTest)' ``` Note: In D33783526 (4610b07bda) a custom SwiftLint rule was added to detect this but it only works if there aren't any other imports. Reviewed By: samodom Differential Revision: D33803396 fbshipit-source-id: 575d7798a77aac30384f8f44c1d45f97d60fe8f7