Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/99.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 由于错误代码-1,归档未成功,尽管我可以使用developement概要文件在设备中进行构建和安装_Ios_Swift_Core Data_Swift3 - Fatal编程技术网

Ios 由于错误代码-1,归档未成功,尽管我可以使用developement概要文件在设备中进行构建和安装

Ios 由于错误代码-1,归档未成功,尽管我可以使用developement概要文件在设备中进行构建和安装,ios,swift,core-data,swift3,Ios,Swift,Core Data,Swift3,我的应用程序使用swift 3和核心数据编码,作为离线信息存储 我无法存档我的应用程序,因为列表太长或出现错误,如 <unknown>:0: error: no such file or directory: '/Users/Ashwin/Library/Developer /Xcode/DerivedData/BeerScout-eweygxkfdhbkbkalbiyywrsuievg/Build /Intermediates/ArchiveIntermediates/BeerSc

我的应用程序使用swift 3和核心数据编码,作为离线信息存储

我无法存档我的应用程序,因为列表太长或出现错误,如

<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
以上这些都不能解决我的问题。请告诉我什么,我访问了几乎所有相关的堆栈链接。并在谷歌上搜索相同的内容


谢谢你

我也有同样的问题,我用了上面的链接

通过手动/无代码生成,我得到了很多错误。然后,我从菜单栏的编辑器选项(通过选择所有实体)为我的所有实体添加核心数据及其属性文件,以便它一次创建所有需要的swift类


这应该是根据苹果的论坛链接进行的。

你的文件是在构建阶段->编译源代码时添加的吗?一切都很好。。。只是无法在itunesconnect上进行存档上载。这是一个常见错误,会自动解决。我继续尝试了30-40分钟的清理和存档。您对Codegen的模型实体的设置是什么?它的手册/现在没有,但仍然是相同的问题。
#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