一.問(wèn)題描述
引用第三方庫(kù)在運(yùn)行模擬器的時(shí)候?

錯(cuò)誤信息:building for iOS Simulator, but linking in dylib built for iOS, file '/Users/xxx/Desktop/seller/ios/Pods/TXIMSDK_iOS/ImSDK.framework/ImSDK' for architecture arm64
解決方案
在Flutter目錄下找到第三方庫(kù)(是第三方庫(kù)拉到本地),

增加? s.static_framework = true 修改為靜態(tài)庫(kù)就能跑模擬器了