Improving Xcode post-build process to prevent need to manually modify project after every Unity export #4
learntoflutter
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a discussion for issue 1
Currently, every time you export Unity using Flutter embed -> Export project to Flutter app (ios) you then need to remember to change the target membership of the Data folder to UnityFramework, and add the linker flags -Wl,-U,_FlutterEmbedUnityIos_sendToFlutter to the Unity-iPhone project build settings.
It would be better if this was automated as part of the export, using Unity's PBXProject editing tool. Looking for anyone with experience with editing Xcode project files to help on this :)
Beta Was this translation helpful? Give feedback.
All reactions