Hi! I have a bigger Xcode project that has multiple targets: the main app (MainApp) helper command line tool (HelperTool) The project also lists multiple package dependencies via SwiftPM and these dependencies have dependencies between themselves. One of such packages produces a dynamic library MyFramework which is a dependency for both the main app and the HelperTool which has it listed under Build Phases > Dependencies as well as under Link with Frameworks. This builds just fine, but the issue somes when I want to add another target called AdditionalHelperTool which it has pretty much the same dependencies as HelperTool. When I add this second target, I start running into issues like the following: Multiple commands produce '[...]/Build/Products/Debug/Frameworks/MyFramework.framework/Versions/A' Target 'HelperTool' (project 'MyApp') has copy command from '[...]/Build/Products/Debug/PackageFrameworks/MyFramework.framework' to '[...]/Build/Products/Debug/Frameworks/MyFramework.framework' Target 'A
Search results for
xcode github
94,725 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
In Xcode there is a download dialog available if you disable automatic signing. It says no eligible profile available.
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Output from my shell script that produces the application and the package installer: /Applications/com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer.AudioUnitTest: replacing existing signature /Applications/com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer.AudioUnitTest: signed Mach-O universal (x86_64 arm64) [com.gsequencer.GSequencer.AudioUnitTest] /Applications/com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer: replacing existing signature /Applications/com.gsequencer.GSequencer.app/Contents/MacOS/com.gsequencer.GSequencer: signed app bundle with Mach-O universal (x86_64 arm64) [com.gsequencer.GSequencer] /Applications/com.gsequencer.GSequencer.app: replacing existing signature /Applications/com.gsequencer.GSequencer.app: signed app bundle with Mach-O universal (x86_64 arm64) [com.gsequencer.GSequencer] productbuild: Adding component at /Applications/com.gsequencer.GSequencer.app productbuild: Signing product with identity 3rd Party Mac Develop
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
On my latest build I have 15 pannes French word for crash with ZERO session. It was the same for the previous build (2 days before): zero session and 498 pannes (crash). How is that possible ? And in Xcode/Organizer : No crash logs since 2 weeks. Who can it be possible ?
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
When creating an icon using icon composer, I cant upload a build to testflight/App Store connect. Running on device from Xcode works fine, but as soon as I archive and upload to App Store Connect, I get an error saying the icon contains an alpha channel
@lionelng suggestion is spot on! I haven’t use subscription codes forever, however this usually points to an issue with how the products are set up in App Store Connect, or how they are being requested in your code. Go through Section 1 above meticulously. The Product ID exact match, Ready to Submit status, and complete metadata (localization, screenshot) are the most likely the issue? If you just created the IAPs, it can sometimes take a few hours for them to propagate through Apple's system. Do you have a test harness to request them? I believe, given your products not found error in Xcode, the problem is almost certainly in Section 1 (App Store Connect configuration) or Section 2 (Product IDs in code). The loading forever in production is a symptom of the app not being able to fetch the product details from the subscription? Provide here for other developer to help the response.invalidProductIdentifiers shows when you debug, and what the status of your IAPs is in App Store Connect. That will narro
Topic:
App & System Services
SubTopic:
StoreKit
Tags:
Thank you for answering! In the meantime I tried another approach of creating the command line tools via SwiftPM and ran pretty much into the same issue here. The Package manifest defined two binaries with some dependencies and the build process again complained about multiple commands producing various frameworks. I fully agree that simplification is the way to go which is why the actual project has about 6 different frameworks into which the functionality is broken down. It is interesting to note that the error appears for frameworks that link external libraries - in one case it's swift-syntax and swift-system (as one of the libraries defines macros) and the other swift-subprocess. I wonder if this has any effect on this. When you have HelperTool and AdditionalHelperTool both linking MyFramework and both having an Embed Frameworks or Copy Files phase configured to copy MyFramework to Build/Products/Debug/Frameworks/, Xcode sees two distinct commands attempting to write to the identical location, le
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
@Noah______ Hey, I’m supportive of your idea to create an app about screen time! My app will also keep track of screen time in the background, but it will have a continuous counter timer that doesn’t need to be integrated with any frameworks. How did you put it together? Also, I sent an email to the Apple Swift student challenge email line and the WWDR (worldwide developer relations) told me that I need to ask companies like Nike Training Club and Headspace if it’s okay to use their videos and media locally in my Xcode assets. Is that true y’all?
Topic:
Community
SubTopic:
Swift Student Challenge
Thanks for this very interesting issue that I’m sure many people has different ideas to deal with this reference to external projects. Will be great to see a simple focused project to see how you using it, when dealing with shared dynamic frameworks and multiple non-app targets like command-line tools. The error message Multiple commands produce... clearly indicates that two or more targets are trying to copy the same file In my personal experience, I address this challenge by consistently simplifying my projects to ensure that no project reference is duplicated and can be utilized throughout the entire project. While this approach may not be as straightforward as it appears, simplification has consistently proven to be my preferred solution when constructing projects. Xcode's build system, by default, tries to ensure that all linked dynamic frameworks are available. It is possible to reference a manager class once and utilize the accessed project instead of duplicating the framework. When you have H
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
If you are using SubscriptionStoreView with groupID overload, make sure the groupID entered is matching with the one in App Store Connect, not the one from your Xcode StoreKit configuration file. In Xcode testing, you need a StoreKit config file, and make sure to select Edit Scheme -> Options tab and select StoreKit Configuration to the correct configuration file. But this does not affect your App Store version. You might need to handle unfinished transactions. Take a look at sample code from WWDC25 on StoreKit 2.
Topic:
App & System Services
SubTopic:
StoreKit
Tags:
[quote='872696022, joel2001k, /thread/812624?answerId=872696022#872696022, /profile/joel2001k'] As reading about Certificate types, I think this certificate is missing: [/quote] No. As I mentioned above, that platform specific distribution certificate type is no longer relevant. It’s been subsumed by Apple Distribution, which works for all platforms. [quote='872712022, joel2001k, /thread/812624?answerId=872712022#872712022, /profile/joel2001k'] What is with these 2 files? [/quote] You’re asking me?!? Seriously though, Apple’s standard processes don’t use openssl. If you go down that path, you won’t find any help from Apple sources. And I think that speaks to the main issue you’re having here: Apple’s code-signing infrastructure relies on digital identities in the keychain. A digital identity is the combination of a certificate and the private key that matches the public key in that certificate. Both of these have to be in the keychain. The openssl sequence you posted above doesn’t add the private key to the k
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Added log files to FB20359822 (Packets and sample, with the experimental feature disabled and enabled) Xcode 26.2 in conjunction with iOS 26.2 fixed the exponential time it took to do a DLOpen with the debugger attached on Xcode 26, however the time it takes for one DLOpen is still ~0.10/0.15s on Xcode 26.x when it was only ~0.02/0.03s on Xcode 16.4. A huge number of DLOpens at app start will still cause the issue (We have around 200 dylibs that are loaded after app delegate init, mostly from Accessibility Bundles). 2000.15 = 30 seconds 2000.02 = 4 seconds Pretty consistent with what we see when the debugger is attached on Xcode 26.2 vs Xcode 16.4. Thank you. Sincerely, Marty, iOS @amo
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
If you’re just starting out I recommend that you allow Xcode’s automatic code signing to take care of your provisioning needs. That is: Launch Xcode. In Xcode > Settings > Apple Accounts, sign in with your developer Apple Account. Create a new project from the iOS > App template. In Signing & Capabilities, check “Automatically manage signing” and select your team in the Team popup. Attach your test device to your Mac via a USB cable. Build and run the test app on your device. Can you get that to work? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
I’m reaching out regarding an issue we’ve been experiencing with BGProcessingTask since upgrading to Xcode 26.1.1. Issue Summary Our daily background processing task—scheduled shortly after end‑of‑day—has stopped triggering reliably at night. This behavior started occurring only after updating to Xcode 26.1.1. Prior to this update, the task consistently ran around midnight, executed for ~10–15 seconds, and successfully rescheduled itself for the next day. Expected Behavior BGProcessingTask should run at/near the scheduled earliestBeginDate, which we set to roughly 2 hours after end-of-day. The task should execute, complete, and then reschedule itself. Actual Behavior On devices running builds compiled with Xcode 26.1.1, the task does not trigger at all during the night. The same code worked reliably before the Xcode update. No system logs indicate rejection, expiration, or background task denial. Technical Details This is the identifier we use: private enum DayEndProcessorC
We noticed in multiple apps that readableContentGuide is way too wide on iOS 26.x. Here are changes between iPad 13inch iOS 18.3 and the same device iOS 26.2 (but this affects also iOS 26.0 and iOS 26.1): 13 inch iOS 18 Landscape ContentSizeCategory: XS, Width: 1376.0 , Readable Width: 560.0 S, Width: 1376.0 , Readable Width: 600.0 M, Width: 1376.0 , Readable Width: 632.0 L, Width: 1376.0 , Readable Width: 664.0 XL, Width: 1376.0 , Readable Width: 744.0 XXL, Width: 1376.0 , Readable Width: 816.0 XXXL,Width: 1376.0 , Readable Width: 896.0 A_M, Width: 1376.0 , Readable Width: 1096.0 A_L, Width: 1376.0 , Readable Width: 1280.0 A_XL,Width: 1376.0 , Readable Width: 1336.0 13 inch iOS 26 Landscape ContentSizeCategory: XS, Width: 1376.0 , Readable Width: 752.0 S, Width: 1376.0 , Readable Width: 800.0 M, Width: 1376.0 , Readable Width: 848.0 L, Width: 1376.0 , Readable Width: 896.0 XL, Width: 1376.0 , Readable Width: 1000.0 XXL, Width: 1376.0 , Readable Width: 1096.0 XXXL,Width: 1376.0 , Readable Width: 1200