같은 오류가 발생했습니다.
import Firebase
그러나 주 대상 섹션에 포드를 추가하지 않고 Podfile의 Test 및 TestUI 대상에만 추가한다는 것을 알았습니다.
명령으로
pod init
xcode 신속한 프로젝트의 경우 다음 Podfile이 생성됩니다.
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'MyApp' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for MyApp
target 'MyAppTests' do
inherit! :search_paths
# Pods for testing
end
target 'MyAppUITests' do
inherit! :search_paths
# Pods for testing
end
end
따라서 적절한 자리 표시 자에 포드를 추가해야합니다.