Search results for

“xcode github”

95,402 results found

Post

Replies

Boosts

Views

Activity

On iOS 26, HLS alternate audio track selection behaves inconsistently
Summary On iOS 26, HLS alternate audio track selection behaves inconsistently on both VOD and live streams: the French track falls back to the DEFAULT=YES (English) track after manual selection, and in some cases switching to a non-default track appears to work but it is then impossible to switch back to English. Environment iOS version: 26 Players affected: native Safari on iOS 26 and THEOplayer (issue also reproducible on THEOplayer's own demo page) Stream type: HLS/CMAF with demuxed alternate audio renditions (CMFC container) Affected stream types: both VOD and live streaming Issue NOT present on iOS 17/18 Manifest #EXTM3U #EXT-X-VERSION:4 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=8987973,AVERAGE-BANDWIDTH=8987973,VIDEO-RANGE=SDR,CODECS=avc1.640028,RESOLUTION=1920x1080,FRAME-RATE=29.970,AUDIO=program_audio video_1080p.m3u8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=program_audio,LANGUAGE=en,ASSOC-LANGUAGE=en,NAME=English,AUTOSELECT=YES,DEFAULT=YES,CHANNELS=2,URI=audi
1
0
95
1w
how to inhibit -fprofile-instr-generate passed to linker
I'm struggling to build a driver for iPadOS in a particular project configuration. If I put the driver code and dext target into the same Xcode project which contains the iPad app, all is well. This is the way the Xcode driver template does it. However, I'd like to build and debug the dext on macOS, while eventually deploying on iPadOS. So I put the dext into a different project, which has a macOS target, a minimal iPadOS target and a DriverKit target. I made a workspace which contains both projects. I dragged the macOS project into the iPadOS project so that I can refer to the products of the macOS project (specifically, its driver target) as a dependency of the iPadOS target. Note that the main iPad app target depends on the driver target. So the workspace organization looks like this: Workspace iPad project main iPad app target (depends on driver) test project reference test project test macOS/iPad app target DriverKit dext target When I build the iPadOS target, it builds the dependent dr
3
0
1.2k
1w
Reply to how to inhibit -fprofile-instr-generate passed to linker
It is caused by code coverage being injected by test plan that is autogenerated in scheme. Disabling code coverage for driver target and deleting test scheme will fix the problem. However, you might want to have testing with your project. But it looks like any test plan inside same project will inject profile-instr-generate. Not sure how to have testing for main app, and no code coverage flag injected for driver. Seems like bug in Xcode.
1w
Reply to How to monitor heart rate in background without affecting Activity Rings?
Hi @Ziqiao Chen and everyone, Thank you @simonfromhelix for reviving this thread. @Ziqiao Chen — I tested the frontmost app state approach as you suggested. Sharing the full results here in case they're useful. == Test Setup == Disabled HKWorkoutSession entirely (no workout session started) Used only HKAnchoredObjectQuery for heart rate sampling Set Return to Clock → PowerNap (per-app Custom) → After 1 Hour Ran the app, then lowered my wrist to simulate a real nap scenario == Results == With Xcode debugger attached: HR sampling worked great (~5 second intervals), continuous and stable This initially gave me hope! Without Xcode debugger (real-world scenario): The app was terminated by the system within ~10 minutes, even with Return to Clock set to 1 hour for this specific app After lowering my wrist, the screen turned off and the app was suspended/killed shortly after Zero heart rate samples were collected The Xcode debugger appears to elevate the app's priority, masking the real beh
1w
Reply to Waiting for review?
Hello, thanks you for your response, and noted. Yes, I did explain. My frustration is that the App is designed specifically for iPhone devices, and I thought I had selected the correct settings in Xcode, by removing all options other than iPhone. However, the reviewer tested the app on iPad, in compatibility mode, and as such, there was a display issue. I have now made the relevant telemetry adjustment to the info.plist file, in the hope that it can't be confused and used on an iPad in compatibility mode. My frustration has been that the expectations from what I have read suggest 24-48 hour review time, and my app is so simple, (1 page, 4 actions), no connectivity or database etc required. Thank you for your response though, it's all a bit new to me. Fingers crossed!
1w
Reply to .storeButton(.visible, for: .policies) shows “Terms of Service Unavailable” — how does it work?
Same query here. I've tried everything I can think of to get the terms link to render content based on App Store Connect configuration. I can only get it working in local development in Xcode builds by passing a dedicated url to the supposedly custom terms link field, which, according to both common sense and official developer documentation, isn't necessary. I've set the policy link there, which works, but the terms link never renders the proper content, despite having opted into the standard EULA.
1w
Reply to Can I move Xcode files to an external SSD safely?
The only parts of Xcode that can't be moved to external storage are the parts that take up the bulk of your storage. You haven't said anything about your storage (internal or external) or your development needs, so I can't provide any more detailed information. In some cases, you can reduce Xcode's storage. You may be able to remove some or all of the simulator runtimes. Generally speaking, this is one of those cases where you have to weight the cost of your time and trouble against the cost of a computer with more internal storage.
1w
Reply to Account security and passkeys
Hi @umiushi, These questions apply to all Apple Accounts and are not developer-specific, so I suggest for you to post your questions on the Apple Support Community: Apple Support Community https://discussions.apple.com/welcome The Apple Developer Forums are intended to help the developer community with code-level questions about Apple frameworks and services. Thanks for understanding. Cheers, Paris X Pinkney |  WWDR | DTS Engineer
1w
White border appears during app transition despite full-opacity 1024x1024 icon (SVG and PNG tested)
Hi everyone 👋 I’m a new iOS developer working on my first app and I’ve run into a frustrating visual bug involving my app icon during the launch/close transition. Issue: When I use Icon Composer (the new tool introduced for iOS 26) to generate my app icon, I consistently see a thin white border or “fringe” around the icon only during the transition animation (when the app opens or closes). It disappears once the animation ends. What I tested and confirmed: • I exported the exact same design directly from Adobe Illustrator as a 1024×1024 PNG, fully opaque, RGB color mode, background color filling the entire canvas (no transparency, no borders, no rounded corners). • When I place that exported PNG directly into the AppIcon asset catalog in Xcode, the icon renders perfectly — no white fringe appears, just a slightly darker shade of blue during transitions (expected and acceptable). • But when I generate the icon using Icon Composer, the white edge always appears, even if I disable effects, use full cov
2
0
1.5k
1w
Reply to Provisioning profile missing entitlement: com.apple.developer.icloud
Thank you for your replies. Unfortunately, this didn't help either. I developed an app with SwiftDate in a GroupContainer. The data model is stable, and all relationships are optional. The next step should be to switch to an iCloudContainer. Both computers are on the same network and have internet access and access to the developer account. I disabled and re-enabled automatic signing. No change. A comparison of the project.pbxproj files showed two new lines in the non-functional project: 913a913 CODE_SIGN_IDENTITY = Apple Development; 948a949 PROVISIONING_PROFILE_SPECIFIER = ; I manually deleted these two lines and restarted Xcode. There was no change in behavior; the same error occurred. I also manually downloaded the profile from the developer website and tried to sign it manually. But this deployment profile has the same error again: Entitlements: 8 included, 1 Missing What surprises me is that the working version on the MacBook lists 12 entitlements. The entitlements are identical on both systems
1w
TabView with .page style vibrates and reloads content during sheet detent drag
FeedBack Id: FB22031397 (Demo proj Attached to Feedback) Description: When a TabView using .page tabViewStyle is placed inside a sheet configured with multiple presentationDetents, dragging the sheet handle to resize between detents causes the TabView to re-render all its pages on every frame of the drag gesture. This results in visible content vibration, scroll position jumping, and tab content flashing during the drag. The issue is fully reproducible with the attached minimal demo project. Steps to Reproduce: Run the attached TabViewSheetVibrationDemo.swift on any iOS device or simulator Tap Open Sheet on the main screen Swipe left to any tab Scroll down inside the tab so content is not at the top Grab the sheet drag indicator at the top and slowly drag upward or downward to resize between medium and large detent Observe the tab content while dragging Expected Results: The TabView page content should remain completely stable during sheet resize. Scroll positions should be preserved and no re-rendering shoul
1
0
86
1w
On iOS 26, HLS alternate audio track selection behaves inconsistently
Summary On iOS 26, HLS alternate audio track selection behaves inconsistently on both VOD and live streams: the French track falls back to the DEFAULT=YES (English) track after manual selection, and in some cases switching to a non-default track appears to work but it is then impossible to switch back to English. Environment iOS version: 26 Players affected: native Safari on iOS 26 and THEOplayer (issue also reproducible on THEOplayer's own demo page) Stream type: HLS/CMAF with demuxed alternate audio renditions (CMFC container) Affected stream types: both VOD and live streaming Issue NOT present on iOS 17/18 Manifest #EXTM3U #EXT-X-VERSION:4 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=8987973,AVERAGE-BANDWIDTH=8987973,VIDEO-RANGE=SDR,CODECS=avc1.640028,RESOLUTION=1920x1080,FRAME-RATE=29.970,AUDIO=program_audio video_1080p.m3u8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=program_audio,LANGUAGE=en,ASSOC-LANGUAGE=en,NAME=English,AUTOSELECT=YES,DEFAULT=YES,CHANNELS=2,URI=audi
Replies
1
Boosts
0
Views
95
Activity
1w
how to inhibit -fprofile-instr-generate passed to linker
I'm struggling to build a driver for iPadOS in a particular project configuration. If I put the driver code and dext target into the same Xcode project which contains the iPad app, all is well. This is the way the Xcode driver template does it. However, I'd like to build and debug the dext on macOS, while eventually deploying on iPadOS. So I put the dext into a different project, which has a macOS target, a minimal iPadOS target and a DriverKit target. I made a workspace which contains both projects. I dragged the macOS project into the iPadOS project so that I can refer to the products of the macOS project (specifically, its driver target) as a dependency of the iPadOS target. Note that the main iPad app target depends on the driver target. So the workspace organization looks like this: Workspace iPad project main iPad app target (depends on driver) test project reference test project test macOS/iPad app target DriverKit dext target When I build the iPadOS target, it builds the dependent dr
Replies
3
Boosts
0
Views
1.2k
Activity
1w
Reply to how to inhibit -fprofile-instr-generate passed to linker
It is caused by code coverage being injected by test plan that is autogenerated in scheme. Disabling code coverage for driver target and deleting test scheme will fix the problem. However, you might want to have testing with your project. But it looks like any test plan inside same project will inject profile-instr-generate. Not sure how to have testing for main app, and no code coverage flag injected for driver. Seems like bug in Xcode.
Replies
Boosts
Views
Activity
1w
Reply to How to monitor heart rate in background without affecting Activity Rings?
Hi @Ziqiao Chen and everyone, Thank you @simonfromhelix for reviving this thread. @Ziqiao Chen — I tested the frontmost app state approach as you suggested. Sharing the full results here in case they're useful. == Test Setup == Disabled HKWorkoutSession entirely (no workout session started) Used only HKAnchoredObjectQuery for heart rate sampling Set Return to Clock → PowerNap (per-app Custom) → After 1 Hour Ran the app, then lowered my wrist to simulate a real nap scenario == Results == With Xcode debugger attached: HR sampling worked great (~5 second intervals), continuous and stable This initially gave me hope! Without Xcode debugger (real-world scenario): The app was terminated by the system within ~10 minutes, even with Return to Clock set to 1 hour for this specific app After lowering my wrist, the screen turned off and the app was suspended/killed shortly after Zero heart rate samples were collected The Xcode debugger appears to elevate the app's priority, masking the real beh
Replies
Boosts
Views
Activity
1w
Reply to Radio station APP iOS
Hello. I can help you update the stream link and publish a new version as long as you have the original Xcode project files.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Apple watch Xcode pairing & connection issues
same issue here, it was working perfectly than suddenly it stopped, tried to unpair and now there is no way to recover. I have also tried to initialize the apple watch... seems like it really doesn't want to work anymore iphone 15 pro max v 26.3.1 apple watch ultra 2 v 26.3 xcode v 26.3
Replies
Boosts
Views
Activity
1w
Reply to Waiting for review?
Hello, thanks you for your response, and noted. Yes, I did explain. My frustration is that the App is designed specifically for iPhone devices, and I thought I had selected the correct settings in Xcode, by removing all options other than iPhone. However, the reviewer tested the app on iPad, in compatibility mode, and as such, there was a display issue. I have now made the relevant telemetry adjustment to the info.plist file, in the hope that it can't be confused and used on an iPad in compatibility mode. My frustration has been that the expectations from what I have read suggest 24-48 hour review time, and my app is so simple, (1 page, 4 actions), no connectivity or database etc required. Thank you for your response though, it's all a bit new to me. Fingers crossed!
Replies
Boosts
Views
Activity
1w
Reply to .storeButton(.visible, for: .policies) shows “Terms of Service Unavailable” — how does it work?
Same query here. I've tried everything I can think of to get the terms link to render content based on App Store Connect configuration. I can only get it working in local development in Xcode builds by passing a dedicated url to the supposedly custom terms link field, which, according to both common sense and official developer documentation, isn't necessary. I've set the policy link there, which works, but the terms link never renders the proper content, despite having opted into the standard EULA.
Replies
Boosts
Views
Activity
1w
Reply to Can I move Xcode files to an external SSD safely?
The only parts of Xcode that can't be moved to external storage are the parts that take up the bulk of your storage. You haven't said anything about your storage (internal or external) or your development needs, so I can't provide any more detailed information. In some cases, you can reduce Xcode's storage. You may be able to remove some or all of the simulator runtimes. Generally speaking, this is one of those cases where you have to weight the cost of your time and trouble against the cost of a computer with more internal storage.
Replies
Boosts
Views
Activity
1w
Reply to Apple watch Xcode pairing & connection issues
same issue os: 26.3.1(25D2128) Xcode : 26.4 beta 3 (17E5179g) iPhone 15pro: 26.3.1 (23D8133) Apple Watch : 26.3.
Replies
Boosts
Views
Activity
1w
Reply to Account security and passkeys
Hi @umiushi, These questions apply to all Apple Accounts and are not developer-specific, so I suggest for you to post your questions on the Apple Support Community: Apple Support Community https://discussions.apple.com/welcome The Apple Developer Forums are intended to help the developer community with code-level questions about Apple frameworks and services. Thanks for understanding. Cheers, Paris X Pinkney |  WWDR | DTS Engineer
Replies
Boosts
Views
Activity
1w
White border appears during app transition despite full-opacity 1024x1024 icon (SVG and PNG tested)
Hi everyone 👋 I’m a new iOS developer working on my first app and I’ve run into a frustrating visual bug involving my app icon during the launch/close transition. Issue: When I use Icon Composer (the new tool introduced for iOS 26) to generate my app icon, I consistently see a thin white border or “fringe” around the icon only during the transition animation (when the app opens or closes). It disappears once the animation ends. What I tested and confirmed: • I exported the exact same design directly from Adobe Illustrator as a 1024×1024 PNG, fully opaque, RGB color mode, background color filling the entire canvas (no transparency, no borders, no rounded corners). • When I place that exported PNG directly into the AppIcon asset catalog in Xcode, the icon renders perfectly — no white fringe appears, just a slightly darker shade of blue during transitions (expected and acceptable). • But when I generate the icon using Icon Composer, the white edge always appears, even if I disable effects, use full cov
Replies
2
Boosts
0
Views
1.5k
Activity
1w
Reply to White border appears during app transition despite full-opacity 1024x1024 icon (SVG and PNG tested)
Replicated with Icon Composer 1.3 Beta 2, Xcode 26.2, iOS 26
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Provisioning profile missing entitlement: com.apple.developer.icloud
Thank you for your replies. Unfortunately, this didn't help either. I developed an app with SwiftDate in a GroupContainer. The data model is stable, and all relationships are optional. The next step should be to switch to an iCloudContainer. Both computers are on the same network and have internet access and access to the developer account. I disabled and re-enabled automatic signing. No change. A comparison of the project.pbxproj files showed two new lines in the non-functional project: 913a913 CODE_SIGN_IDENTITY = Apple Development; 948a949 PROVISIONING_PROFILE_SPECIFIER = ; I manually deleted these two lines and restarted Xcode. There was no change in behavior; the same error occurred. I also manually downloaded the profile from the developer website and tried to sign it manually. But this deployment profile has the same error again: Entitlements: 8 included, 1 Missing What surprises me is that the working version on the MacBook lists 12 entitlements. The entitlements are identical on both systems
Replies
Boosts
Views
Activity
1w
TabView with .page style vibrates and reloads content during sheet detent drag
FeedBack Id: FB22031397 (Demo proj Attached to Feedback) Description: When a TabView using .page tabViewStyle is placed inside a sheet configured with multiple presentationDetents, dragging the sheet handle to resize between detents causes the TabView to re-render all its pages on every frame of the drag gesture. This results in visible content vibration, scroll position jumping, and tab content flashing during the drag. The issue is fully reproducible with the attached minimal demo project. Steps to Reproduce: Run the attached TabViewSheetVibrationDemo.swift on any iOS device or simulator Tap Open Sheet on the main screen Swipe left to any tab Scroll down inside the tab so content is not at the top Grab the sheet drag indicator at the top and slowly drag upward or downward to resize between medium and large detent Observe the tab content while dragging Expected Results: The TabView page content should remain completely stable during sheet resize. Scroll positions should be preserved and no re-rendering shoul
Replies
1
Boosts
0
Views
86
Activity
1w