2017-01-07 1 views
2

Xcode 명령 줄 도구를 사용하여 Xcode CLI 빌드를 작성하려고합니다.xcodebuild가 Alamofire와의 SymLink 오류로 인해 아카이브를 생성하지 못했습니다.

  • 응용 프로그램 코드 힘내
  • 정보 PLIST 내 자신의 사용자 정의 PLIST에서 복제되어 생성되며으로 복사 폴더를
  • 새로운 응용 프로그램 아이콘을 설정 프로젝트에 복사 다음과 같이

    흐름이다 자산 디렉토리는

  • 엑스 코드 아카이브 구축은
을 실행
  • 이 엑스 코드 IPA 빌드를 생성하는 실행

    문제는 아카이브 파트가 계속 실패하고 작동시킬 수 없다는 것입니다. Annoyingly Xcode에서 프로젝트를 열고 거기에 보관하면 잘 작동하지만,이 자동화 된 프로세스의 요점은 무의미합니다.

    여기 xcodebuild -verbose -scheme EpicHRV1.1.0 -archivePath ios/app.xcarchive archive

    그리고 상수 결과 오류가있는 명령입니다. Alamofire 및 모듈 누락과 관련하여 불평이 무엇인지 알 수는 없지만 Xcode에서는 이것이 작동하지만 커맨드 라인에서는 작동하지 않는 이유는 무엇입니까?

    Command failed: xcodebuild -verbose -scheme EpicHRV1.1.0 -archivePath ios/app.xcarchive archive 2017-01-07 20:24:04.255 xcodebuild[43780:2460638] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-11754/DVTFoundation/Utilities/DVTFileSystemUtilities.mm:142 Details: lstat('/Users/Justin/Library/Developer/Xcode/DerivedData/EpicHR-dgdtmzwowkyxgkfzmizhuhiaxkrt/Build/Intermediates/ArchiveIntermediates/EpicHRV1.1.0/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework/Modules') failed with errno 2 (No such file or directory) Function: DVTRecursiveMkdirResult dvt_recursiveMkdir_returningErrorString(NSString *__strong, NSString *__autoreleasing *) Thread: <NSThread: 0x7f90e8ae7cf0>{number = 7, name = (null)} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide. ** ARCHIVE FAILED **

    여기 ...

    The following build commands failed: SymLink /Users/Justin/Library/Developer/Xcode/DerivedData/EpicHR-dgdtmzwowkyxgkfzmizhuhiaxkrt/Build/Intermediates/ArchiveIntermediates/EpicHRV1.1.0/BuildProductsPath/Release-iphoneos/Alamofire.framework /Users/Justin/Library/Developer/Xcode/DerivedData/EpicHR-dgdtmzwowkyxgkfzmizhuhiaxkrt/Build/Intermediates/ArchiveIntermediates/EpicHRV1.1.0/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework

    그리고 가끔 나타나는 다른 오류도 무작위로 나타납니다 다른 사랑 오류,하지만 모든 시간입니다.

    xcodebuild -scheme EpicHRV1.1.0 -archivePath ../ios/app.xcarchive archive 
    
    xcrun xcodebuild -exportArchive -exportOptionsPlist exportPlist.plist -archivePath ../ios/app.xcarchive -exportPath ../ios/ipa/ 
    
  • +0

    당신이 해결책을 찾았 : 유일하게 일치하는 것은 위의 모든으로 Alamofire는

    The following build commands failed: Strip /Users/Justin/Library/Developer/Xcode/DerivedData/EpicHR-dgdtmzwowkyxgkfzmizhuhiaxkrt/Build/Intermediates/ArchiveIntermediates/EpicHRV1.1.0/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework/Alamofire

    Tobol

    +0

    @Tobol 사실 나는 결국, 나는 그것을 곧 공유 할 것입니다. – NodeJustin

    답변

    0

    그래서 나는 다음과 같은 명령을 사용하여 그것을 해결 .. 오류에 언급입니까?
    관련 문제