Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

Unable to find a destination matching the provided destination specifier
Hello community! Recently I faced unusual problem when I'm trying to run UITest from commandline. Everything works from XCode (I can execute UITest on both simulator and device), but in console I'm always getting: xcodebuild: error: Unable to find a destination matching the provided destination specifier: { platform:iOS Simulator, OS:17.5, name:iPhone 15 Pro } I already checked lot of possible solutions but none worked. What seems to be important here, I don't have any "Available destinations" proposal. Also installed XCode version is 16, but I need to run this project on 15.4 which is in another folder (I used xcode-select to choose 15.4, also tried to execute xcodebuild using full path) . Executing: xcrun simctl list shows me f.e.: -- iOS 17.5 -- iPhone 13 Pro (D20DE861-B938-4FD3-9797-F0AE0BBA5569) (Shutdown) iPhone 15 (FE8687E4-B7CD-4861-83F8-B9E833F14982) (Shutdown) iPhone 15 Plus (4B1F46CC-7C95-496B-9776-EC6BC539199E) (Shutdown) iPhone 15 Pro (C622866E-74C8-45F5-A7B0-DFA76BC7C452) (Booted) iPhone 15 Pro Max (CEF3892C-CFD4-4558-A317-A6EBDB079AAF) (Shutdown) but running: xcodebuild -workspace ./xxx.xcworkspace -scheme xxxUITests -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5' build brings same error. What is also interesting, I'm getting same error when trying to run same command in GitLab pipeline. Is there anyone who had same problem?
1
3
650
Nov ’24
VisionOS Simulator Stuck on Black Screen with "Hello World" Code in Xcode
Hello everyone, I’m currently developing my first VisionOS app in Xcode, starting with the default "Hello World" code provided when creating a new VisionOS Mixed Reality App. However, I’m facing some issues with performance and previewing that I can’t seem to resolve. When I load the preview, it takes an extremely long time, and sometimes it doesn’t load at all. Even when I try to run the app in the VisionOS Simulator, the simulator shows an endless black screen and never displays the intended view. I’ve made no changes to the code, so it’s purely the base setup. Here are my system details: Xcode version: 16.1, VisionOs 2.0; macOS version: 15.0.1; Hardware: MacBook Air 2020 M1 I’ve tried restarting Xcode and my machine, but the issue persists. Has anyone else faced similar problems or have any suggestions for fixing this? Or is my hardware simply too weak? Any help would be greatly appreciated! Thank you in advance!
1
0
412
Nov ’24
Issue Accessing Apple Developer Program – Payment Confirmation Received, No Further Action
Hello, I’m encountering a problem while trying to join the Apple Developer Program from Argentina. Each time I submit a payment, I receive a confirmation email stating: Dear Agustin Oberg, Thank you for your order. Here's a summary of your order request, which will be processed within 2 business days. We'll notify you when your items are ready. Order Details: Apple Developer Program US$ 99 Best regards, Apple Developer Relations However, despite this message, no further actions are taken, and I am still unable to access the program. I’ve tried multiple credit cards and submitted payments on several occasions, but the issue persists. Is there anyone who has faced a similar problem or can offer advice on how to resolve this? I would appreciate any assistance or guidance to complete my registration successfully. Thank you!
0
0
286
Nov ’24
tabview tabviewstyle sidebaradaptable in macos 15.1. beta 5 is non responsive
Whan using a tabview set with a tabviewstyle of sidebaradaptable on macOS 15.1 beta 5 the tabs are non responsive and is basically broken. Example code... If you click around on these tabs you will see it is not responsive. When you add a lot more tabs from a for loop for example you really get poor performance. But this is not the case with earlier beta releases. TabView {                 Tab("One", systemImage: "1.circle.fill") {                     Text("Test One")                 }                 Tab("Two", systemImage: "2.circle.fill") {                     Text("Test Two")                 }                 Tab("Three", systemImage: "3.circle.fill") {                     Text("Test Three")                 }             }             .tabViewStyle(.sidebarAdaptable)
8
1
726
Nov ’24
macOS Sequoia: “App” would like to access data from other apps when launched from Xcode
Since updating to macOS Sequoia, I see this dialog every time I launch my SwiftUI macOS app from Xcode: Users who installed the app from the App Store don’t see it. And this didn’t happened in previous macOS versions. Could launching it from Xcode be triggering some extra access requirement? How can I stop this dialog from appearing every time I launch my app? It’s very disruptive to the debugging process.
0
0
441
Nov ’24
Resetting iPhone Mirroring credentials
I had iPhone Mirroring in MacOS 15 working, but something glitched on my iPhone and I had to perform a "Reset All Settings" and now I can no longer connect to my iPhone. I assume that some key has been cached when I connected initially, but I can't figure out how to reset the connection. Does anybody have any suggestion as to how to reset the connection?
15
7
14k
Nov ’24
Unable to Complete Apple Developer Program Purchase After Multiple Attempts
Hello, I’m experiencing issues completing my Apple Developer Program membership purchase. I’ve attempted the process three times, received an order acknowledgment email each time, and was informed that the request would be processed within 2 business days. Despite this, my payment does not go through, and I’m repeatedly prompted to make the purchase again. Here are the details: Enrollment ID: 2D8KS5FGH4 Cost: US$99 Attempts: 3 separate purchase attempts Acknowledgment Email Received: Yes (Order Acknowledgement email from Apple Developer, confirming my order request) I’ve verified my payment method, billing details, and even tried different browsers and devices. Each time, the process completes up to the acknowledgment, but the payment is not finalized, and my membership remains inactive. Could you please help resolve this issue? I need assistance in activating my membership so I can begin development. Thank you,
0
0
371
Nov ’24
How do simulate custom moving location
For some background, my app is a Flutter app and I have opened it in xcode to try the following, I can build and run it on a simulator from xcode as well. I want to be able to simulate custom moving locations for my app. I tried going to Debug -> Simulate Location like online tutorials show but it is all greyed out. I have location simulation enabled (I have tried changing the default location too): Within the simulator itself I only have the predefined routes or a custom static location with no option for a moving location. How can I simulate a custom moving location? If it isn't possible is there anyway to simulate the location for a Mac app as I can build the Flutter app for Mac as well?
3
0
1.5k
Nov ’24
Xcode - Product > Archive files
Hello. I'm working on an app which works on multiple platforms (iOS, macOS, watchOS, tvOS). It builds and runs fine on the simulator and a real device but when trying to create a Product > Archive on macOS, it fails. Here's the error message I get: Build target RailBoardMac Project RailBoard | Configuration Debug | Destination Any Mac | SDK macOS 15.1 Link RailBoardMac (x86_64) 0.3 seconds Could not parse or use implicit file '/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SwiftUlCore.framework/ Versions/A/SwiftUlCore.tbd': cannot link directly with 'SwiftUlCore' because product being built is not an allowed client of it less Undefined symbol: _main × Linker command failed with exit code 1 (use -v to see invocation) Build failed 20/09/2024, I know this used to work. I must have changed something somewhere and it no longer does. I'd be grateful for any assistance.
7
0
721
Nov ’24
Xcode 16 won't connect to or compile to my iPhone since upgrade
I upgraded Xcode to 16, my Mac to Sequoia and my iphone and iPad to IOS 18. My developer devices are my iPhone, my iPad, my Husband's iPad and iPhone, all running IOS 18. Before upgrading Xcode to 16 I could compile onto all of these devices with no difficulty. But now, Xcode 16 recognises and compiles to all of my developer devices except my iPhone. My Mac recognises my iPhone when I plug it into a USB-C port, but Xcode does not. Xcode does not even try to pair with it or let me try to add it as a device. I have tried switching off dev mode on the phone, switching it back on again, plugging and replugging, rebooting Xcode. But Xcode will not recognise my iPhone, which is a 13 mini. Any idea what to do? I plugged my iPhone into a usb port using a vanilla Apple lightning cable and typed this into Terminal: xcrun devicectl list devices then lists the following. And for info, MCW's iPad and MCW's iPhone are in Shanghai at the moment, I am in the UK. Devices: Name Hostname Identifier State Model EasterdownDev1 00008020-00094D403C41402E.coredevice.local DE6CB0B3-399A-4B54-9ADD-E8758D8D4837 available (paired) iPad mini (5th generation) (iPad11,1) MCW's iPad 00008030-001E18E90AF0C02E.coredevice.local 3AE52B50-D69F-4827-82DA-E6968B0D5A5F unavailable iPad (9th generation) (iPad12,1) MCW's iPhone 00008101-001868D20222001E.coredevice.local 13AABF38-441B-4C4D-9FE8-440D3D9472CC unavailable iPhone 12 mini (iPhone13,1)
4
0
6.2k
Nov ’24
ios 18,xcode 16,RadStudio 11.3
Hello; I am using Rad Studio 11.3 software development language. When distributing the application, it works fine with iOS 16.7 iPhone X. I am getting "DeveloperDiskImage.dmg" error on iPhone 14 Pro iOS 18.1 device. The application crashes on the opening screen. At the same time, my HospiTools application in Appstore is distributed and installed with iPhone X 16.7. When we download the application from Appstore, it works fine with iOS 18.1. Thank you.
0
0
319
Nov ’24
How I successfully enrolled for the Apple Developer Program!
Hey guys! I believe I've found the solution to successfully enrol for the Apple Developer Program. This is for all of us who have tried enrolling and waiting in vain for the confirmation email from Apple after the acknowledgement email. First, you should know that the whole time I was attempting to enrol I was using my iCloud account and I was trying to do so via my MacBook with the browser. I tried both Firefox and Safari just to be sure it wasn't a browser thing. Then a thought came to me... since I knew Apple also had an Apple Developer app on its store that according to its articles it claims can be used to enrol... I chose to go for it, and this time I opted to enrol with my iPhone for good measure... I downloaded the Apple Developer app... logged into my iCloud account and attempted to enrol. However, this still didn't work. The message said that I couldn't use that email to enrol... And so I signed out and opted to use my Gmail account and voila! I was able to enrol!! The payment went through successfully! I received the SMS notification from my bank and I also got the subscription confirmation from Apple. That's how I did it. I really hope this helps someone 🙏.
0
0
294
Nov ’24
Login to azure devops account from xcode
How do I sign in to Azure devops accounts from xcode preferences. The account for Azure doesn't show up. The code is already hosted on Azure Devops and I was working on an already made project and the repo is already in the azure devops account. The previous account was obselete and now I need to login to my own account to push the changes. Whenever I am trying to push and commit the changes I get an error: remote: You are not authorized to access this collection. (-20)
1
1
1.4k
Nov ’24
[Bug] std::variant in containers triggers UBSan error in Xcode 16.x
I've discovered a bug in Xcode 16.0/16.1 where using std::variant in containers across compilation units triggers UBSan errors. This is a regression as it works correctly in Xcode 15.4. Here's a minimal reproduction case: [base.h] #pragma once #include <string> #include <variant> #include <forward_list> class Item { public: std::variant<std::monostate, std::string> value; }; typedef std::forward_list<Item> ItemList; class Test { public: void addItem(const Item& item); ItemList items; }; [base.cpp] #include "base.h" void Test::addItem(const Item& item) { items.push_front(item); } [main.cpp] #include "base.h" int main() { Test t; Item item; t.addItem(item); return 0; } To reproduce: Compile with UBSan enabled (-fsanitize=undefined) Occurs on both arm64 and x86_64 Occurs in both Xcode 16.0 and 16.1 Works correctly in Xcode 15.4 I've filed a Feedback Assistant report: FB15710420 Workaround: The issue can be avoided by implementing the addItem method in the header file instead of a separate compilation unit. Has anyone else encountered this issue? Are there other workarounds besides moving the implementation to the header?
4
0
478
Nov ’24
Xcode 16.x Simulators sometimes draw the screen with the wrong aspect ratio and appear distorted
Simulators sometimes draw the screen with the wrong aspect ratio and appear distorted. I'm on macOS 14.7 and using Xcode 16.1, but Xcode 16 was also sometimes doing this. This is happening in both iPhone simulator and iPad simulators. Is anyone else seeing this? It's not just the Home Screen, it happens in apps too. I have a weird bug when testing on the iPad simulators and I can't tell if it is a bug in the simulator or in my app. All my iPads are broken, so I can't actually test on device right now.
0
0
668
Nov ’24
Elementos no responden a un toque xcode
Desarrolle una app en xcode 16 para version minima de ios 16, todo funcionaba bien hasta la version 17 de ios, pero para ios 18 empezaron los problemas, los botones no responden a un toque, se deben sostener con un toque largo para que funcionen, ahora de un momento a otro ya no funciona para ninguna version de ios, los eventos tactiles deben ser prolongados para que se activen, en los botones o elementos que usan el tapgesture, he probado de todo versiones de xcode, versiones de swiftui, dispostivos reales, emuladores de todo y nada funciona, algun consejo o solucion gracias
0
0
294
Nov ’24