fix: add Gobackend framework search paths for iOS build

This commit is contained in:
zarzet 2026-01-01 19:50:54 +07:00
parent 52310dd801
commit d4d3a48167
4 changed files with 28 additions and 0 deletions

View file

@ -33,6 +33,16 @@ jobs:
env:
CGO_ENABLED: 1
- name: Verify XCFramework created
run: |
echo "=== Checking XCFramework ==="
ls -la ios/Frameworks/
ls -la ios/Frameworks/Gobackend.xcframework/ || (echo "ERROR: XCFramework not found!" && exit 1)
echo "=== Debug.xcconfig ==="
cat ios/Flutter/Debug.xcconfig
echo "=== Release.xcconfig ==="
cat ios/Flutter/Release.xcconfig
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:

View file

@ -111,6 +111,16 @@ jobs:
env:
CGO_ENABLED: 1
- name: Verify XCFramework created
run: |
echo "=== Checking XCFramework ==="
ls -la ios/Frameworks/
ls -la ios/Frameworks/Gobackend.xcframework/ || (echo "ERROR: XCFramework not found!" && exit 1)
echo "=== Debug.xcconfig ==="
cat ios/Flutter/Debug.xcconfig
echo "=== Release.xcconfig ==="
cat ios/Flutter/Release.xcconfig
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:

View file

@ -1 +1,5 @@
#include "Generated.xcconfig"
// Go backend framework (Gobackend.xcframework)
FRAMEWORK_SEARCH_PATHS=$(inherited) $(PROJECT_DIR)/Frameworks
OTHER_LDFLAGS=$(inherited) -framework Gobackend

View file

@ -1 +1,5 @@
#include "Generated.xcconfig"
// Go backend framework (Gobackend.xcframework)
FRAMEWORK_SEARCH_PATHS=$(inherited) $(PROJECT_DIR)/Frameworks
OTHER_LDFLAGS=$(inherited) -framework Gobackend