[Solved] Flutter could not build the precompiled application for the device

2022/06/23 23:39

Error

When I build iOS app on macOS with Flutter sdk, it showed the following error.

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 iOS 15.5.

Solution

[solved]fluttercouldnotbuildtheprecompiledapplicationforthedevice

[Solved] Flutter could not build the precompiled application for the device

To solve this error, you can just open the Runner.xcworkspace file with xcode on macOS, and fill in the develop team (You need to pay 99$/Yearly to register a developer account). Then replacing ‘com.example’ with your signing id in Xcode (for example, johson012@gmail.com): open ios/Runner.xcworkspace.

Leave a Reply

Back to top