具體錯誤信息爲:
building for is simulator but the linked and embedded framework 'app.framework' was built for ios
或者
Building for iOS, but the linked and embedded framework 'App.framework' was built for iOS Simulator.
表面意思即使App.framework編譯的模式和選擇的設備不對應
解決方案:
刪除App.framework並重新編譯生成