Skip to content

Codesigndoc failing to make Archive for iOS app #151

Open
@ragu-pdx

Description

@ragu-pdx

I can make archives from my XCode project and this Scheme as that's what we are manually doing all the time. Not sure why this is failing, but this is an iOS app, yet it seems to be building for my Mac? Not sure what is going on there. Papaya is the name of my Mac M1 computer.

=> Creating a temporary directory for codesigndoc ...
 => Downloading version: 2.4.1
 => Downloading codesigndoc from (https://github.com/bitrise-io/codesigndoc/releases/download/2.4.1/codesigndoc-Darwin-x86_64) to (/var/folders/v9/jpwy3j4x2llcrqkwszqrpfsm0000gn/T/codesigndocXXXXXX.xhhIxbeU/codesigndoc) ...
#=#=-  #       #                                                                                                                                                                                                                                               #=O#-     #        #                                                                                         ######################################################################################################################################################################################################################################################### 100.0%-#O=- #      #          #                                                                                   ######################################################################################################################################################################################################################################################### 100.0%
 => Making it executable ...
 => codesigndoc version: 2.4.1
 => Running codesigndoc scan ...

Scan the directory for project files
You can specify the Xcode project/workscape file to scan with the --file flag.
Found one project file: LabCentral.xcworkspace.

🔦  Scanning Schemes ...
$ xcodebuild "-workspace" "/Users/ragu/Projects/ProofDx/LabCentral-iOS/LabCentral.xcworkspace" "-list"

Select the Scheme you usually use in Xcode
Please select from the list:
[1] : Alamofire
[2] : Amplify
[3] : AmplifyPlugins
[4] : Analytics
[5] : AppCenter
[6] : AWSAuthCore
[7] : AWSCognitoIdentityProvider
[8] : AWSCognitoIdentityProviderASF
[9] : AWSCore
[10] : AWSMobileClient
[11] : AWSPluginsCore
[12] : BuildNumberGenerator
[13] : CocoaLumberjack
[14] : GzipSwift
[15] : Instabug
[16] : IQKeyboardManagerSwift
[17] : KeychainSwift
[18] : Lab Central
[19] : lottie-ios
[20] : MarqueeLabel
[21] : NotificationBannerSwift
[22] : NotificationController
[23] : PB-BuildNumberGenerator
[24] : PineBluetooth
[25] : Pods-Lab Central
[26] : Realm
[27] : RealmSwift
[28] : SnapKit
[29] : SwiftCSV
[30] : SwiftLint
[31] : SwiftRichString
[32] : SwiftyAttributes
[33] : SwiftyUserDefaults
(type in the option's number, then hit Enter) [1] : 18

Xcode (xcodebuild) version: Xcode 13.2.1 (Build version 13C100)


🔦  Running an Xcode Archive, to get all the required code signing settings...
$ xcodebuild "-workspace" "/Users/ragu/Projects/ProofDx/LabCentral-iOS/LabCentral.xcworkspace" "-scheme" "Lab Central" "clean" "archive" "-archivePath" "/var/folders/v9/jpwy3j4x2llcrqkwszqrpfsm0000gn/T/__codesigndoc__727828045/Lab Central.xcarchive"
......................

Last lines of the build log:

** CLEAN SUCCEEDED **

note: Using new build system
note: Planning
Analyze workspace

Create build description
Build description signature: b284ea5e6f8f777a8fd5296cc0b6d2fb
Build description path: /Users/ragu/Library/Developer/Xcode/DerivedData/LabCentral-gkqnwlempmfvvkcvszfjrqtakywu/Build/Intermediates.noindex/ArchiveIntermediates/Lab Central/IntermediateBuildFilesPath/XCBuildData/b284ea5e6f8f777a8fd5296cc0b6d2fb-desc.xcbuild

note: Build preparation complete
note: Building targets in dependency order
error: Provisioning profile "iOS Team Provisioning Profile: com.proofdx.labcentral" doesn't include the currently selected device "Papaya" (identifier 603E4686-0F14-51F5-911D-FF37D2CC5DFD). (in target 'Lab Central' from project 'LabCentral')
** ARCHIVE FAILED **
Please check the build log to see what caused the error.

Xcode Archive failed.
Open the project: /Users/ragu/Projects/ProofDx/LabCentral-iOS/LabCentral.xcworkspace
and make sure that you can build an Archive, with the scheme: Lab Central

💡  Saving xcodebuild output into file: /Users/ragu/Projects/ProofDx/LabCentral-iOS/codesigndoc_exports/xcodebuild-output.log

------------------------------
First of all please make sure that you can Archive your app from Xcode.
codesigndoc only works if you can archive your app from Xcode.
If you can, and you get a valid .ipa/.app file if you export from Xcode,
please create an issue on GitHub at: https://github.com/bitrise-io/codesigndoc/issues
with as many details & logs as you can share!
------------------------------

Error: failed to run xcodebuild command, error: exit status 65

xcodebuild-output.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions