Whenever I try to archive my project(using Xcode 12 and it's a watchOS app) to upload it to the appstore I get this error saying:
I'm stuck with this. I can't archive without getting rid of this error. I use carthage and I know that it's the "/usr/bin/carthage copy-frameworks" command that fails but I don't know the reason why it does fail. To build the frameworks I used
I use two frameworks called SDWebImage and SwiftyJSON and they were both outdated so I had to use this custom carthage shell script to build them without any errors, but now I can't seem to execute the /usr/bin/local/carthage copy-framworks command.
Has anyone ever gotten the same problem and how did you fix it?
Thanks
Code Block Failed to write to .../B99885022-AA7BD-3CD5-AF53-091B72283914.bcsymbolmap: Error Domain=NSP0SIXErrorDomain Code=13 "Permission Denied" Command PhaseScriptExecution failed with a nonzero exit code
I'm stuck with this. I can't archive without getting rid of this error. I use carthage and I know that it's the "/usr/bin/carthage copy-frameworks" command that fails but I don't know the reason why it does fail. To build the frameworks I used
Code Block #!/usr/bin/env bash # carthage.sh # Usage example: ./carthage.sh build --platform iOS set -euo pipefail xcconfig=$(mktemp /tmp/static.xcconfig.XXXXXX) trap 'rm -f "$xcconfig"' INT TERM HUP EXIT # For Xcode 12 make sure EXCLUDED_ARCHS is set to arm architectures otherwise # the build will fail on lipo due to duplicate architectures. for simulator in iphonesimulator appletvsimulator; do echo "EXCLUDED_ARCHSEFFECTIVE_PLATFORM_SUFFIX_${simulator}NATIVE_ARCH_64_BIT_x86_64XCODE_1200 = arm64 arm64e armv7 armv7s armv6 armv8" >> $xcconfig done echo 'EXCLUDED_ARCHS = $(inherited) $(EXCLUDED_ARCHSEFFECTIVE_PLATFORM_SUFFIX_$(PLATFORM_NAME)NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)XCODE_$(XCODE_VERSION_MAJOR))' >> $xcconfig export XCODE_XCCONFIG_FILE="$xcconfig" cat $XCODE_XCCONFIG_FILE carthage "$@"
I use two frameworks called SDWebImage and SwiftyJSON and they were both outdated so I had to use this custom carthage shell script to build them without any errors, but now I can't seem to execute the /usr/bin/local/carthage copy-framworks command.
Has anyone ever gotten the same problem and how did you fix it?
Thanks