0
CI로 통합하기 전에 xcodebuild 명령과 보관이 제대로 작동하는지 확인하려고합니다.Xcodebuild를 사용한 프로젝트 빌드가 성공했지만 XArchive 파일 출력이 없음
xcodebuild -project myproject.xcodeproj -scheme scheme -configuration debug clean archive -archivePath /Users/username/Desktop/ DEVELOPMENT_TEAM=Dev_Team_Id
및 출력 텍스트의 끝에서, 그것은 상태 :
나는 노력하고
CodeSign /Users/username/Library/Developer/Xcode/DerivedData/appName-crjnvfmiardnqxehnyeexizqofsv/Build/Intermediates/ArchiveIntermediates/appName/InstallationBuildProductsLocation/Applications/appName-ios.app
cd /Users/username/Documents/Development/appName-iOS
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "iPhone Developer: xxxx"
Provisioning Profile: "xxxx Prov Profile"
(xxxx)
/usr/bin/codesign --force --sign 194C5B1B166CDFB65B71CC1F20E1BAE1D9FA41F9 --entitlements /Users/username/Library/Developer/Xcode/DerivedData/appName-crjnvfmiardnqxehnyeexizqofsv/Build/Intermediates/ArchiveIntermediates/appName/IntermediateBuildFilesPath/appName.build/Release-iphoneos/appName.build/appName-ios.app.xcent --timestamp=none /Users/username/Library/Developer/Xcode/DerivedData/appName-crjnvfmiardnqxehnyeexizqofsv/Build/Intermediates/ArchiveIntermediates/appName/InstallationBuildProductsLocation/Applications/appName-ios.app
Validate /Users/username/Library/Developer/Xcode/DerivedData/appName-crjnvfmiardnqxehnyeexizqofsv/Build/Intermediates/ArchiveIntermediates/appName/InstallationBuildProductsLocation/Applications/appName-ios.app
cd /Users/username/Documents/Development/appName-iOS
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export PRODUCT_TYPE=com.apple.product-type.application
builtin-validationUtility /Users/username/Library/Developer/Xcode/DerivedData/appName-crjnvfmiardnqxehnyeexizqofsv/Build/Intermediates/ArchiveIntermediates/appName/InstallationBuildProductsLocation/Applications/appName-ios.app -validate-for-store
Touch /Users/username/Library/Developer/Xcode/DerivedData/appName-crjnvfmiardnqxehnyeexizqofsv/Build/Intermediates/ArchiveIntermediates/appName/BuildProductsPath/Release-iphoneos/appName-ios.app.dSYM
cd /Users/username/Documents/Development/appName-iOS
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/touch -c /Users/username/Library/Developer/Xcode/DerivedData/appName-crjnvfmiardnqxehnyeexizqofsv/Build/Intermediates/ArchiveIntermediates/appName/BuildProductsPath/Release-iphoneos/appName-ios.app.dSYM
** ARCHIVE SUCCEEDED **
을하지만 난 지정한 디렉토리에 참조 할 xarchive 파일이 없습니다. 여기서 내가 뭘 잘못하고 있니?
이것은 xcodebuild 빌드 명령과 재정의 된 빌드 대상 경로를 통해 이루어집니다. 도움이 안돼. – NSFeaster
@NSFeaster 답변을 수정했습니다. –
그게 효과가있다. 감사. – NSFeaster