Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Missing Push Notification Entitlement after building in command line
Firstly, I'm building my app through the command line- unfortunately this is necessary since I'm using Azure DevOps to do the build. Since the app has an extension I created two provisioning profiles (the app's has Push Notifications capability) and build and sign the ipa via a plist file (multi-provisioning-profiles.plist) as follows: xcodebuild -sdk iphoneos -configuration Release -project myapp.xcodeproj -scheme MyApp archive -archivePath myapp.xcarchive CODE_SIGNING_ALLOWED=NO xcodebuild -sdk iphoneos -configuration $(Configuration) -project myapp.xcodeproj build -exportArchive -archivePath myapp.xcarchive -exportOptionsPlist multi-provisioning-profiles.plist -exportPath /ipa The ipa then successfully uploads and a short while later I get the error email (ITMS-90078: Missing Push Notification Entitlement) from Apple regarding push notification entitlements. Any idea what I might be missing here? For completeness, here's the multi-provisioning-profiles.plist file also: provisioningProfiles [My a
4
0
4.1k
Nov ’21
Reply to Missing Push Notification Entitlement after building in command line
Thank you @benjfromlondon for showing me the way! I had the same issue while building using the Xcode@5 in Azure Pipelines although the project was otherwise configured as it should and as many StackOverflow threads indicated it should. I will add below more information about how I fixed the issue and troubleshooting. The fix The Xcode@5 Azure Pipelines task does not sign the archive by default: # Signing & provisioning #signingOption: 'nosign' # 'nosign' | 'default' | 'manual' | 'auto'. Signing style. Default: nosign. #signingIdentity: # string. Optional. Use when signingOption = manual. Signing identity. So I added the following to my Yaml pipeline: (signingOption, signingIdentity and provisioningProfileName) - task: Xcode@5 displayName: 'Build IPA' inputs: actions: 'clean build' configuration: 'Release' sdk: 'iphoneos' xcWorkspacePath: 'ios/MyApp.xcworkspace' workingDirectory: '$(Build.SourcesDirectory)' scheme: 'MyApp' packageApp: true signingOption: 'manual' signingIdentity: 'iPhone Distrib
Mar ’25
Reply to How can I trigger the Full Disk Access prompt to write to a raw block device?
[quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I'm not a Swift coder, but I'd like to be [/quote] Well, you’ve chosen a hard place to start |-: I have a lot to say about this but I want to start by addressing two specific comments: [quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I did change Sandbox App to NO in MyApp.entitlements [/quote] Don’t do that. If you don’t want to be sandboxed, remove the App Sandbox capability in the Signing & Capabilities editor. Setting the value to false can cause weird problems (although that’s unlikely to be causing problems for you here). [quote='830567022, coolaj86, /thread/777577?answerId=830567022#830567022, /profile/coolaj86'] using a uri to open system preferences [/quote] That URL scheme changed recently. I have links to docs for it in Supported URL Schemes. [quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I always get permission errno 13 (permission denied). [/quote] macOS has multiple layers of
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’25
Reply to "BAD_REQUEST" in iCloudKit Telemetry
BAD_REQUEST typically means that the CloudKit server receives an invalid request. That can happen when, for example, your request has a CloudKit record or field that doesn't exist in the CloudKit schema. You mentioned your development scheme had been fully deployed to production, but that doesn't completely rule out the possibility of having invalid requests. For example, if you are using Core Data / SwiftData + CloudKit (NSPersistentCloudKitContainer), and the Core Data / SwiftData model in your app isn't completely mapped to the CloudKit schema, a bad request may happen. What CloudKit API are you using? For Core Data / SwiftData + CloudKit and the CloudKit framework, you might consider capturing and analyzing a sysdiagnose to hopefully find detailed messages that indicate the concrete reason of a bad request. If you are only using NSUbiquitousKeyValueStore, or using file system APIs to access iCloud Drive, you don't directly get involved to CloudKit requests, and so I’d suggest that you file a feed
Mar ’25
Reply to Translation framework error.
Hello. Yes. When I download my app from the App Store, an error appears. It worked only for 2-3 days and then it stopped working. I asked my friends to check it by downloading my app from App Store and they have the same problem. The language pairs are different: English to German, German to Russian, Spanish to German, etc. My app stops working after 1-2 days of use. I had to remove it from sale. Our devices are connected to the internet the error appears. Also my app shows the dialog to download language pairs as Translation Framework offers it.
Topic: App & System Services SubTopic: General Tags:
Mar ’25
Reply to Inquiry on Implementing Energy Monitoring for iOS Apps and Calculating Energy Impact
I am reaching out to inquire about the implementation of an energy monitoring solution similar to Xcode's Energy Impact tool for iOS apps. So, as one note here, keep in mind the the energy impact tool is only intended to provide a quick and straightforward metric of an apps impact, particularly relative to itself, not to act as a truly accurate guide the exact impact an app actually has. In more concrete terms, it provides a quick way to compare the impact across different parts of your app and act as a simple check of expected overall usage. However, that data does not directly translate to specific impact, particularly not when all of the additional complexity of real world usage is involved. How can we achieve monitoring and calculation of CPU, GPU, and network usage over a period of time within an app? MetricKit is the best API option for this by FAR. It's straightforward to use and will basically just hand this this data in a format you can easily collect and process yourself. If you dig around
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’25
How to configure my app to be the default email client app
I followed the instruction on Preparing your app to be the default browser or email client. I have acquired the permission from Apple. The entitlement is included in the provisioning profile. mailto is specified in URL Schemes. But I downloaded my app from TestFlight and enter Setting > MyApp, the switch that could enable my app to be the default email app was not there. I have no clue what I did it wrong. Does anyone know how to configure the app properly?
2
0
1.2k
Mar ’25
Reply to CLI Error when running Go executable
I recommend that you raise this via the support channel for the third-party tools you’re using. I can explain this error, but the way that you fix that depends on how those tools work. The error is coming back from the dynamic linker. Your app is referencing a symbol, __ZTINSt3__13pmr15memory_resourceE [1], that the dynamic linker is unable to find. The worrying bit is this: /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk. It indicates that your tools have managed to import Apple’s internal version of this library, which is bad. IMPORTANT Apple platform’s use a two-level namespace, so a Mach-O image records both the name and the expected location of each imported symbol. I talk about this more in Understanding Mach-O Symbols. You might also wanna have a read of An Apple Library Primer, which explains a whole bunch of the backstory. The normal way to fix problems like this is to have your tools build there own copy of the library and then embed it in your product. However, I don’t know enoug
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’25
Error: Couldn't accept the invite (already accepted)
I'm trying to add myself to a internal testers testflight build. When I tap the start testing link in the email, Testflight (the app) opens on the app page. Tapping install returns an alert box telling Couln't accept the invite, Invite for this app already accepted (the second translated back from Italian, it's translated in the app).The app don't appears in Testing, there is no (apparent) way to start the test. The same appens on other devices of mine. I already tried to remove me from the internal testers list and readd me later with no results.Any ideas/hints/suggestions?Thank you!
9
0
20k
Oct ’23
Reply to BGTaskScheduler crashes on iOS 18.4
@DTS Engineer I ran some tests here that I think maybe highlights what's going on: I set a symbolic breakpoint on -[BGTaskScheduler registerForTaskWithIdentifier:usingQueue:launchHandler:] I edited my app scheme to Wait for the executable to be launched I run the app from Xcode. I trigger the app to be launched from a home screen widget (AudioPlaybackIntent) Here, on iOS 18.3 and earlier, at the time the app is launched, the symbolic breakpoint is triggered. On 18.4 beta, the symbolic breakpoint is not triggered. Now, foreground the app. On iOS 18.4 beta the symbolic breakpoint is triggered now, but because the app was already launched (in the background) the assert kicks in. I hope you guys are already on track to fix this issue (but it's worrying that we've now seen 4 betas without a fix). I don't think widgets are the only way to trigger this issue. I've seen it happen on the first launch right after installing a new build from TestFlight. Maybe app pre-warming could be another path to trigger the
Mar ’25
Rear Camera Not Working After iOS 18.3.1 Update – Crash Log Analysis
Hello, Since updating to iOS 18.3.1, the rear camera on my iPhone 13 Pro Max has not been functioning properly. The Camera app displays a black screen and becomes unresponsive. I analyzed the crash logs and found that the issue is related to the cameracaptured process, which handles image and video capture on iOS. Here are the key details from the crash log: 📌 Memory Error: Address size fault 📌 Impacted Thread: com.apple.coremedia.capturesession.workerQueue The Address size fault error suggests a memory access issue, likely causing the cameracaptured process to crash. This could be due to a bug in the video capture thread management introduced in the update. What do you think? name:cameracaptured,timestamp:2025-03-12 10:37:31.00 +0100,app_version:1.0,slice_uuid:cc45251e-92fc-329d-a3e9-d1c8c019e59e,build_version:587.82.13,platform:2,share_with_app_devs:0,is_first_party:1,bug_type:309,os_version:iPhone OS 18.3.2 (22D82),roots_installed:0,incident_id:E97F5B3A-345F-42A6-97E8-28D175C8C5A9,name:cameracaptured} {
1
0
381
Mar ’25
Widgets not showing up on macOS
I am trying to bring my iOS App to native macOS. I am using exactly the same TimelineProvider and widgets (the ones not supported on macOS surrounded by #if(os)). Running the whole app or just the WidgetExtension on iOS works perfectly fine. Running the mac app works perfectly fine apart from missing Widgets. When running the WidgetExtension on My Mac, the WidgetKit Simulator opens and only presents Failed to load widget. The operation couldn't be completed. (WidgetKit_Simulator.WidgetDocument.Error error 4.) The code compiles fine without any warnings, only a file path is printed into the console. file:///Users/myName/Library/Developer/Xcode/DerivedData/MyAppName-dfsiuexplidieybwvbkqofchxirp/Build/Products/Debug/MyApp.app/Contents/PlugIns/MyAppNameWidgetExtensionExtension.appex/ Shortly after I get a log entry Logging Error: Failed to initialize logging system. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variable
3
0
1.2k
May ’24
Reply to DocC documentation warnings as errors
Xcode has an Other DocC Flags build setting—for additional flags to pass to DocC—that you can specify either in the build settings of your Xcode project or on the command line (as OTHER_DOCC_FLAGS). On the command line you can either override a build setting by directly specifying it as a key-value pair: xcodebuild docbuild -scheme NameOfYourScheme -destination 'platform=macOS' OTHER_DOCC_FLAGS='--warnings-as-errors' or you can specify any number of build settings in an xcconfig file and pass that file for the -xcconfig command line option: # create a 'xcconfig' file echo OTHER_DOCC_FLAGS = --warnings-as-errors > MyBuildSettings.xcconfig # pass it to xcodebuild xcodebuild docbuild -scheme NameOfYourScheme -destination 'platform=macOS' -xcconfig MyBuildSettings.xcconfig
Mar ’25
Cloud Signing via Developer ID doesn't seem to work with Admin API Keys
Hi, I'm having a really hard time figuring out why I cannot perform cloud signing via Developer ID with xcodebuild. I have a macOS application, which I can perfectly cloud sign the following way: Sign into Xcode with my Admin + Account Holder Apple ID. Delete my Developer ID Application certificate from Keychain Access. In Xcode, click Archive. When archived, click Distribute App in Xcode Organizer. The app is cloud signed. I prove this by extracting the certificate codesign --extract-certificates -- /path/to/app.app then locate the 1.2.840.113635.100.6.1.32 bit mentioned by Quinn in this post. I however do it by simply opening the certifiacte with Keychain Access, where I can investigate the content of the certificate, rather than use that tool he does. Then, I do the following to attempt to cloud sign via xcodebuild: Create an API Key for the whole team in Users and Access > Integrations > App Store Connect with the Admin role selected. Download the private key .p8 file to ~/Downloads. Sign out of my
4
0
944
Mar ’25
xcodebuild: WARNING: Using the first of multiple matching destinations
When trying to generate build for mac catalyst using xcodebuild xcodebuild archive -scheme MYSDK -destination=generic/platform=macOS,variant=Mac Catalyst -archivePath archives/maccatalyst.xcarchive SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES SUPPORTS_MACCATALYST=YES Xcode warnings about multiple matching destinations --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:macOS, arch:x86_64, id:XX, name:My Mac } { platform:macOS, arch:x86_64, variant:Mac Catalyst, id:XX, name:My Mac } { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } { platform:macOS, name:Any Mac } { platform:macOS, variant:Mac Catalyst, name:Any Mac } Here native macOS is displayed first instead of Mac Catalyst. I have tried using generic/platform=macOS,variant=Mac Catalyst,name=Any Mac. But the same issue occurred. xc
1
0
771
Mar ’25
Missing Push Notification Entitlement after building in command line
Firstly, I'm building my app through the command line- unfortunately this is necessary since I'm using Azure DevOps to do the build. Since the app has an extension I created two provisioning profiles (the app's has Push Notifications capability) and build and sign the ipa via a plist file (multi-provisioning-profiles.plist) as follows: xcodebuild -sdk iphoneos -configuration Release -project myapp.xcodeproj -scheme MyApp archive -archivePath myapp.xcarchive CODE_SIGNING_ALLOWED=NO xcodebuild -sdk iphoneos -configuration $(Configuration) -project myapp.xcodeproj build -exportArchive -archivePath myapp.xcarchive -exportOptionsPlist multi-provisioning-profiles.plist -exportPath /ipa The ipa then successfully uploads and a short while later I get the error email (ITMS-90078: Missing Push Notification Entitlement) from Apple regarding push notification entitlements. Any idea what I might be missing here? For completeness, here's the multi-provisioning-profiles.plist file also: provisioningProfiles [My a
Replies
4
Boosts
0
Views
4.1k
Activity
Nov ’21
Reply to Missing Push Notification Entitlement after building in command line
Thank you @benjfromlondon for showing me the way! I had the same issue while building using the Xcode@5 in Azure Pipelines although the project was otherwise configured as it should and as many StackOverflow threads indicated it should. I will add below more information about how I fixed the issue and troubleshooting. The fix The Xcode@5 Azure Pipelines task does not sign the archive by default: # Signing & provisioning #signingOption: 'nosign' # 'nosign' | 'default' | 'manual' | 'auto'. Signing style. Default: nosign. #signingIdentity: # string. Optional. Use when signingOption = manual. Signing identity. So I added the following to my Yaml pipeline: (signingOption, signingIdentity and provisioningProfileName) - task: Xcode@5 displayName: 'Build IPA' inputs: actions: 'clean build' configuration: 'Release' sdk: 'iphoneos' xcWorkspacePath: 'ios/MyApp.xcworkspace' workingDirectory: '$(Build.SourcesDirectory)' scheme: 'MyApp' packageApp: true signingOption: 'manual' signingIdentity: 'iPhone Distrib
Replies
Boosts
Views
Activity
Mar ’25
Reply to How can I trigger the Full Disk Access prompt to write to a raw block device?
[quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I'm not a Swift coder, but I'd like to be [/quote] Well, you’ve chosen a hard place to start |-: I have a lot to say about this but I want to start by addressing two specific comments: [quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I did change Sandbox App to NO in MyApp.entitlements [/quote] Don’t do that. If you don’t want to be sandboxed, remove the App Sandbox capability in the Signing & Capabilities editor. Setting the value to false can cause weird problems (although that’s unlikely to be causing problems for you here). [quote='830567022, coolaj86, /thread/777577?answerId=830567022#830567022, /profile/coolaj86'] using a uri to open system preferences [/quote] That URL scheme changed recently. I have links to docs for it in Supported URL Schemes. [quote='777577021, coolaj86, /thread/777577, /profile/coolaj86'] I always get permission errno 13 (permission denied). [/quote] macOS has multiple layers of
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to "BAD_REQUEST" in iCloudKit Telemetry
BAD_REQUEST typically means that the CloudKit server receives an invalid request. That can happen when, for example, your request has a CloudKit record or field that doesn't exist in the CloudKit schema. You mentioned your development scheme had been fully deployed to production, but that doesn't completely rule out the possibility of having invalid requests. For example, if you are using Core Data / SwiftData + CloudKit (NSPersistentCloudKitContainer), and the Core Data / SwiftData model in your app isn't completely mapped to the CloudKit schema, a bad request may happen. What CloudKit API are you using? For Core Data / SwiftData + CloudKit and the CloudKit framework, you might consider capturing and analyzing a sysdiagnose to hopefully find detailed messages that indicate the concrete reason of a bad request. If you are only using NSUbiquitousKeyValueStore, or using file system APIs to access iCloud Drive, you don't directly get involved to CloudKit requests, and so I’d suggest that you file a feed
Replies
Boosts
Views
Activity
Mar ’25
Reply to Translation framework error.
Hello. Yes. When I download my app from the App Store, an error appears. It worked only for 2-3 days and then it stopped working. I asked my friends to check it by downloading my app from App Store and they have the same problem. The language pairs are different: English to German, German to Russian, Spanish to German, etc. My app stops working after 1-2 days of use. I had to remove it from sale. Our devices are connected to the internet the error appears. Also my app shows the dialog to download language pairs as Translation Framework offers it.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to Inquiry on Implementing Energy Monitoring for iOS Apps and Calculating Energy Impact
I am reaching out to inquire about the implementation of an energy monitoring solution similar to Xcode's Energy Impact tool for iOS apps. So, as one note here, keep in mind the the energy impact tool is only intended to provide a quick and straightforward metric of an apps impact, particularly relative to itself, not to act as a truly accurate guide the exact impact an app actually has. In more concrete terms, it provides a quick way to compare the impact across different parts of your app and act as a simple check of expected overall usage. However, that data does not directly translate to specific impact, particularly not when all of the additional complexity of real world usage is involved. How can we achieve monitoring and calculation of CPU, GPU, and network usage over a period of time within an app? MetricKit is the best API option for this by FAR. It's straightforward to use and will basically just hand this this data in a format you can easily collect and process yourself. If you dig around
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’25
How to configure my app to be the default email client app
I followed the instruction on Preparing your app to be the default browser or email client. I have acquired the permission from Apple. The entitlement is included in the provisioning profile. mailto is specified in URL Schemes. But I downloaded my app from TestFlight and enter Setting > MyApp, the switch that could enable my app to be the default email app was not there. I have no clue what I did it wrong. Does anyone know how to configure the app properly?
Replies
2
Boosts
0
Views
1.2k
Activity
Mar ’25
Reply to CLI Error when running Go executable
I recommend that you raise this via the support channel for the third-party tools you’re using. I can explain this error, but the way that you fix that depends on how those tools work. The error is coming back from the dynamic linker. Your app is referencing a symbol, __ZTINSt3__13pmr15memory_resourceE [1], that the dynamic linker is unable to find. The worrying bit is this: /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk. It indicates that your tools have managed to import Apple’s internal version of this library, which is bad. IMPORTANT Apple platform’s use a two-level namespace, so a Mach-O image records both the name and the expected location of each imported symbol. I talk about this more in Understanding Mach-O Symbols. You might also wanna have a read of An Apple Library Primer, which explains a whole bunch of the backstory. The normal way to fix problems like this is to have your tools build there own copy of the library and then embed it in your product. However, I don’t know enoug
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’25
Error: Couldn't accept the invite (already accepted)
I'm trying to add myself to a internal testers testflight build. When I tap the start testing link in the email, Testflight (the app) opens on the app page. Tapping install returns an alert box telling Couln't accept the invite, Invite for this app already accepted (the second translated back from Italian, it's translated in the app).The app don't appears in Testing, there is no (apparent) way to start the test. The same appens on other devices of mine. I already tried to remove me from the internal testers list and readd me later with no results.Any ideas/hints/suggestions?Thank you!
Replies
9
Boosts
0
Views
20k
Activity
Oct ’23
Reply to BGTaskScheduler crashes on iOS 18.4
@DTS Engineer I ran some tests here that I think maybe highlights what's going on: I set a symbolic breakpoint on -[BGTaskScheduler registerForTaskWithIdentifier:usingQueue:launchHandler:] I edited my app scheme to Wait for the executable to be launched I run the app from Xcode. I trigger the app to be launched from a home screen widget (AudioPlaybackIntent) Here, on iOS 18.3 and earlier, at the time the app is launched, the symbolic breakpoint is triggered. On 18.4 beta, the symbolic breakpoint is not triggered. Now, foreground the app. On iOS 18.4 beta the symbolic breakpoint is triggered now, but because the app was already launched (in the background) the assert kicks in. I hope you guys are already on track to fix this issue (but it's worrying that we've now seen 4 betas without a fix). I don't think widgets are the only way to trigger this issue. I've seen it happen on the first launch right after installing a new build from TestFlight. Maybe app pre-warming could be another path to trigger the
Replies
Boosts
Views
Activity
Mar ’25
Rear Camera Not Working After iOS 18.3.1 Update – Crash Log Analysis
Hello, Since updating to iOS 18.3.1, the rear camera on my iPhone 13 Pro Max has not been functioning properly. The Camera app displays a black screen and becomes unresponsive. I analyzed the crash logs and found that the issue is related to the cameracaptured process, which handles image and video capture on iOS. Here are the key details from the crash log: 📌 Memory Error: Address size fault 📌 Impacted Thread: com.apple.coremedia.capturesession.workerQueue The Address size fault error suggests a memory access issue, likely causing the cameracaptured process to crash. This could be due to a bug in the video capture thread management introduced in the update. What do you think? name:cameracaptured,timestamp:2025-03-12 10:37:31.00 +0100,app_version:1.0,slice_uuid:cc45251e-92fc-329d-a3e9-d1c8c019e59e,build_version:587.82.13,platform:2,share_with_app_devs:0,is_first_party:1,bug_type:309,os_version:iPhone OS 18.3.2 (22D82),roots_installed:0,incident_id:E97F5B3A-345F-42A6-97E8-28D175C8C5A9,name:cameracaptured} {
Replies
1
Boosts
0
Views
381
Activity
Mar ’25
Widgets not showing up on macOS
I am trying to bring my iOS App to native macOS. I am using exactly the same TimelineProvider and widgets (the ones not supported on macOS surrounded by #if(os)). Running the whole app or just the WidgetExtension on iOS works perfectly fine. Running the mac app works perfectly fine apart from missing Widgets. When running the WidgetExtension on My Mac, the WidgetKit Simulator opens and only presents Failed to load widget. The operation couldn't be completed. (WidgetKit_Simulator.WidgetDocument.Error error 4.) The code compiles fine without any warnings, only a file path is printed into the console. file:///Users/myName/Library/Developer/Xcode/DerivedData/MyAppName-dfsiuexplidieybwvbkqofchxirp/Build/Products/Debug/MyApp.app/Contents/PlugIns/MyAppNameWidgetExtensionExtension.appex/ Shortly after I get a log entry Logging Error: Failed to initialize logging system. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variable
Replies
3
Boosts
0
Views
1.2k
Activity
May ’24
Reply to DocC documentation warnings as errors
Xcode has an Other DocC Flags build setting—for additional flags to pass to DocC—that you can specify either in the build settings of your Xcode project or on the command line (as OTHER_DOCC_FLAGS). On the command line you can either override a build setting by directly specifying it as a key-value pair: xcodebuild docbuild -scheme NameOfYourScheme -destination 'platform=macOS' OTHER_DOCC_FLAGS='--warnings-as-errors' or you can specify any number of build settings in an xcconfig file and pass that file for the -xcconfig command line option: # create a 'xcconfig' file echo OTHER_DOCC_FLAGS = --warnings-as-errors > MyBuildSettings.xcconfig # pass it to xcodebuild xcodebuild docbuild -scheme NameOfYourScheme -destination 'platform=macOS' -xcconfig MyBuildSettings.xcconfig
Replies
Boosts
Views
Activity
Mar ’25
Cloud Signing via Developer ID doesn't seem to work with Admin API Keys
Hi, I'm having a really hard time figuring out why I cannot perform cloud signing via Developer ID with xcodebuild. I have a macOS application, which I can perfectly cloud sign the following way: Sign into Xcode with my Admin + Account Holder Apple ID. Delete my Developer ID Application certificate from Keychain Access. In Xcode, click Archive. When archived, click Distribute App in Xcode Organizer. The app is cloud signed. I prove this by extracting the certificate codesign --extract-certificates -- /path/to/app.app then locate the 1.2.840.113635.100.6.1.32 bit mentioned by Quinn in this post. I however do it by simply opening the certifiacte with Keychain Access, where I can investigate the content of the certificate, rather than use that tool he does. Then, I do the following to attempt to cloud sign via xcodebuild: Create an API Key for the whole team in Users and Access > Integrations > App Store Connect with the Admin role selected. Download the private key .p8 file to ~/Downloads. Sign out of my
Replies
4
Boosts
0
Views
944
Activity
Mar ’25
xcodebuild: WARNING: Using the first of multiple matching destinations
When trying to generate build for mac catalyst using xcodebuild xcodebuild archive -scheme MYSDK -destination=generic/platform=macOS,variant=Mac Catalyst -archivePath archives/maccatalyst.xcarchive SKIP_INSTALL=NO BUILD_LIBRARIES_FOR_DISTRIBUTION=YES SUPPORTS_MACCATALYST=YES Xcode warnings about multiple matching destinations --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:macOS, arch:x86_64, id:XX, name:My Mac } { platform:macOS, arch:x86_64, variant:Mac Catalyst, id:XX, name:My Mac } { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } { platform:macOS, name:Any Mac } { platform:macOS, variant:Mac Catalyst, name:Any Mac } Here native macOS is displayed first instead of Mac Catalyst. I have tried using generic/platform=macOS,variant=Mac Catalyst,name=Any Mac. But the same issue occurred. xc
Replies
1
Boosts
0
Views
771
Activity
Mar ’25