flutter-unity-view-widget
flutter-unity-view-widget copied to clipboard
Cycle inside Runner
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'
I have the same problem, is it solved?
I also have the same issue, any solution?
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".
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.