delightful-sundown-12602
06/28/2023, 6:09 PM[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (Rudder-Firebase)
so I tried below in podfile
use_frameworks! :linkage=> :static
this solved the linkage issue
but it created another below issue
Error (Xcode): Unable to load contents of file list: '/Users/vikramkumar/Documents/wealthy/hail/app/ios/Pods/Target Support
Files/Pods-Runner/Pods-Runner-frameworks-Debug-dev-input-files.xcfilelist'
due to this I am not able to build in ios
I tried few solutions posted in stackoverflow but its not working
please help me stuck in this from past few days
here are packages version used
rudder_sdk_flutter: ^2.3.2
rudder_integration_firebase_flutter: ^2.0.4calm-yak-10773
06/29/2023, 8:15 AMpod 'FirebaseCore', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
And comment out use_frameworks!
:linkage=> :static.delightful-sundown-12602
06/29/2023, 8:33 AMdelightful-sundown-12602
06/29/2023, 8:33 AMdelightful-sundown-12602
06/29/2023, 8:36 AMcalm-yak-10773
06/29/2023, 8:42 AMuse_frameworks! :linkage=> :static
use_modular_headers!
You can also refer to our Flutter repo it contains Firebase integration: https://github.com/rudderlabs/rudder-sdk-flutterdelightful-sundown-12602
06/29/2023, 8:55 AMdelightful-sundown-12602
06/29/2023, 9:14 AM[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (Rudder-Firebase)
in above rudder flutter repo
use_frameworks! :linkage=> :static
above works because it has static linkage dependencies
but in our app
dynamic linkage dependencies are there
so solving one will cause issue in another
can we get dynamic linkage pod of rudder firebasecalm-yak-10773
06/30/2023, 6:07 AMcalm-yak-10773
06/30/2023, 6:15 AMdelightful-sundown-12602
06/30/2023, 6:18 AMdoesn't have s.static_framework = true in its podspec
while if i add Rudder-Firebase in podfile build is failing
because it has s.static_framework = true in its podspec
so its quite clear we have to disable s.static_framework = true
in firebase pod to fix the issuedelightful-sundown-12602
07/03/2023, 10:55 AMkind-carpenter-27609
07/03/2023, 11:17 AMuse_frameworks! :linkage=> :static ?
Because we had tried with the exact same flutter and iOS cocoapods as you had shared but we are not facing any issuesdelightful-sundown-12602
07/03/2023, 11:19 AMuse_frameworks! :linkage=> :static
this solved the linkage issue
but it created another below issue
Error (Xcode): Unable to load contents of file list: '/Users/vikramkumar/Documents/wealthy/hail/app/ios/Pods/Target Support
Files/Pods-Runner/Pods-Runner-frameworks-Debug-dev-input-files.xcfilelist'
due to this I am not able to build in ios
@kind-carpenter-27609kind-carpenter-27609
07/03/2023, 11:23 AMdelightful-sundown-12602
07/03/2023, 11:24 AMkind-carpenter-27609
07/03/2023, 11:36 AMdelightful-sundown-12602
07/03/2023, 11:36 AMdelightful-sundown-12602
07/03/2023, 12:22 PMdelightful-sundown-12602
07/03/2023, 12:42 PM"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
from pbxproj
& then build
clean install was not working
@kind-carpenter-27609
thankskind-carpenter-27609
07/03/2023, 1:23 PM