Error archiving iOS release build

Following the directions for publishing an ionic app, I have already generated a release build for iOS but now when I choose Product->Archive with my device plugged in, I get this error:

Strip /Users/drewgallagher/Library/Developer/Xcode/DerivedData/Ohio_State_SWE-bcaqdjimugtoyaeoxqnrticwqdwf/Build/Intermediates/ArchiveIntermediates/Ohio\ State\ SWE/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a
    cd /Users/drewgallagher/Desktop/sweIonicApp/platforms/ios/CordovaLib
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -S /Users/drewgallagher/Library/Developer/Xcode/DerivedData/Ohio_State_SWE-bcaqdjimugtoyaeoxqnrticwqdwf/Build/Intermediates/ArchiveIntermediates/Ohio\ State\ SWE/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libCordova.a

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open temporary file: /tmp/strip.CYrQNX (Permission denied)
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip failed with exit code 1