Search results for

xcode github

91,935 results found

Post

Replies

Boosts

Views

Activity

Xcode Cloud timeouts
Hey, We're crunching to get our products ready for the announcements next week but are being slowed down by Xcode Cloud. Builds are failing and are extremely slow. We're using the latest Xcode beta and latest macOS release so we can upload our builds continuously to TestFlight. We're seeing builds taking up to almost an hour, even though takes around 10-15 minutes when it doesn't fail. The errors we're seeing seem to be timeout, for example: Showing All Errors Only The step invocation hit a user timeout. The xcodebuild build invocation timed out. No activity has been detected on stdout, stderr or the result bundle in 30 minutes. Here are links to some builds which have been restarted multiple times but keep failing for reasons out of our control. Please advice on how to get unblocked. https://appstoreconnect.apple.com/teams/69a6de80-3540-47e3-e053-5b8c7c11a4d1/apps/1102236212/ci/groups/8da12ae3-b454-4810-abe8-829f1af56a54 https://appstoreconnect.apple.com/teams/69a6de80-3540-47e3-e053-5b8c7c
1
0
156
6d
Reply to Best practices for post-build codesigning
I’d like to clarify your issue here. You wrote: [quote='799215021, rvalance, /thread/799215, /profile/rvalance'] The issue is my Developer ID Application certificate is not accessible to the build host. [/quote] I’m presuming you mean “Developer ID Application signing identity” here, because you can’t sign anything with just a certificate. For more about that common terminological mixup, see TN3161 Inside Code Signing: Certificates. However, that’s not my actual question. Rather, I’d like to focus on the “is not accessible to the build host” bit. You put this thread in the Xcode Cloud subtopic, which suggests that by “build host” you mean the Xcode Cloud builder. Is that right? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
6d
List of all XCode project parameters or build settings. Where to find?
Hello all! Trying to find list of all XCode project parameters or build settings within description. Is there any documentation? Need something that will help me to understand list of project properties when running command in project folder: $ xcodebuild -showBuildSettings Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -showBuildSettings User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES Build settings for action build and target test: ACTION = build AD_HOC_CODE_SIGNING_ALLOWED = NO AGGREGATE_TRACKED_DOMAINS = YES ALLOW_BUILD_REQUEST_OVERRIDES = NO ALLOW_TARGET_PLATFORM_SPECIALIZATION = NO ALTERNATE_GROUP = staff ALTERNATE_MODE = u+w,go-w,a+rX ALTERNATE_OWNER = alexandr ALTERNATIVE_DISTRIBUTION_WEB = NO ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO ALWAYS_SEARCH_USER_PATHS = NO ALWAYS_USE_SEPARATE_HEADERMAPS = NO and may other parameters Need to know meaning of this kind of parameters.
1
0
108
6d
Drag-and-Drop from macOS Safari to NSItemProvider fails due to URL not being a file:// URL
(Using macOS 26 Beta 9 and Xcode 26 Beta 7) I am trying to support basic onDrop from a source app to my app. I am trying to get the closest source representation of a drag-and-drop, e.g. a JPEG file being dropped into my app shouldn't be converted, but stored as a JPEG in Data. Otherwise, everything gets converted into TIFFs and modern iPhone photos get huge. I also try to be a good app, and provide asynchronous support. Alas, I've been running around for days now, where I can now support Drag-and-Drop from the Finder, from uncached iCloud files with Progress bar, but so far, drag and dropping from Safari eludes me. My code is as follows for the onDrop support: Image(nsImage: data.image).onDrop(of: Self.supportedDropItemUTIs, delegate: self) The UTIs are as follows: public static let supportedDropItemUTIs: [UTType] = [ .image, .heif, .rawImage, .png, .tiff, .svg, .heic, .jpegxl, .bmp, .gif, .jpeg, .webP, ] Finally, the code is as follows: public func performDrop(info: DropInfo) -> Bool { let itemP
5
0
138
6d
Reply to Seeking clarification on macOS URLs with security scope
You do have to add com.apple.security.files.bookmarks.document-scope to your entitlement file yourself, Already done. The object you're using as the bookmark anchor needs to be a file, not a directory, and must be a file you already have full read/write access to. Already done. The object you're targeting needs to be a file as well. That's an important plot point. My current app looks at folders exclusively. So that's all I tested. Document scoped bookmarks are designed to be used to track groups of user files (for example, like an Xcode project), so a small number of directories have been blocked. It sounds like a large number of directories have been blocked - i.e. all of them. Or are these blocked target file prefixes rather than directories? Ah well, such is life. I'm working an an iOS/macOS GUI version of a command-line GIS tool. I had wanted to allow the user to specify a directory to be used as a library. Power users could then use my sandboxed and Metal-powered version of the command line app
Topic: App & System Services SubTopic: Core OS Tags:
6d
GKLeaderboard.LoadLeaderboards() return empty when testing on Xcode with local gamekit file (Unity)
var allLeaderboards = await GKLeaderboard.LoadLeaderboards(); Log(allLeaderboards.Count); // returns 0 What am I missing?? What doesn’t work: await GKGameActivityDefinition.LoadGameActivityDefinitions() → count = 0 await GKLeaderboard.LoadLeaderboards() (no args) → 0 leaderboards await GKLeaderboard.LoadLeaderboards(MY ID) → returns 0 GkGameActivity.SetScoreOnLeaderboard(Leaderboard, score, context); returns an error since my Leaderboard is null. Activities and leaderboards are defined in GameCenterResources.gamekit in Xcode. Achievements that I add locally in the .gamekit file do not appear at runtime either; only ASC live ones show. ** What works:** xcode- debug- Gamekit- Manage Game progress- I can submit new scores with the plus button and see the notification on my device. await GKLocalPlayer.Authenticate() succeeds. await GKAchievement.LoadAchievements() returns the list of achievements configured in App Store Connect- but not any new local achievements created in Xcode in Gam
2
0
663
6d
Reply to Mac Catalyst: Presenting view controller <UIAlertController:> from detached view controller <MyViewController:> is not supported, and may result in incorrect safe area insets and a corrupt root presentation on Sonoma
Encountering this stern warning in Xcode simulator and occasional app ending errors which I believe are due to this problem. App ran fine on earlier (pre iOS 17) versions of iOS for over 10 years. Any leads on where this issue is addressed in Apple documentation?
Topic: UI Frameworks SubTopic: UIKit Tags:
6d
Reply to Seeking clarification on macOS URLs with security scope
Yes. Because of that issue, my original design had a fairly convoluted idea for getting those bookmarks to the helper. But in this limited use case, it turned out that none of that (including bookmarks themselves) was necessary. But since you mentioned document-scoped bookmarks, I should reiterate that I tried those too. They're completely non-functional for any URL. I'm not sure what you were testing, but they absolutely do work. The main things to be aware of here are: You do have to add com.apple.security.files.bookmarks.document-scope to your entitlement file yourself, instead of adding it as a capability (r.159787652). The object you're using as the bookmark anchor needs to be a file, not a directory, and must be a file you already have full read/write access to. The object you're targeting needs to be a file as well. Document scoped bookmarks are designed to be used to track groups of user files (for example, like an Xcode project), so a small number of directories have been blocked. For exampl
Topic: App & System Services SubTopic: Core OS Tags:
6d
Reply to Issue with App Crashing After Download from App Store
Thank you for the post and detailed description of the issue. I have checked both versions of the app on the App Store and TestFlight. Both versions have the same version 4.0.1 and the same build number 340. Therefore, both versions appear to be the same app. However, the crash files indicate that there is a part in your code that calls abort. Unfortunately, since it is your code and symbols, I cannot pinpoint the exact location of the crash at this time. It appears that frame 8 is the culprit. I recommend downloading the app from TestFlight and using your Xcode with your symbols to identify the crash or abort. I am happy to assist you in loading your app symbols to diagnose the issue. 8 dbMobil_DevExpress 0x106d60b88 Please let me know how I can help. However, I believe that if you use Xcode, connect the device, and debug the app, you will be able to resolve the issue quickly. I hope this information is helpful to you. Albert Pascual
  Worldwide Developer Relations.
6d
Reply to UIMenuBuilder - some menus refuse customization
Thanks -- your code worked for me, so I was able to work backwards from there to find the problem. My View menu contains an item that opens my app's Settings window. But the default Application menu opens the iOS Settings app, which isn't very useful to users, so I had also overridden that menu to open my app's Settings window. It turns out a menu won't display if it contains an action that's already in another menu. And now I see a warning about this in the Xcode console, which I hadn't noticed before. 🙄 It was still working in Mac Catalyst because the default Application menu there is more useful and I wasn't overriding it, so I wasn't creating a duplicate. I simply made a second function that opens my app's Settings window, and used one in the Application menu and the other in the View menu, and now it's working.
Topic: UI Frameworks SubTopic: UIKit
6d
Reply to SwiftUI TextField input is super laggy for SwiftData object
And isn't the whole point of the bindings, that all views get refreshed automatically? Yes, it is. Changing a binding triggers an update on the views that render with the binding. How is updating that value changing the result sets of my queries? Oh, I assumed that changing the transaction would impact the result set of your queries in some way. I can be wrong though, especially with another look into your predicates. You can check if your query does a fetch every time your SwiftUI view updates by adding -com.apple.CoreData.SQLDebug 1 to your launch argument list, as described here, and looking into the Xcode console log. If you can provide a runnable minimal project that demonstrates the issue, I'd interested in taking a look as well. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w
Reply to Universal Link
Sorry for omitting these details in my original post. PLATFORM AND VERSION iOS Development environment: Xcode Version 16.4 (16F6), macOS 15.5 (24F74) Run-time configuration: iOS 18.5 CURRENT BEHAVIOR When I tap Add Friends from my iOS app it generates a unique token and to be shares via Universal Link and displays the share sheet for me to select how I want to share this. https://www.strike-force.app/invite?token=781E1E89-BEAC-4C5C-B3F1-2EC916566D2C This is in dev when I build from XCode. If I perform this action from TestFlight, the button is unresponsive. I assume it's because of the errors below. Cannot issue sandbox extension for URL:https://www.strike-force.app/invite?token=781E1E89-BEAC-4C5C-B3F1-2EC916566D2C App is being debugged, do not track this hang Hang detected: 0.37s (debugger attached, not reporting) Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 Client not entitled UserInfo={RBSEntitlement=com.apple.runningboard.proc
Topic: Code Signing SubTopic: Entitlements Tags:
1w
Reply to Xcode using too much memory when opening AI Panel
problem fixed, I duplicated the directory the project was in and then added to the dir name. AI Helper must tag information with the directory so as to not confuse projects. Back and ready to break other things. Still can't open the original project and then open the AI tab but maybe someone from Xcode will let me know where their data is to clean up. Warp tried a number of things even watching file access to no avail. I did not try opening console and looking there but other ideas would be interesting to try.
1w