报错
Showing Recent Messages
Cycle inside Runner; building could produce unreliable results.
Cycle details:
→ Target 'Runner'
○ That command depends on command in Target 'Runner': script phase “Thin Binary”
○ Target 'Runner' has process command with output '/Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/Info.plist'
○ Target 'Runner' has copy command from '/Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/pushServiceExtension. appex' to '/Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/PlugIns/pushServiceExtension.appex'
○ Target 'Runner'Raw dependency cycle trace:target: ->node: <all> ->command: <all> ->node: /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner. app/_CodeSignature ->command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:CodeSign /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner. app ->node: /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/Frameworks/DKImagePickerController.framework/ ->directoryTreeSignature: � ->directoryContents: /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/Frameworks/DKImagePickerController.framework ->node: /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/Frameworks/DKImagePickerController.framework ->command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:PhaseScriptExecution [CP] Embed Pods Frameworks /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Script-C5E71D4F1A562541DC89E4A7.sh ->CYCLE POINT ->node: /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/InputFileList-C5E71D4F1A562541DC89E4A7-Pods-Runner-frameworks-Release-input-files-4d608932cf032f735f5862ea29ce312e-resolved. xcfilelist ->command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:WriteAuxiliaryFile /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/InputFileList-C5E71D4F1A562541DC89E4A7-Pods-Runner-frameworks-Release-input-files-4d608932cf032f735f5862ea29ce312e-resolved. xcfilelist ->node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase4-thin-binary> ->command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase4-thin-binary ->node: <execute-shell-script-18c1723432283e0cc55f10a6dcfd9e02f1eee2015e8ff5ebcd27678f788c2826-target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-> ->command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:PhaseScriptExecution Thin Binary /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Intermediates.noindex/Runner.build/Release-iphoneos/Runner.build/Script-3B06AD1E1E4923F5004D2608.sh ->node: /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/Info. plist/ ->directoryTreeSignature: � ->directoryContents: /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/Info. plist ->node: /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/Info. plist ->command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:ProcessInfoPlistFile /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/Info. plist /Users/***/Desktop/代码/***/bo***/ios/Runner/Info. plist ->node: /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/PlugIns/pushServiceExtension. appex ->command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Release:Copy /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrlscfd/Build/Products/Release-iphoneos/Runner.app/PlugIns/pushServiceExtension. appex /Users/***/Library/Developer/Xcode/DerivedData/Runner-eozwgbwqgfismwedatuvwkrl
解决方式
在xcode中找到Runner中的Build Phases选项,将Embed App Extensions拖到Run Script下面即可,如图
我的项目是flutter,效果是一样的,将 embed foundation Extension 移到run script下面即可
将开发的extension