How to access my app’s derived data folder itself?
问题 I’m in the middle of moving my iOS app’s Firebase dependency from CocoaPods to Swift Package Manager. Firebase’s Crashlytics requires a script to be executed while the app is building (using the Run Script build phase). Back in the CocoaPods days, I used to call the script the way documented by Google: "${PODS_ROOT}/FirebaseCrashlytics/run" . After I’ve switched to SPM, Firebase files are no longer in ${PODS_ROOT} , and there’s no such variable available at all. I know the file I need is now