xcodebuild - setting build dir doesn't generate dSYM

后端 未结 2 768
独厮守ぢ
独厮守ぢ 2021-02-12 20:07

I am doing an archive with xcodebuild (xcode 5) through the command line as so:

xcodebuild -project MyProject.xcodeproj -scheme MyScheme -sdk iphoneos7.0 -confi         


        
相关标签:
2条回答
  • 2021-02-12 20:49

    Check again build settings. Take a look at Debug Information Format, it should have DWARF with dSYM file enter image description here

    For futher information take a look OS X Man Pages xcodebuild and Xcode Build Setting Reference

    0 讨论(0)
  • 2021-02-12 20:49
    xcodebuild -project MyProject.xcodeproj -scheme MyScheme -sdk iphoneos7.0 -configuration Release archive CODE_SIGN_IDENTITY="iPhone Distribution: My ID" -archivePath archive/MyArchive.xcarchive -xcconfig Config/MyReleaseConfig.xcconfig CONFIGURATION_BUILD_DIR=$SRCROOT/build/$CONFIGURATION$EFFECTIVE_PLATFORM_NAME
    

    what's your config about DEBUG_INFORMATION_FORMAT in MyReleaseConfig.xcconfig?

    0 讨论(0)
提交回复
热议问题