📜  警告:为 iOS 模拟器构建,但链接和嵌入式框架“TNSWidgets.framework”是为 iOS + iOS 模拟器构建的 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:49.153000             🧑  作者: Mango

代码示例1
Open Xcode
Select your project
Find the 'General' tab (located within the same tab list as Build Phases, Build Settings etc)
Scroll down to the 'Embedded Binaries' section.
In the list you'll see that TNSCore.framework is in the list multiple times.
Remove the duplicates using the '-' button until there is just one.
Rebuild and hopefully if there are no other duplicates in that list you should have a successful build