Bitrise Build Issue Report template
Inputs:
-
distribution_method: app-store
-
upload_bitcode: true
-
compile_bitcode: true
-
icloud_container_environment:
-
export_development_team:
-
export_options_plist_content:
-
log_formatter: xcpretty
-
project_path: jahez.xcworkspace
-
scheme: Jahez Staging
-
configuration: Release (Staging)
-
output_dir: /Users/[REDACTED]/deploy
-
perform_clean_action: true
-
xcodebuild_options:
-
xcconfig_content: COMPILER_INDEX_STORE_ENABLE = NO
-
export_all_dsyms: true
-
artifact_name:
-
verbose_log: true
-
cache_level: swift_packages
-
automatic_code_signing: api-key
-
certificate_url_list: [REDACTED]
-
passphrase_list:
-
keychain_path: /Users/[REDACTED]/Library/Keychains/login.keychain
-
keychain_password: *****
-
register_test_devices: false
-
min_profile_validity: 0
-
BITRISE_BUILD_URL: Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation
-
BITRISE_BUILD_API_TOKEN: *****
Xcode version:
Xcode 13.1 (Build version 13A1030d)
Fetching Apple Service connection
[DEBUG] GET https://app.bitrise.io/build/eebe6b0b-5828-4973-a420-5f36597597db/apple_developer_portal_data.json
Bitrise Apple Developer Connection with API key found
Using Apple Service connection with API key.
Checking if log formatter (xcpretty) is installed
- xcprettyVersion: 0.3.0
Preparing code signing assets (certificates, profiles) before Archive action
failed to fetch code signing info from target (jahez) settings: xcodebuild “-project” “/Users/[REDACTED]/git/jahez.xcodeproj” “-target” “jahez” “-configuration” “Release (Staging)” “-showBuildSettings” command failed: output: Command line invocation:
/Applications/Xcode-13.1.Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -project /Users/[REDACTED]/git/jahez.xcodeproj -target jahez -configuration “Release (Staging)” -showBuildSettings
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Resolved source packages:
App: (null)
xcodebuild: error: Could not resolve package dependencies:
Packages are not supported when using legacy build locations, but the current project has them enabled.
Code signing asset management by Bitrise
Reason: Using Bitrise-managed code signing assets with API key because Automatically managed signing is disabled in Xcode for the project.
Analyzing project
Configuration: Release (Staging)
%!(NOVERB)%!(EXTRA *errors.errorString=failed to fetch Team ID from target settings (jahez): xcodebuild “-project” “/Users/[REDACTED]/git/jahez.xcodeproj” “-target” “jahez” “-configuration” “Release (Staging)” “-showBuildSettings” command failed: output: Command line invocation:
/Applications/Xcode-13.1.Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -project /Users/[REDACTED]/git/jahez.xcodeproj -target jahez -configuration “Release (Staging)” -showBuildSettings
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Resolved source packages:
App: (null)
xcodebuild: error: Could not resolve package dependencies:
Packages are not supported when using legacy build locations, but the current project has them enabled.)
Target (jahez) DevelopmentTeam attribute:
Target (jahez): No Team ID found.
%!(NOVERB)%!(EXTRA *errors.errorString=failed to fetch Team ID from target settings (jahezUITests): xcodebuild “-project” “/Users/[REDACTED]/git/jahez.xcodeproj” “-target” “jahezUITests” “-configuration” “Release (Staging)” “-showBuildSettings” command failed: output: Command line invocation:
/Applications/Xcode-13.1.Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -project /Users/[REDACTED]/git/jahez.xcodeproj -target jahezUITests -configuration “Release (Staging)” -showBuildSettings
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Resolved source packages:
App: (null)
xcodebuild: error: Could not resolve package dependencies:
Packages are not supported when using legacy build locations, but the current project has them enabled.)
Target (jahezUITests) DevelopmentTeam attribute:
Target (jahezUITests): No Team ID found.
%!(NOVERB)%!(EXTRA *errors.errorString=failed to fetch Team ID from target settings (OneSignalNotificationServiceExtension): xcodebuild “-project” “/Users/[REDACTED]/git/jahez.xcodeproj” “-target” “OneSignalNotificationServiceExtension” “-configuration” “Release (Staging)” “-showBuildSettings” command failed: output: Command line invocation:
/Applications/Xcode-13.1.Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -project /Users/[REDACTED]/git/jahez.xcodeproj -target OneSignalNotificationServiceExtension -configuration “Release (Staging)” -showBuildSettings
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Resolved source packages:
App: (null)
xcodebuild: error: Could not resolve package dependencies:
Packages are not supported when using legacy build locations, but the current project has them enabled.)
Target (OneSignalNotificationServiceExtension) DevelopmentTeam attribute:
Target (OneSignalNotificationServiceExtension): No Team ID found.
%!(NOVERB)%!(EXTRA *errors.errorString=failed to fetch Team ID from target settings (payByApplePay): xcodebuild “-project” “/Users/[REDACTED]/git/jahez.xcodeproj” “-target” “payByApplePay” “-configuration” “Release (Staging)” “-showBuildSettings” command failed: output: Command line invocation:
/Applications/Xcode-13.1.Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -project /Users/[REDACTED]/git/jahez.xcodeproj -target payByApplePay -configuration “Release (Staging)” -showBuildSettings
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Resolved source packages:
App: (null)
xcodebuild: error: Could not resolve package dependencies:
Packages are not supported when using legacy build locations, but the current project has them enabled.)
Target (payByApplePay) DevelopmentTeam attribute:
Target (payByApplePay): No Team ID found.
Project team ID:
Exporting outputs…
failed to manage code signing: failed to read project platform: failed to fetch project (/Users/[REDACTED]/git/jahez.xcodeproj) build settings: xcodebuild “-project” “/Users/[REDACTED]/git/jahez.xcodeproj” “-target” “jahez” “-configuration” “Release (Staging)” “-showBuildSettings” command failed: output: Command line invocation:
/Applications/Xcode-13.1.Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -project /Users/[REDACTED]/git/jahez.xcodeproj -target jahez -configuration “Release (Staging)” -showBuildSettings
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Resolved source packages:
App: (null)
xcodebuild: error: Could not resolve package dependencies:
Packages are not supported when using legacy build locations, but the current project has them enabled.
Description of the issue
The issue started when we use some swift packages, and we still use cocoapods.
While in the step input I set the project path to jahez.xcworkspace
in the log, the xcodebuild command is passing -project jahez.xcodeproj
I’m not sure if this is a bug in the step or not
Environment:
Where did the issue happen?
Xcode 13.1, on macOS 11.4 (Big Sur)
Which build Step causes the issue and which version of the step?
Xcode Archive & Export for iOS 4.2
Reproducibility
- Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : If this question mean help in solving the issue then NO.
-
Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : NO - Does the issue happen sporadically, or every time? : every time
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : When starting use swift packages
Local reproduction
Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.
I tried to build locally from terminal with this command:
xcodebuild -workspace “jahez.xcworkspace” -scheme “Jahez Staging”
and the build is successful.
Local reproduction: Linux / Android (docker based) stack builds
Can it be reproduced by running the build locally, after doing a new git clone of the repository into the /tmp
directory and running the build from there with the Bitrise CLI ( Bitrise CLI )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/ .
Build log
Please copy paste the build’s bitrise.io URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - Contact us ), with a link to the related Discuss issue.