xcode-build-settings

How to access my app’s derived data folder itself?

烂漫一生 提交于 2021-02-05 02:53:55
问题 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

How to access my app’s derived data folder itself?

会有一股神秘感。 提交于 2021-02-05 02:53:38
问题 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