【发布时间】:2020-09-08 22:21:10
【问题描述】:
我正在尝试在我的 iPhone 上运行我的颤振应用程序。我以前可以这样做,但它突然停止了,我收到了这个错误:
Could not build the precompiled application for the device.
It appears that your application still contains the default signing identifier.
Try replacing 'com.example' with your signing id in Xcode:
open ios/Runner.xcworkspace
Error launching application on Jessica's iPhone.
这是我尝试做的:
- 运行
flutter clean - 重启电脑
- 从手机中删除应用程序
- 重命名捆绑包 ID
- 在 Xcode 中,我将 File > Workspace Settings 更改为“Legacy Build System”
- 锁定和解锁的钥匙串
- 在 Xcode 中我做了 Product > Clean Build Folder
这些都没有使它起作用。当我尝试在 Xcode 中运行它时,我收到以下错误:
460 duplicate symbols for architecture arm64
当我尝试在 ios Simulator 上从 Xcode 运行时,我得到:
35 duplicate symbols for architecture x86_64
(之前还有其他错误,但这是最新的。)
如何在手机上运行 Flutter 应用?
【问题讨论】: