Search results for

“xcode github”

96,036 results found

Post

Replies

Boosts

Views

Activity

Reply to Live Activity creates successfully but never displays on lock screen or Dynamic Island ( iOS 26.4.1, Xcode 26.4)
Thanks for the post, this is extremely interesting to me. Can you post as much code as possible to see how you use the LiveActivitiy and is configured in the main entry? So the system successfully registers the activity from the main app, but when it asks to render it, the Widget Extension fails to provide a matching ActivityConfiguration? And your Xcode previews work, the UI code is valid, but it is not being successfully exposed to the system at runtime? Even if your Live Activity code is perfectly written and included in the target, the system will not know it exists unless it is explicitly instantiated in your extension's main entry point. Can you provide the code for that for me to review? If you have standard home screen widgets alongside your Live Activity, you must include both in the bundle. If the LiveActivity is missing from this bundle, the OS will create the activity in the background, but the extension will silently fail to render it, resulting in the error you are seeing I believe. Loo
3w
libtool: warning: 'Foo.o' has no symbols on Xcode 26.4
I've recently installed Xcode 26.4, and it seems like all of our libraries now give multiple linker error when building of the format libtool: warning: 'Foo.o' has no symbols Most of these errors come from extensions over objc types written in objc. (for instance we have some extensions over NSArray in the file NSArray+NSSet.mm) Is that a new feature of some stricter libtool invocation? or a bug? should I do anything about it?
3
0
147
3w
Reply to Provisioning profiles marked "Ineligible" for Contactless Pass Provisioning even though entitlement is present in profile
[quote='884233022, DTS Engineer, /thread/821961?answerId=884233022#884233022'] I’m talking with the right folks about this [/quote] I now have specific advice for folks in this situation: Please re-apply for the Contactless Pass Provisioning capability. The approval folks will then assign you the Contactless Pass Provisioning (deprecated) capability, which you can use right now. Once this Xcode issue is resolved (FB22439399), they will assign you the newer Contactless Pass Provisioning (SharableCredential) to use going forward. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
3w
Live Activity creates successfully but never displays on lock screen or Dynamic Island ( iOS 26.4.1, Xcode 26.4)
Environment: Xcode 26.4 (17E192) iOS 26.4.1 iPhone 15 Pro Project uses PBXFileSystemSynchronizedRootGroup (Xcode 26 format) Setup: Widget Extension target named ModusWidgetExtension Bundle ID: com.calvin.Modus.ModusWidget NSSupportsLiveActivities = YES in both main app and widget extension Info.plist Live Activities enabled in Settings → Modus Live Activities enabled in Settings → Face ID & Passcode → Allow Access When Locked Background App Refresh enabled Push Notifications capability on both targets ActivityAttributes struct added to both targets via file target membership Behaviour: ActivityAuthorizationInfo().areActivitiesEnabled returns true Activity.request() succeeds and returns a valid activity ID No error is thrown Nothing appears on lock screen or Dynamic Island in foreground or background Widget preview in Xcode renders correctly for all presentations (compact, minimal, expanded, lock screen) Console output from liveactivitiesd filtered logs: Foreground process is per
1
0
146
3w
actionGroupCell Y coordinates are corrupted. The overlay for 'Save to Files' doesn't expose no valid id's for testability.
I am using Maestro framework for testing iOS. For our tests we need to save pdf's to files. When opening the 'QLOverlayDefaultActionButtonAccessibilityIdentifier' the buttons on the overlay are way off, the coordinates got corrupted. When opening the files app, the next screen has no coordinates for testing. I checked with xcode inspector and the same issue persists.
1
0
453
3w
LLDB RPC server crashes when running top-level async code in Playground files
When running top-level async code in Swift Playgrounds, the LLDB RPC server crashes. For example, when running the following code from Concurrency section of The Swift Programming Language book: func fetchUserID(from server: String) async -> Int { if server == primary { return 97 } return 501 } let userIDs = await withTaskGroup(of: Int.self) { group in for server in [primary, secondary, development] { group.addTask { return await fetchUserID(from: server) } } var results: [Int] = [] for await result in group { results.append(result) } return results } print(userIDs) Xcode reports that the LLDB RPC server has crashed. The Swift Playground app reports “There was a problem running this playground.” However, in the case of the Swift Playground app, results are populated as expected. For example, the console shows “[97, 501, 501]”. Xcode does not print any results in the console. Tested with Xcode 26.4 (17E192) and Swift Playground Version 4.7 (2088). Wrapping the as
1
0
246
3w
Reply to Xcode 26.4: IBOutlets/IBActions gutter circles missing — cannot connect storyboard to code (works in 26.3)
Ya the connection bubbles are gone in source files it seems. I wouldn't be terribly surprised if this was on purpose as a optimization / way to clean out source from Xcode to make room for ...er never mind. You can still connect outlets/actions by just writing the property in your interface: @property (nonatomic, weak) IBOutlet NSTextField *label; -(IBAction)methodName:(id)sender And then making the connection in Interface Builder from the Connections Inspector. I use to use the Assistant editor and make connections the way you describe all the time back in the day when I was learning UIKit but I do find it faster to just type the property with IBOutlet and then connecting it in the Connections Inspector in IB. A shame not to see those nice little connection bubbles anymore in source files. I don't care what anyone says about live previews or whatever...IB was the thing. It's a shame Apple doesn't make improvements to it anymore but I still find it useful.
3w
Reply to Different app behavior when running on device from Xcode
@briggr1 Thanks for the post, it's not a bug that Xcode does not allow Timer to run in the background. I would recommend to read my answer again about how the background process works but I may have failed to explain it well, I have been known to make that mistake, let me try it again. When you launch an app via Xcode (Build and Run), the Xcode debugger attaches to your app's process. To prevent the debugger from randomly disconnecting, iOS disables standard background suspension rules. Your app is allowed to run continuously in the background, consuming as much CPU and battery as it wants, so you can debug it. Now this is not the way on released apps. I think previously I have recommended to other users to move the process to as server to avoid using the device as to process the work. Also I think have previously recommended to go over this great documentation about how to use background processing: https://developer.apple.com/documentation/uikit/preparing-your-ui-to-run-in-the-bac
Topic: Community SubTopic: Apple Developers Tags:
3w
Flutter iOS Project: WidgetKit Extension Not Embedding / Build Cycle Error
Hi, I need your opinion about an issue we faced while trying to implement an iOS widget in our Flutter app. Here is what we did and the problems we encountered: We created a Widget Extension (SwiftUI + WidgetKit) inside the existing Flutter iOS project. The widget files were generated correctly (Widget.swift, WidgetBundle.swift, Info.plist, etc.). However, during the integration, we faced multiple issues: Build Cycle Error We repeatedly got: “Cycle inside Runner; building could produce unreliable results” This was related to embedding the widget extension into the Runner target. Embed Problems Sometimes Xcode did not automatically create the “Embed App Extensions” phase. When we added it manually → build cycle errors appeared. When we removed it → the widget was not embedded at all (no PlugIns folder in Runner.app). Duplicate / Conflicting Embed The extension appeared both in: “Embed Foundation Extensions” “Frameworks, Libraries, and Embedded Content” Removing one often broke the build or removed the
3
0
179
3w
Reply to Enterprise distribution profile not working for enterprise app
Thanks for your post, can you provide a link and description of this JAMP distribution? Is that a 3rd party app? Is that a MDM installation? The error usually means iOS has rejected the app because of a code-signing mismatch? And a mismatch between the certificate used to sign the existing IPA and the certificate associated with the new provisioning profile. Looking forward to get a better understanding of your distribution method. I would also recommend you to use Apple distribution methods. Have you tried the unlisted method to distribute apps? This allows you to publish an app on the App Store that is completely hidden from public search, categories, and charts. https://developer.apple.com/support/unlisted-app-distribution/ Or the Enterprise distribution? It allows you to generate Enterprise Certificates and Provisioning Profiles to sign an IPA locally and distribute it. You build and sign the app in Xcode using an Enterprise Distribution Certificate. Pushed via MDM (like JAMF, not JAMP) Hope this
Topic: Business & Education SubTopic: General Tags:
3w
Reply to Provisioning profiles marked "Ineligible" for Contactless Pass Provisioning even though entitlement is present in profile
Hi @DTS Engineer - we have re-applied for the capability however upon submitting the form we got a Server 500 error. Could you advise what to do in this situation? Nothing seems to have changed in XCode either. Thanks
Replies
Boosts
Views
Activity
3w
Reply to Live Activity creates successfully but never displays on lock screen or Dynamic Island ( iOS 26.4.1, Xcode 26.4)
Thanks for the post, this is extremely interesting to me. Can you post as much code as possible to see how you use the LiveActivitiy and is configured in the main entry? So the system successfully registers the activity from the main app, but when it asks to render it, the Widget Extension fails to provide a matching ActivityConfiguration? And your Xcode previews work, the UI code is valid, but it is not being successfully exposed to the system at runtime? Even if your Live Activity code is perfectly written and included in the target, the system will not know it exists unless it is explicitly instantiated in your extension's main entry point. Can you provide the code for that for me to review? If you have standard home screen widgets alongside your Live Activity, you must include both in the bundle. If the LiveActivity is missing from this bundle, the OS will create the activity in the background, but the extension will silently fail to render it, resulting in the error you are seeing I believe. Loo
Replies
Boosts
Views
Activity
3w
libtool: warning: 'Foo.o' has no symbols on Xcode 26.4
I've recently installed Xcode 26.4, and it seems like all of our libraries now give multiple linker error when building of the format libtool: warning: 'Foo.o' has no symbols Most of these errors come from extensions over objc types written in objc. (for instance we have some extensions over NSArray in the file NSArray+NSSet.mm) Is that a new feature of some stricter libtool invocation? or a bug? should I do anything about it?
Replies
3
Boosts
0
Views
147
Activity
3w
Reply to Provisioning profiles marked "Ineligible" for Contactless Pass Provisioning even though entitlement is present in profile
[quote='884233022, DTS Engineer, /thread/821961?answerId=884233022#884233022'] I’m talking with the right folks about this [/quote] I now have specific advice for folks in this situation: Please re-apply for the Contactless Pass Provisioning capability. The approval folks will then assign you the Contactless Pass Provisioning (deprecated) capability, which you can use right now. Once this Xcode issue is resolved (FB22439399), they will assign you the newer Contactless Pass Provisioning (SharableCredential) to use going forward. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
3w
Live Activity creates successfully but never displays on lock screen or Dynamic Island ( iOS 26.4.1, Xcode 26.4)
Environment: Xcode 26.4 (17E192) iOS 26.4.1 iPhone 15 Pro Project uses PBXFileSystemSynchronizedRootGroup (Xcode 26 format) Setup: Widget Extension target named ModusWidgetExtension Bundle ID: com.calvin.Modus.ModusWidget NSSupportsLiveActivities = YES in both main app and widget extension Info.plist Live Activities enabled in Settings → Modus Live Activities enabled in Settings → Face ID & Passcode → Allow Access When Locked Background App Refresh enabled Push Notifications capability on both targets ActivityAttributes struct added to both targets via file target membership Behaviour: ActivityAuthorizationInfo().areActivitiesEnabled returns true Activity.request() succeeds and returns a valid activity ID No error is thrown Nothing appears on lock screen or Dynamic Island in foreground or background Widget preview in Xcode renders correctly for all presentations (compact, minimal, expanded, lock screen) Console output from liveactivitiesd filtered logs: Foreground process is per
Replies
1
Boosts
0
Views
146
Activity
3w
actionGroupCell Y coordinates are corrupted. The overlay for 'Save to Files' doesn't expose no valid id's for testability.
I am using Maestro framework for testing iOS. For our tests we need to save pdf's to files. When opening the 'QLOverlayDefaultActionButtonAccessibilityIdentifier' the buttons on the overlay are way off, the coordinates got corrupted. When opening the files app, the next screen has no coordinates for testing. I checked with xcode inspector and the same issue persists.
Replies
1
Boosts
0
Views
453
Activity
3w
I'm getting a device error when building Xcode.
Is anyone else experiencing the same problem as me? I've tried everything but nothing works. Can someone please help me?
Replies
1
Boosts
0
Views
120
Activity
3w
LLDB RPC server crashes when running top-level async code in Playground files
When running top-level async code in Swift Playgrounds, the LLDB RPC server crashes. For example, when running the following code from Concurrency section of The Swift Programming Language book: func fetchUserID(from server: String) async -> Int { if server == primary { return 97 } return 501 } let userIDs = await withTaskGroup(of: Int.self) { group in for server in [primary, secondary, development] { group.addTask { return await fetchUserID(from: server) } } var results: [Int] = [] for await result in group { results.append(result) } return results } print(userIDs) Xcode reports that the LLDB RPC server has crashed. The Swift Playground app reports “There was a problem running this playground.” However, in the case of the Swift Playground app, results are populated as expected. For example, the console shows “[97, 501, 501]”. Xcode does not print any results in the console. Tested with Xcode 26.4 (17E192) and Swift Playground Version 4.7 (2088). Wrapping the as
Replies
1
Boosts
0
Views
246
Activity
3w
Reply to Xcode 26.4: IBOutlets/IBActions gutter circles missing — cannot connect storyboard to code (works in 26.3)
Ya the connection bubbles are gone in source files it seems. I wouldn't be terribly surprised if this was on purpose as a optimization / way to clean out source from Xcode to make room for ...er never mind. You can still connect outlets/actions by just writing the property in your interface: @property (nonatomic, weak) IBOutlet NSTextField *label; -(IBAction)methodName:(id)sender And then making the connection in Interface Builder from the Connections Inspector. I use to use the Assistant editor and make connections the way you describe all the time back in the day when I was learning UIKit but I do find it faster to just type the property with IBOutlet and then connecting it in the Connections Inspector in IB. A shame not to see those nice little connection bubbles anymore in source files. I don't care what anyone says about live previews or whatever...IB was the thing. It's a shame Apple doesn't make improvements to it anymore but I still find it useful.
Replies
Boosts
Views
Activity
3w
Reply to Different app behavior when running on device from Xcode
@briggr1 Thanks for the post, it's not a bug that Xcode does not allow Timer to run in the background. I would recommend to read my answer again about how the background process works but I may have failed to explain it well, I have been known to make that mistake, let me try it again. When you launch an app via Xcode (Build and Run), the Xcode debugger attaches to your app's process. To prevent the debugger from randomly disconnecting, iOS disables standard background suspension rules. Your app is allowed to run continuously in the background, consuming as much CPU and battery as it wants, so you can debug it. Now this is not the way on released apps. I think previously I have recommended to other users to move the process to as server to avoid using the device as to process the work. Also I think have previously recommended to go over this great documentation about how to use background processing: https://developer.apple.com/documentation/uikit/preparing-your-ui-to-run-in-the-bac
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
3w
Reply to Xcode 26 with simulator 16 ?
@szymczyk Thank so much for the great answer to download the selected simulators. https://developer.apple.com/documentation/xcode/downloading-and-installing-additional-xcode-components Albert
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
3w
Flutter iOS Project: WidgetKit Extension Not Embedding / Build Cycle Error
Hi, I need your opinion about an issue we faced while trying to implement an iOS widget in our Flutter app. Here is what we did and the problems we encountered: We created a Widget Extension (SwiftUI + WidgetKit) inside the existing Flutter iOS project. The widget files were generated correctly (Widget.swift, WidgetBundle.swift, Info.plist, etc.). However, during the integration, we faced multiple issues: Build Cycle Error We repeatedly got: “Cycle inside Runner; building could produce unreliable results” This was related to embedding the widget extension into the Runner target. Embed Problems Sometimes Xcode did not automatically create the “Embed App Extensions” phase. When we added it manually → build cycle errors appeared. When we removed it → the widget was not embedded at all (no PlugIns folder in Runner.app). Duplicate / Conflicting Embed The extension appeared both in: “Embed Foundation Extensions” “Frameworks, Libraries, and Embedded Content” Removing one often broke the build or removed the
Replies
3
Boosts
0
Views
179
Activity
3w
Reply to Xcode 26 with simulator 16 ?
Choose Xcode > Settings to open the settings window. Select Components from the left side of the settings window. Click the Add Platforms button at the bottom of the settings window to open a sheet to select simulators to download.
Replies
Boosts
Views
Activity
3w
Reply to Different app behavior when running on device from Xcode
bump - I appreciate any suggestions on how to proceed - should I file a defect against Xcode?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
3w
Reply to Enterprise distribution profile not working for enterprise app
Thanks for your post, can you provide a link and description of this JAMP distribution? Is that a 3rd party app? Is that a MDM installation? The error usually means iOS has rejected the app because of a code-signing mismatch? And a mismatch between the certificate used to sign the existing IPA and the certificate associated with the new provisioning profile. Looking forward to get a better understanding of your distribution method. I would also recommend you to use Apple distribution methods. Have you tried the unlisted method to distribute apps? This allows you to publish an app on the App Store that is completely hidden from public search, categories, and charts. https://developer.apple.com/support/unlisted-app-distribution/ Or the Enterprise distribution? It allows you to generate Enterprise Certificates and Provisioning Profiles to sign an IPA locally and distribute it. You build and sign the app in Xcode using an Enterprise Distribution Certificate. Pushed via MDM (like JAMF, not JAMP) Hope this
Topic: Business & Education SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w