Skip to content

Error building example on iOS #144

Description

@miroslavmazel

When building the example for iOS, I get this error:

Error (Xcode): Cycle inside Runner; building could produce unreliable results.
Cycle details:
→ Target 'Runner' has copy command from '/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/ShareExtension.appex' to
'/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/PlugIns/ShareExtension.appex'
○ That command depends on command in Target 'Runner': script phase “[CP] Embed Pods Frameworks”
○ That command depends on command in Target 'Runner': script phase “Thin Binary”
○ Target 'Runner' has process command with output
'/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/Info.plist'
○ Target 'Runner' has copy command from '/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/ShareExtension.appex' to
'/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/PlugIns/ShareExtension.appex'


Raw dependency cycle trace:

target:  ->

node: <all> ->

command: <all> ->

node:
/Users/me/Library/Developer/Xcode/DerivedData/Runner-gadqvwzgwgzupgccnaqrfldwkhbo/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.bui
ld/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata ->

command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:ExtractAppIntentsMetadata ->

node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase6-copy-files> ->

command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase6-copy-files ->

node: <Copy /Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/PlugIns/ShareExtension.appex> ->

CYCLE POINT ->

command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:Copy
/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/PlugIns/ShareExtension.appex
/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/ShareExtension.appex ->

node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5--cp--embed-pods-frameworks> ->

command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5--cp--embed-pods-frameworks ->

node: /Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/share_handler_ios.framework ->

command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:PhaseScriptExecution [CP] Embed Pods Frameworks
/Users/me/Library/Developer/Xcode/DerivedData/Runner-gadqvwzgwgzupgccnaqrfldwkhbo/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.bui
ld/Script-7D8867ECFB4D968FFFEA66AE.sh ->

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-:Debug:PhaseScriptExecution Thin Binary
/Users/me/Library/Developer/Xcode/DerivedData/Runner-gadqvwzgwgzupgccnaqrfldwkhbo/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.bui
ld/Script-3B06AD1E1E4923F5004D2608.sh ->

node: /Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/Info.plist/ ->

directoryTreeSignature: x ->

directoryContents: /Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/Info.plist ->

node: /Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/Info.plist ->

command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:ProcessInfoPlistFile
/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/Info.plist
/Users/me/temp-git/share_handler/share_handler/example/ios/Runner/Info.plist ->

node: /Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/PlugIns/ShareExtension.appex ->

command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:Copy
/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/Runner.app/PlugIns/ShareExtension.appex
/Users/me/temp-git/share_handler/share_handler/example/build/ios/Debug-iphonesimulator/ShareExtension.appex


Could not build the application for the simulator.
Error launching application on iPhone 17.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions