Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix order of build phases; Xcode 13 complains about cycle in iOS target #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lanurmi
Copy link
Contributor

@lanurmi lanurmi commented Apr 1, 2022

Fix order for all targets, even though not all caused an error.

For reference, here is the error given by Xcode:

error: Cycle inside POLocalizedString iOS; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
Cycle details:
→ Target 'POLocalizedString iOS' has link command with output '/Users/lauri/Library/Developer/Xcode/DerivedData/POLocalizedString-bblgflvghsrckvcppvpboendqxqn/Build/Products/Debug-iphonesimulator/POLocalizedString.framework/POLocalizedString'
○ Target 'POLocalizedString iOS' has compile command for Swift source files
○ Target 'POLocalizedString iOS' has copy command from '/Users/lauri/POLocalizedString/Framework/POLocalizedString-umbrella.h' to '/Users/lauri/Library/Developer/Xcode/DerivedData/POLocalizedString-bblgflvghsrckvcppvpboendqxqn/Build/Products/Debug-iphonesimulator/POLocalizedString.framework/Headers/POLocalizedString-umbrella.h'
○ Target 'POLocalizedString iOS' has compile command with input '/Users/lauri/POLocalizedString/POLocalizedString/Gettext.mm'

Fix order for all targets, even though not all caused an error.

For reference, here is the error given by Xcode:

error: Cycle inside POLocalizedString iOS; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
Cycle details:
→ Target 'POLocalizedString iOS' has link command with output '/Users/lauri/Library/Developer/Xcode/DerivedData/POLocalizedString-bblgflvghsrckvcppvpboendqxqn/Build/Products/Debug-iphonesimulator/POLocalizedString.framework/POLocalizedString'
○ Target 'POLocalizedString iOS' has compile command for Swift source files
○ Target 'POLocalizedString iOS' has copy command from '/Users/lauri/POLocalizedString/Framework/POLocalizedString-umbrella.h' to '/Users/lauri/Library/Developer/Xcode/DerivedData/POLocalizedString-bblgflvghsrckvcppvpboendqxqn/Build/Products/Debug-iphonesimulator/POLocalizedString.framework/Headers/POLocalizedString-umbrella.h'
○ Target 'POLocalizedString iOS' has compile command with input '/Users/lauri/POLocalizedString/POLocalizedString/Gettext.mm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant