Мой код зависит от моей собственной фреймворка. Bvcommon прекрасно работает как для sim, так и для устройства. Но наступает время архивации, и оно становится пустяком.
Я бегаю кругами вокруг этой гиббери sh:
Executable is /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/SWithExtensions.framework/SWithExtensions
Extracting arm64 from SWithExtensions
fatal error: lipo: input file (/Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/SWithExtensions.framework/SWithExtensions) must be a fat file when the -extract option is specified
Merging extracted architectures: arm64
fatal error: lipo: can't open input file: /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/SWithExtensions.framework/SWithExtensions-arm64 (No such file or directory)
rm: /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/SWithExtensions.framework/SWithExtensions-arm64: No such file or directory
Replacing original executable with thinned version
mv: rename /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/SWithExtensions.framework/SWithExtensions-merged to /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/SWithExtensions.framework/SWithExtensions: No such file or directory
Executable is /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/AWCMWrapper.framework/AWCMWrapper
Extracting arm64 from AWCMWrapper
Merging extracted architectures: arm64
Replacing original executable with thinned version
Executable is /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/AWSDK.framework/AWSDK
Extracting arm64 from AWSDK
Merging extracted architectures: arm64
Replacing original executable with thinned version
Executable is /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/bvcommon.framework/bvcommon
Extracting arm64 from bvcommon
fatal error: lipo: input file (/Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/bvcommon.framework/bvcommon) must be a fat file when the -extract option is specified
Merging extracted architectures: arm64
fatal error: lipo: can't open input file: /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/bvcommon.framework/bvcommon-arm64 (No such file or directory)
rm: /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/bvcommon.framework/bvcommon-arm64: No such file or directory
Replacing original executable with thinned version
mv: rename /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/bvcommon.framework/bvcommon-merged to /Users/agl/Library/Developer/Xcode/DerivedData/exec-gghuarwsrzhzyefloumtutowkcny/Build/Intermediates.noindex/ArchiveIntermediates/SDKExampleApplication/InstallationBuildProductsLocation/Applications/Executive 1.app/Frameworks/bvcommon.framework/bvcommon: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
Не делаю никакого прогресса в понимании того, почему в моей платформе явно отсутствует файл, соответствующий его имя должно содержать все мясо, кроме ресурсов.