admin管理员组文章数量:1194346
I am trying to properly automatizate Get started with Firebase Crashlytics step 4C and 4D.
when it set manualy, it shall look like this:
so, what I tried is:
set(DWARF_DSYM_FOLDER_PATH "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}")
set(DWARF_DSYM_FILE "${DWARF_DSYM_FOLDER_PATH}/Contents/Resources/DWARF/${PRODUCT_NAME}")
set(INFO_PLIST "${DWARF_DSYM_FOLDER_PATH}/Contents/Info.plist")
set(GOOGLE_SERVICE_INFO_PLIST "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/GoogleService-Info.plist")
set(EXECUTABLE_PATH "$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)")
add_custom_command(
TARGET ${TARGET_NAME}
POST_BUILD
COMMAND /bin/sh -c "${CMAKE_CURRENT_SOURCE_DIR}/../../extralibs/firebase_ios_sdk/FirebaseCrashlytics/run"
COMMENT "iOS: Processing and uploading dSYM files to Crashlytics"
DEPENDS ${DWARF_DSYM_FOLDER_PATH} ${DWARF_DSYM_FILE} ${INFO_PLIST} ${GOOGLE_SERVICE_INFO_PLIST} ${EXECUTABLE_PATH}
)
the link to Crashlytics/run is fine, cmake had an issue with variable “${BUILD_DIR%/Build/*}” but I have expected this. but all what it does instead is:
- from here you can see in red color all differences… some of them might not make anything bad realy, but some do (as the post_script at the end doesnt work)
Is the another way for me to achieve automatizating the post_script from the link I posted?
Thank you gurus!
本文标签: iosProper postbuild script in xcode for Firebase CrashlyticsStack Overflow
版权声明:本文标题:ios - Proper post_build script in xcode for Firebase Crashlytics? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738480635a2089122.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论