diff --git a/.github/workflows/macos-dSYM.yml b/.github/workflows/macos-dSYM.yml index e2fcc270..33a5decd 100644 --- a/.github/workflows/macos-dSYM.yml +++ b/.github/workflows/macos-dSYM.yml @@ -32,23 +32,23 @@ jobs: # Create build directory mkdir -p ./build/dSYMs - # Build iOS App Archive with dSYMs + # Build for iOS Simulator to generate dSYMs without code signing xcodebuild \ -workspace Meshtastic.xcworkspace \ -scheme Meshtastic \ - -allowProvisioningUpdates \ -configuration Release \ - -destination 'generic/platform=iOS' \ - -archivePath ./build/Meshtastic.xcarchive \ + -destination 'generic/platform=iOS Simulator' \ + -derivedDataPath ./build/DerivedData \ DATADOG_CLIENT_TOKEN="${DATADOG_CLIENT_TOKEN}" \ DEBUG_INFORMATION_FORMAT=dwarf-with-dsym \ - DWARF_DSYM_FOLDER_PATH=./build/dSYMs \ - archive + CODE_SIGNING_REQUIRED=NO \ + CODE_SIGNING_ALLOWED=NO \ + build - - name: Extract dSYMs from Archive + - name: Extract dSYMs from Build run: | - # Find and copy all dSYM files from the archive - find ./build/Meshtastic.xcarchive -name "*.dSYM" -exec cp -R {} ./build/dSYMs/ \; + # Find and copy all dSYM files from the build + find ./build/DerivedData -name "*.dSYM" -exec cp -R {} ./build/dSYMs/ \; # List what we found echo "Found dSYM files:" @@ -79,5 +79,5 @@ jobs: name: dsym-files path: | ./build/dSYMs - ./build/Meshtastic.xcarchive + ./build/DerivedData retention-days: 30