The archive failed, due to error code -1, although I can create and install on my devices with a development profile

My application is encoded using fast 3 AND basic data as an offline storage of information.

I cannot archive my application due to a long list or error, for example

<unknown>:0: error: no such file or directory: '/Users/Ashwin/Library/Developer
/Xcode/DerivedData/BeerScout-eweygxkfdhbkbkalbiyywrsuievg/Build
/Intermediates/ArchiveIntermediates/BeerScout/IntermediateBuildFilesPath
/BeerScout.build/Release-iphoneos/BeerScout.build/DerivedSources
/CoreDataGenerated/BeerScout/Beer+CoreDataClass.swift'
...
And at last 
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

I checked for

#1 Code optimizations
#2 Clean project and derived data
#3 Also checked for code-gen for core data files.
#4 Revoke and recreate new certificates
#5 Cleaning system junks and re-started several times

None of the above solves my problem. Please suggest me that I visited almost all of the related stack links. And googled for the same.

thanks

0
source share

Source: https://habr.com/ru/post/1015057/


All Articles