Building project from terminal causes compiler errors

I use Fastlane to automate the build.

If I try to use the fastlane gym or Xcode build commands in termainl, some of the fast files will not compile

I get a compiler error:

The following build commands failed to execute: CompileSwift normal arm64 ***. Swift CompileSwift normal arm64 SOMEFILE.swift CompileSwift normal arm64 XXX.swift

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler

When I use xcode to archive the assembly, I have no problem.

VERSION: Xcode 6.3.

MORE LOG :

xcodebuild [51537: 1105705] DVTAssertions: warning in / SourceCache / IDEXcode 3ProjectSupport / IDEXcode3ProjectSupport-7709 / Xcode3Core / LegacyProjects / Frameworks / DevToolsCore / DevToolsCore / SpecificationTypes / BuiltInSpecifications / CompModels DataCile / Filename / FileMen from `` /Users/krishnan/Library/Developer/Xcode/DerivedData/Business-hcbjqydpndvafhhfzchylvezaqnw/Build/Intermediates/ArchiveIntermediates/Fastlane-BusinessTest/IntermediateBuildFblestesBileildesBileildes arm64 / CustomTableViewCell.d ''. Error: Domain Error = NSCocoaErrorDomain Code = 260 "The file" CustomTableViewCell.d "cannot be opened because there is no such file."UserInfo = 0x7f8c2b375f50 {NSFilePath = / Users / krishnan / Library / Developer / Xcode / DerivedData / Business-hcbjqydpndvafhhfzchylvezaqnw / Build / Intermediates / ArchiveIntermediates / Fastlane-BusinessTest / IntermediateBuildBuildfild -normal / arm64 / CustomTableViewCell.d, NSUnderlyingError = 0x7f8c2b31c1e0 "The operation could not be completed. There is no such file or directory"}. User Information: {NSFilePath = "/Users/krishnan/Library/Developer/Xcode/DerivedData/Business-hcbjqydpndvafhhfzchylvezaqnw/Build/Intermediates/ArchiveIntermediates/Fastlane-BusinessTestBlane / BusinessLestBusinessTestBlane-business /Objects-normal/arm64/CustomTableViewCell.d "; NSUnderlyingError = "Error Domain = NSPOSIXErrorDomain Code = 2 \ "The cann \ U2019t operation will complete. This file or directory is missing \" ";}.

+4

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


All Articles