我正在尝试在 Ionic 2 项目中为 iOS 安装"phonegap-plugin-push",但出现以下错误:
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `7EC8547169A74BD5A8A5460B` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `A681F5B62F934658A6DEC23E` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `E23C540A0DA14793BE17F093` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `1AC97AB1822E4E15997E168E` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `AE2A50F808434C37B9584D53` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `EB49FF87CB794718B96280A7` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `998B570BB91F4A0FB8D4B663` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `8562C2D8B88748C69F022169` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `F07DC83F4D744CFB8600CBAF` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
[!] `<PBXSourcesBuildPhase UUID=`1D60588E0D05DD3D006BFB54`>` attempted to initialize an object with an unknown UUID. `4C4252986B454BB2AEA5BEAA` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
这为我修复了它 https://geek-is-stupid.github.io/2015-11-17-cocoapods-install-rase-warnings-this-can-be-the-result-of-a-merge-and-the-unknown-uuid-is-being-discarded/
总结:
移除插件,前往 Xcode,点按任意文件,打开右侧的检查器,点按"目标"复选框,再次点按它,然后重试添加插件。