mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-05 12:18:02 +02:00
fix: add Gobackend framework search paths for iOS build
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user