mirror of
https://github.com/spotiflacapp/SpotiFLAC-Mobile.git
synced 2026-06-01 03:15:17 +07:00
fix: add Gobackend framework search paths for iOS build
This commit is contained in:
parent
52310dd801
commit
d4d3a48167
4 changed files with 28 additions and 0 deletions
10
.github/workflows/ios-build.yml
vendored
10
.github/workflows/ios-build.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1 +1,5 @@
|
|||
#include "Generated.xcconfig"
|
||||
|
||||
// Go backend framework (Gobackend.xcframework)
|
||||
FRAMEWORK_SEARCH_PATHS=$(inherited) $(PROJECT_DIR)/Frameworks
|
||||
OTHER_LDFLAGS=$(inherited) -framework Gobackend
|
||||
|
|
|
|||
|
|
@ -1 +1,5 @@
|
|||
#include "Generated.xcconfig"
|
||||
|
||||
// Go backend framework (Gobackend.xcframework)
|
||||
FRAMEWORK_SEARCH_PATHS=$(inherited) $(PROJECT_DIR)/Frameworks
|
||||
OTHER_LDFLAGS=$(inherited) -framework Gobackend
|
||||
|
|
|
|||
Loading…
Reference in a new issue