Tôi đang triển khai thiết lập Firebase qua nhóm.ld: không tìm thấy thư viện nào cho -GoogleToolboxForMac
Tệp Pod của tôi trông giống như sau.
# Uncomment the next line to define a global platform for your project
platform :ios, '8.0'
# $(PROJECT_DIR)/build/Debug-iphoneos/GoogleToolboxForMac lib search path
target 'ProductName' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for mCura
pod 'Firebase/Core'
pod 'Firebase/Messaging'
end
Mọi thứ đều ổn với trình mô phỏng iPad. nó chạy nhưng khi tôi chạy ứng dụng của tôi trong iDevice. Nó cho thấy thư viện không tìm thấy.
ld: library not found for -lGoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Tôi đã lãng phí 2 ngày để loại bỏ lỗi này & thử tất cả mọi thứ tôi có thể tìm thấy trên mạng. Và thư viện GoogleToolboxForMac
sẽ tự động cài đặt khi cài đặt nhóm firebase.
đúng. Cảm ơn! – chaunv