Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions engines/unity/dart/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to the gameframework_unity package will be documented in this file.

## [0.0.4] - 2026-06-26

### Fixed
- **iOS:** resolve the `UnityFramework` Swift module on hosted (pub.dev) installs.
The podspec's `FRAMEWORK_SEARCH_PATHS` used a single-`*` glob
(`.symlinks/plugins/*/ios`) that Xcode does not expand, so consumers of the
published package failed to build for iOS with
`Unable to resolve module dependency: 'UnityFramework'`. It only worked when
`game sync` planted a symlink in this pod's own directory — which never
happens for hosted installs. Switched to Xcode's recursive `**` search syntax,
which finds the consumer plugin's vendored `UnityFramework.framework` with no
`game sync` symlink and no Podfile workaround.

## [0.0.3] - 2026-02-06

### Changed
Expand Down
8 changes: 6 additions & 2 deletions engines/unity/dart/ios/gameframework_unity.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ to sync your Unity export to your plugin's ios/ directory.
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
# Search for frameworks in the local directory (symlink), Pods build directory, and sibling plugins
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "${PODS_TARGET_SRCROOT}" "${PODS_CONFIGURATION_BUILD_DIR}" "${PODS_ROOT}/../.symlinks/plugins/*/ios"',
# Find UnityFramework wherever the consumer plugin vendors it. NOTE: Xcode
# does NOT expand a single `*` in search paths, so "plugins/*/ios" never
# resolves for hosted (pub.dev) installs — it only worked when `game sync`
# planted a symlink in this pod's own dir. Use Xcode's recursive `**`
# syntax, which searches all subdirectories under the plugins symlink dir.
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "${PODS_TARGET_SRCROOT}" "${PODS_CONFIGURATION_BUILD_DIR}" "${PODS_ROOT}/../.symlinks/plugins/**"',
# Allow weak linking to UnityFramework
'OTHER_LDFLAGS' => '$(inherited) -ObjC'
}
Expand Down
2 changes: 1 addition & 1 deletion engines/unity/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: gameframework_unity
description: Unity Engine plugin for GameFramework. Provides Unity integration with bidirectional communication, AR Foundation support, and WebGL capabilities.
version: 0.0.3
version: 0.0.4
homepage: https://github.com/xraph/gameframework
repository: https://github.com/xraph/gameframework
issue_tracker: https://github.com/xraph/gameframework/issues
Expand Down
Loading