Skip to content

fix(podspec): recursive ** framework search path on Unity macOS + Unreal iOS - #4

Merged
jaymesC merged 1 commit into
mainfrom
fix/framework-search-path-macos-unreal
Sep 2, 2026
Merged

fix(podspec): recursive ** framework search path on Unity macOS + Unreal iOS#4
jaymesC merged 1 commit into
mainfrom
fix/framework-search-path-macos-unreal

Conversation

@jaymesC

@jaymesC jaymesC commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #3, which fixed the Unity iOS podspec's FRAMEWORK_SEARCH_PATHS to use Xcode's recursive ** glob. That fix was only applied to one of the engine podspecs the Unity macOS and Unreal iOS podspecs still used the single-* form (.symlinks/plugins/*/<platform>), which has the identical bug.

Xcode does not expand a single * in FRAMEWORK_SEARCH_PATHS, so plugins/*/macos (and plugins/*/ios for Unreal) never resolves the vendored engine framework for hosted (pub.dev) / standalone-app installs — it only worked when a symlink happened to be planted in the pod's own dir. Switching to ** searches all subdirectories under the plugins symlink dir, matching the merged Unity-iOS fix.

Changes

  • engines/unity/dart/macos/gameframework_unity.podspec: plugins/*/macosplugins/**
  • engines/unreal/dart/ios/gameframework_unreal.podspec: plugins/*/iosplugins/**

Comments updated to match the explanation already in the Unity iOS podspec.

Notes

… unreal iOS

PR #3 fixed this for the Unity iOS podspec: Xcode does not expand a single '*' in FRAMEWORK_SEARCH_PATHS, so 'plugins/*/<platform>' never resolves the vendored engine framework for hosted (pub.dev) / standalone installs. The Unity macOS and Unreal iOS podspecs still used the single-'*' form; switch them to Xcode's recursive '**' to match.
@jaymesC
jaymesC merged commit 8796b16 into main Sep 2, 2026
19 checks passed
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.

1 participant