flutter [!] `

flutter 执行 flutter build ios --release --no-codesign 直接抛
Error output from CocoaPods:

[!] `` attempted to initialize an object with an unknown UUID.
`7497404A213559E7008C567A` for attribute: `children`. This can be the result of a merge and the unknown UUID is being discarded.

Error running pod install 的解决方法


image.png

如果是Swift 开发的
1.需要找到flutter工程里的ios
2.打开Runner.xcworkspace

  1. 随意创建一个Swift 文件 然后添加桥接文件 删除刚创建的文件
    4.打开原来的主工程 进行pod install
    5.回到 flutter 进行 打包 flutter build ios --release --no-codesign
    6.打包不报错后 就可以回到主工程 再次pod install 运行 结束

你可能感兴趣的:(flutter [!] `