Search results for

“xcode github”

95,405 results found

Post

Replies

Boosts

Views

Activity

I would like to request clarification regarding the behavior of the Live Activity Start Token used in the Xcode and iOS development workflow.
Could you please provide guidance on the following points: Start Token Throttling Are there any throttling limits or rate restrictions applied to Start Tokens? Token Invalidation Scenarios Under what specific conditions can a Start Token become invalidated? Are there known scenarios that trigger invalidation? Token Regeneration Timeline Once a Start Token is invalidated, how long does it typically take before a new token can be successfully generated and validated? Frequency of Invalidation Is there any documented or expected frequency with which Start Tokens may become invalid, assuming a normal development workflow? Impact on Push Notification Token When a live activity Start Token becomes invalid, does this also cause APNs Push Notification Tokens to be invalidated or refreshed automatically?
0
0
47
1w
Reply to App group broken on Sequoia
OK, I've successfully changed the app group to iOS style (group.com.myorg.MyApp)... and it hasn't fixed the problem. It's working on older versions, but still failing on Sequoia. To confirm: Both the main app and extension have an explicit app ID (com.myorg.MyApp and com.myorg.MyApp.EMPFileProvider, respectively). I have added an App Group identifier on the website for group.com.myorg.MyApp -- the website won't let me add one in the old macOS format (I understand this is normal). On the website, in the Identifier entry for each component, I've added group.com.myorg.MyApp to the existing App Group set. This has required me to re-generate the provisioning profiles. On the Profiles page, I regenerated the profiles (by choosing Edit and then Save rather than deleting and re-creating them). I downloaded and installed the new profiles. The resulting app works fine on a pre-Sequoia machine. But on the Sequoia one, the main app runs successfully (and can log to the Group Container), and the FileProvider also runs, bu
Topic: Code Signing SubTopic: Entitlements Tags:
1w
New project with new AppIntent throws build error
I opened a new project, iOS app, in XCode and then tabbed into the system_search snippet and built the project and got a build error. I can't imagine this was intended, at least not for new developers to the ecosystem like me. I solved it by tweaking a configuration I don't really understand advised here: https://github.com/apple/swift-openapi-generator/issues/796, hopefully that's a valid workaround
2
0
440
1w
Xcode Cloud UI test runs often fail due to "The test runner failed to initialize for UI testing. (Underlying Error: Timed out waiting for AX loaded notification)"
I've yet to encounter these errors when running UI tests locally, but I'd estimate that 80-90% of my test runs on Xcode Cloud fail due to it. I'm just testing with iPhone simulators, I've set it to retry on failure, but no luck. Is there a setting or something I can tweak in my test code to improve the situation? I am on the latest xcode/iOS dev betas - but it was doing this before I switched to them from.
0
0
121
1w
Reply to Is this normal while developing an app on the watch?
Developing on the watch is stupid fragile. Seriously. XCode needs to set up a secure tunnel to the watch using wifi but the watch regularly turns off or looses its wifi. There is so much magic here that like I said, embarassing to the watch team at apple. Here are options that work for me: The watch will often disconnect from the router even though it is on. My first solution is to go into Settings -> WiFi and make sure it is connected to the router. This works about 70% of the time. If it doesnt, you can try toggling developer mode on the watch to get to the Trust Computer which sometimes works. Turn on your hotspot on your phone, then connect your mac and your watch to it and hope this works. You have about a 50% chance here. If your home network is a mesh network, then make sure that the APs have handed off so that all the devices are on the same AP. I can not prove this other than through observation. So yes, turn on and off the wifi on all the devices. Supposedly, you can actually turn on you
1w
Bridging Header doesn't seem to include my Swift class
I think have done everything by the book. I added a small Swift file to my Objective-C project. This is code in the project, not in a framework, so I did not use the public keyword: import Foundation @objc TestClass: NSObject { @objc init(){} } Adding this file prompted creating a bridging header and it should have added TestClass into it. I added the import to the Objective-C .m file. This didn't produce an error so the file must be there: #import SoftServePro-Bridging-Header.h I made a property for an instance of the class in the .h file: @property(nonatomic,strong) TestClass *test; I cleaned the project and did one compile for the precompiler to populate the bridging header. I have set Defines Module to Yes in Build Settings -> Packaging. I added a line in the .m code to create a TestClass: self.test=[[TestClass alloc]init]; And for my trouble I get the error message Now, this looks to me like TestClass is not in my bridging header because if it were it should know exactly what TestClass is, not just co
3
0
1.2k
1w
Reply to Is this normal while developing an app on the watch?
Well here we are and I have encountered the same Issue. Disconnected the watch from Xcode, rebooted Xcode, rebooted the phone, the watch and everything else connected to the Mac. For some odd reason the watch re-paired to Xcode and initially there was a message on the Devices and Simulators saying that there was something wrong with the Tunnel (I've probably got that wrong but it was not happy) but then inexplicably the message Copying blah blah blah appeared in the Xcode devices window so now I am just waiting for that to finish. I'm now about an hour into this palaver and hopeful that I can finally update my App.
1w
Lost connection to my iphone
I was developing on Xcode and downloading and testing just fine. Today when I connect (via cable), clean, build and run the system When I look in the iPhone ->settings -> General ->VPN & Device Management it does not list my developers tag. How do I get the two talking again. I have restarted the MAC (Xcode) and the iPhone multiple times.
1
0
50
1w
Verify App Process Never Verifies
I have an iOS app that I want to run on my device via Xcode and the USB-C cable. Once I run it through Xcode with my device as the target the app builds on device. But then I get an error message stating I need to Verify App via the Settings section VPN & Device Management I click on my account under Developer App and I trust my developer account. Then I am asked to Verify App And when I do so I can a spinning icon that spins for a minute. Spinning Icon stops and I still cant use the app. I have tried a couple of different things in particular Here is the Xcode error output : Domain: IDELaunchCoreDevice Code: 0 Recovery Suggestion: Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it. User Info: { DVTErrorCreationDateKey = 2026-03-10 21:02:06 +0000; IDERunOperationFailingWorker = IDELaunchCoreDeviceWorker;
0
0
61
1w
Reply to StoreKit sandbox consumable purchase returns restored on second purchase instead of completing a new purchase
Hello, It looks like the consumable transaction from the first purchase is never being finished, so StoreKit keeps re-delivering it as a restored transaction on every subsequent attempt. Make sure you're finishing the transaction after granting the content. You can see some more info about finishing a transaction and testing on the different environments here: https://developer.apple.com/documentation/storekit/testing-at-all-stages-of-development-with-xcode-and-the-sandbox#Test-common-StoreKit-scenarios
1w
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
App installs but won’t launch on iPhone: “profile has not been explicitly trusted by the user” My app builds and installs on a physical iPhone, but it will not launch. Setup: Flutter 3.38.7 Xcode 26.3 iPhone 15 Pro Max iOS 26.3.1 Exact error: ERROR: The application failed to launch. (com.apple.dt.CoreDeviceError error 10002) Unable to launch com.sherpa-map.routestudio because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. (FBSOpenApplicationErrorDomain error 3) The confusing part is that on the iPhone, Settings > General > VPN & Device Management only shows VPN and Sign in to work or school account, so there is no obvious developer trust option to tap. Is this a current iOS/Xcode issue, or is there a new trust flow for developer-signed apps?
1w
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
Seeing the same issue here. My app had been working fine for about a month, but suddenly it started showing “Not Verified” and won’t launch anymore. The Verify App option in Settings also doesn’t seem to complete the verification. I’ve already tried several things: rebooting the iPhone reinstalling the app (both latest and older builds) rebuilding and running the app from Xcode trying to sideload via SideStore (but SideStore itself now shows Not Verified) Nothing seems to fix it so far. I also contacted Apple Support and opened a case about this. From what I was told, since this involves developer-signed apps installed via Xcode, it needs to be escalated to the relevant developer/business support team rather than standard troubleshooting. Given that multiple developers seem to be seeing the same behavior at the same time, this might be related to the verification service rather than something specific to the app build. Has anyone found a workaround, or are we waiting for this to be resolved
1w
I would like to request clarification regarding the behavior of the Live Activity Start Token used in the Xcode and iOS development workflow.
Could you please provide guidance on the following points: Start Token Throttling Are there any throttling limits or rate restrictions applied to Start Tokens? Token Invalidation Scenarios Under what specific conditions can a Start Token become invalidated? Are there known scenarios that trigger invalidation? Token Regeneration Timeline Once a Start Token is invalidated, how long does it typically take before a new token can be successfully generated and validated? Frequency of Invalidation Is there any documented or expected frequency with which Start Tokens may become invalid, assuming a normal development workflow? Impact on Push Notification Token When a live activity Start Token becomes invalid, does this also cause APNs Push Notification Tokens to be invalidated or refreshed automatically?
Replies
0
Boosts
0
Views
47
Activity
1w
Reply to App group broken on Sequoia
OK, I've successfully changed the app group to iOS style (group.com.myorg.MyApp)... and it hasn't fixed the problem. It's working on older versions, but still failing on Sequoia. To confirm: Both the main app and extension have an explicit app ID (com.myorg.MyApp and com.myorg.MyApp.EMPFileProvider, respectively). I have added an App Group identifier on the website for group.com.myorg.MyApp -- the website won't let me add one in the old macOS format (I understand this is normal). On the website, in the Identifier entry for each component, I've added group.com.myorg.MyApp to the existing App Group set. This has required me to re-generate the provisioning profiles. On the Profiles page, I regenerated the profiles (by choosing Edit and then Save rather than deleting and re-creating them). I downloaded and installed the new profiles. The resulting app works fine on a pre-Sequoia machine. But on the Sequoia one, the main app runs successfully (and can log to the Group Container), and the FileProvider also runs, bu
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
1w
New project with new AppIntent throws build error
I opened a new project, iOS app, in XCode and then tabbed into the system_search snippet and built the project and got a build error. I can't imagine this was intended, at least not for new developers to the ecosystem like me. I solved it by tweaking a configuration I don't really understand advised here: https://github.com/apple/swift-openapi-generator/issues/796, hopefully that's a valid workaround
Replies
2
Boosts
0
Views
440
Activity
1w
Xcode Cloud UI test runs often fail due to "The test runner failed to initialize for UI testing. (Underlying Error: Timed out waiting for AX loaded notification)"
I've yet to encounter these errors when running UI tests locally, but I'd estimate that 80-90% of my test runs on Xcode Cloud fail due to it. I'm just testing with iPhone simulators, I've set it to retry on failure, but no luck. Is there a setting or something I can tweak in my test code to improve the situation? I am on the latest xcode/iOS dev betas - but it was doing this before I switched to them from.
Replies
0
Boosts
0
Views
121
Activity
1w
Reply to Is this normal while developing an app on the watch?
Developing on the watch is stupid fragile. Seriously. XCode needs to set up a secure tunnel to the watch using wifi but the watch regularly turns off or looses its wifi. There is so much magic here that like I said, embarassing to the watch team at apple. Here are options that work for me: The watch will often disconnect from the router even though it is on. My first solution is to go into Settings -> WiFi and make sure it is connected to the router. This works about 70% of the time. If it doesnt, you can try toggling developer mode on the watch to get to the Trust Computer which sometimes works. Turn on your hotspot on your phone, then connect your mac and your watch to it and hope this works. You have about a 50% chance here. If your home network is a mesh network, then make sure that the APs have handed off so that all the devices are on the same AP. I can not prove this other than through observation. So yes, turn on and off the wifi on all the devices. Supposedly, you can actually turn on you
Replies
Boosts
Views
Activity
1w
Bridging Header doesn't seem to include my Swift class
I think have done everything by the book. I added a small Swift file to my Objective-C project. This is code in the project, not in a framework, so I did not use the public keyword: import Foundation @objc TestClass: NSObject { @objc init(){} } Adding this file prompted creating a bridging header and it should have added TestClass into it. I added the import to the Objective-C .m file. This didn't produce an error so the file must be there: #import SoftServePro-Bridging-Header.h I made a property for an instance of the class in the .h file: @property(nonatomic,strong) TestClass *test; I cleaned the project and did one compile for the precompiler to populate the bridging header. I have set Defines Module to Yes in Build Settings -> Packaging. I added a line in the .m code to create a TestClass: self.test=[[TestClass alloc]init]; And for my trouble I get the error message Now, this looks to me like TestClass is not in my bridging header because if it were it should know exactly what TestClass is, not just co
Replies
3
Boosts
0
Views
1.2k
Activity
1w
Reply to Is this normal while developing an app on the watch?
Well here we are and I have encountered the same Issue. Disconnected the watch from Xcode, rebooted Xcode, rebooted the phone, the watch and everything else connected to the Mac. For some odd reason the watch re-paired to Xcode and initially there was a message on the Devices and Simulators saying that there was something wrong with the Tunnel (I've probably got that wrong but it was not happy) but then inexplicably the message Copying blah blah blah appeared in the Xcode devices window so now I am just waiting for that to finish. I'm now about an hour into this palaver and hopeful that I can finally update my App.
Replies
Boosts
Views
Activity
1w
Lost connection to my iphone
I was developing on Xcode and downloading and testing just fine. Today when I connect (via cable), clean, build and run the system When I look in the iPhone ->settings -> General ->VPN & Device Management it does not list my developers tag. How do I get the two talking again. I have restarted the MAC (Xcode) and the iPhone multiple times.
Replies
1
Boosts
0
Views
50
Activity
1w
Verify App Process Never Verifies
I have an iOS app that I want to run on my device via Xcode and the USB-C cable. Once I run it through Xcode with my device as the target the app builds on device. But then I get an error message stating I need to Verify App via the Settings section VPN & Device Management I click on my account under Developer App and I trust my developer account. Then I am asked to Verify App And when I do so I can a spinning icon that spins for a minute. Spinning Icon stops and I still cant use the app. I have tried a couple of different things in particular Here is the Xcode error output : Domain: IDELaunchCoreDevice Code: 0 Recovery Suggestion: Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it. User Info: { DVTErrorCreationDateKey = 2026-03-10 21:02:06 +0000; IDERunOperationFailingWorker = IDELaunchCoreDeviceWorker;
Replies
0
Boosts
0
Views
61
Activity
1w
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
Also experiencing the same thing with flutter + Xcode
Replies
Boosts
Views
Activity
1w
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
Attempted fix as detailed here: https://developer.apple.com/forums/thread/800521 And purged my provisioning profiles as described in step 2: Go to ~/Library/Developer/Xcode/UserData/Provisioning Profiles and delete all your profiles. Reloaded xcode, and same issue
Replies
Boosts
Views
Activity
1w
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
Same here! Xcode 26.4 beta but also able to repro on 26.2
Replies
Boosts
Views
Activity
1w
Reply to StoreKit sandbox consumable purchase returns restored on second purchase instead of completing a new purchase
Hello, It looks like the consumable transaction from the first purchase is never being finished, so StoreKit keeps re-delivering it as a restored transaction on every subsequent attempt. Make sure you're finishing the transaction after granting the content. You can see some more info about finishing a transaction and testing on the different environments here: https://developer.apple.com/documentation/storekit/testing-at-all-stages-of-development-with-xcode-and-the-sandbox#Test-common-StoreKit-scenarios
Replies
Boosts
Views
Activity
1w
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
App installs but won’t launch on iPhone: “profile has not been explicitly trusted by the user” My app builds and installs on a physical iPhone, but it will not launch. Setup: Flutter 3.38.7 Xcode 26.3 iPhone 15 Pro Max iOS 26.3.1 Exact error: ERROR: The application failed to launch. (com.apple.dt.CoreDeviceError error 10002) Unable to launch com.sherpa-map.routestudio because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. (FBSOpenApplicationErrorDomain error 3) The confusing part is that on the iPhone, Settings > General > VPN & Device Management only shows VPN and Sign in to work or school account, so there is no obvious developer trust option to tap. Is this a current iOS/Xcode issue, or is there a new trust flow for developer-signed apps?
Replies
Boosts
Views
Activity
1w
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
Seeing the same issue here. My app had been working fine for about a month, but suddenly it started showing “Not Verified” and won’t launch anymore. The Verify App option in Settings also doesn’t seem to complete the verification. I’ve already tried several things: rebooting the iPhone reinstalling the app (both latest and older builds) rebuilding and running the app from Xcode trying to sideload via SideStore (but SideStore itself now shows Not Verified) Nothing seems to fix it so far. I also contacted Apple Support and opened a case about this. From what I was told, since this involves developer-signed apps installed via Xcode, it needs to be escalated to the relevant developer/business support team rather than standard troubleshooting. Given that multiple developers seem to be seeing the same behavior at the same time, this might be related to the verification service rather than something specific to the app build. Has anyone found a workaround, or are we waiting for this to be resolved
Replies
Boosts
Views
Activity
1w