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

Cycle inside Runner #943

Open
kodypeterson opened this issue Apr 15, 2024 · 4 comments
Open

Cycle inside Runner #943

kodypeterson opened this issue Apr 15, 2024 · 4 comments

Comments

@kodypeterson
Copy link

kodypeterson commented Apr 15, 2024

Not sure what is happening here, after adding "UnityFramework.framework" to the frameworks section of the Runner this is the error I get on building the app for device. Any ideas?

Error (Xcode): Cycle inside Runner; building could produce unreliable results.
Cycle details:
→ Target 'Runner' has copy command from '/Users/XXX/Projects/XXX/build/ios/Debug-iphoneos/UnityFramework.framework' to '/Users/XXX/Projects/XXX/build/ios/Debug-iphoneos/Runner.app/Frameworks/UnityFramework.framework'
○ That command depends on command in Target 'Runner': script phase “Thin Binary”
○ Target 'Runner' has process command with output '/Users/XXX/Projects/XXX/build/ios/Debug-iphoneos/Runner.app/Info.plist'
○ Target 'Runner' has copy command from '/Users/XXX/Projects/XXX/build/ios/Debug-iphoneos/UnityFramework.framework' to '/Users/XXX/Projects/XXX/build/ios/Debug-iphoneos/Runner.app/Frameworks/UnityFramework.framework'
@liujunqiang29
Copy link

I have the same problem, is it solved?

@gorak1991
Copy link

I also have the same issue, any solution?

@mkoehne
Copy link

mkoehne commented Apr 30, 2024

I had the same problem. Found a solution here: https://forum.unity.com/threads/xcode-15-cycle-inside-unity-iphone-building-could-produce-unreliable-results.1496747/

In the "Unity-iPhone" project I have moved up the "Embed Frameworks" in Build Phases below "Run Build Tool Plug-ins".

@Ahmadre
Copy link
Collaborator

Ahmadre commented May 23, 2024

This is an XCode misbehavior.

This happens after you add an "Embeded Framework". After you've added the UnityFramework to your Runner, just head over to the BuildPhases section and you'll see that XCode appended the "Embed Frameworks" section to the bottom of the list! Which is wrong! You need to drag it underneeth the Run Script Phase. This solved it for me.

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

No branches or pull requests

5 participants