Search results for

“xcode github”

95,410 results found

Post

Replies

Boosts

Views

Activity

Reply to Bridging Header doesn't seem to include my Swift class
This is confusing. There are different types of ‘bridging header’. The actual bridging header lets you call Objective-C from Swift, but there’s another header that you use to call Swift from Objective-C. I believe you’re looking for the latter. If so, I have a step-by-step example of this in this post. I just retested this with Xcode 26.3 and it continues to work as described. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1w
Latest Beta Version Breaks Xcode Testing Builds on Physical devices.
This is a grave issue I am facing while testing my apps on my personal device. This is the error I seem to be getting: The application could not be launched because the Developer App Certificate is not trusted. And on the phone side, this is the message: Unable to Verify App. An internet connection is required to verify the trust of the developer Apple Development... Before I receive any recommendations, such as deleting Xcode or restarting my device, I would like to clarify that I have already taken all necessary precautions. The application I was testing appeared to function correctly in the morning a few hours prior to the update. However, after upgrading to the latest beta builds, iOS 26.4 beta and the latest macOS beta, this issue has become a recurring problem. I would greatly appreciate your assistance in resolving this matter, as it is of utmost importance to me.
2
0
105
1w
Unable to test my apps, crashing with provisioning profile validation
Since around September (iOS 26 release), i'm unable to test my app normally. It says internet connection is required to verify [my certificate id], or just crashing. All terms and conditions accepted, everything is valid, certificates are OK. Reinstallation via xcode does not help. Removal of provisioning profile, generating new does not help. Revoking of certificate and generating new does for around week, then it happens again, but do i need to do it every week now? In logs i see the following: default amfid validation failed because of missing trust and/or authorization (0xe8008026) error amfid not valid: 0xe8008026: The provisioning profile requires online authorization. error amfid Unexpected MISError (0xe8008026): The provisioning profile requires online authorization. default +0300 amfid /private/var/containers/Bundle/Application/5B8E560E-75B2-46EF-8606-02072D99E9CF//Frameworks/oss.dylib not valid: Error Domain=AppleMobileFileIntegrityError Code=-400 An unknown error was encountered UserInfo={
2
0
308
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
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
Is this normal while developing an app on the watch?
I used to develop iPhone apps about a decade ago and am now back at it with an iPhone and companion Apple Watch app. Why does it suck so bad? I a must be doing something wrong, but what I am doing is out of the box. The majority of the time when I go to build on the watch I get: Previous preparation error: A connection to this device could not be established.; Timed out while attempting to establish tunnel using negotiated network parameters. Which I then first try to force quit the app on the watch and if that does not work, reboot the watch (which is pretty ridiculous). I tried Gemini and it gave me the following explanation: This is arguably the single most frustrating error in the entire watchOS development ecosystem. As an expert, I can tell you that you are not doing anything wrong; you are fighting a fragile architecture. Here is the technical breakdown of why this happens and a workflow to mitigate it without constant reboots. The Technical Why This error message reveals that the issue lies in the Cor
8
0
651
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
How can I use private AI agents in Xcode 26.3?
I work on some proprietary codebases and can only use private AI services with them (currently MiniMax M2.1 and GLM 4.7). It all works great with both Claude Code and OpenCode agents, and I'd like to leverage the new agentic capabilities that are now in Xcode 26.3. I'm not seeing any option to connect to OpenCode, and both the Anthropic and OpenAI providers require an enterprise account (which I don't have access to). Are there any options that I'm missing here?
10
0
1.2k
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
Reply to Bridging Header doesn't seem to include my Swift class
This is confusing. There are different types of ‘bridging header’. The actual bridging header lets you call Objective-C from Swift, but there’s another header that you use to call Swift from Objective-C. I believe you’re looking for the latter. If so, I have a step-by-step example of this in this post. I just retested this with Xcode 26.3 and it continues to work as described. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
1w
Latest Beta Version Breaks Xcode Testing Builds on Physical devices.
This is a grave issue I am facing while testing my apps on my personal device. This is the error I seem to be getting: The application could not be launched because the Developer App Certificate is not trusted. And on the phone side, this is the message: Unable to Verify App. An internet connection is required to verify the trust of the developer Apple Development... Before I receive any recommendations, such as deleting Xcode or restarting my device, I would like to clarify that I have already taken all necessary precautions. The application I was testing appeared to function correctly in the morning a few hours prior to the update. However, after upgrading to the latest beta builds, iOS 26.4 beta and the latest macOS beta, this issue has become a recurring problem. I would greatly appreciate your assistance in resolving this matter, as it is of utmost importance to me.
Replies
2
Boosts
0
Views
105
Activity
1w
Unable to test my apps, crashing with provisioning profile validation
Since around September (iOS 26 release), i'm unable to test my app normally. It says internet connection is required to verify [my certificate id], or just crashing. All terms and conditions accepted, everything is valid, certificates are OK. Reinstallation via xcode does not help. Removal of provisioning profile, generating new does not help. Revoking of certificate and generating new does for around week, then it happens again, but do i need to do it every week now? In logs i see the following: default amfid validation failed because of missing trust and/or authorization (0xe8008026) error amfid not valid: 0xe8008026: The provisioning profile requires online authorization. error amfid Unexpected MISError (0xe8008026): The provisioning profile requires online authorization. default +0300 amfid /private/var/containers/Bundle/Application/5B8E560E-75B2-46EF-8606-02072D99E9CF//Frameworks/oss.dylib not valid: Error Domain=AppleMobileFileIntegrityError Code=-400 An unknown error was encountered UserInfo={
Replies
2
Boosts
0
Views
308
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
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
Is this normal while developing an app on the watch?
I used to develop iPhone apps about a decade ago and am now back at it with an iPhone and companion Apple Watch app. Why does it suck so bad? I a must be doing something wrong, but what I am doing is out of the box. The majority of the time when I go to build on the watch I get: Previous preparation error: A connection to this device could not be established.; Timed out while attempting to establish tunnel using negotiated network parameters. Which I then first try to force quit the app on the watch and if that does not work, reboot the watch (which is pretty ridiculous). I tried Gemini and it gave me the following explanation: This is arguably the single most frustrating error in the entire watchOS development ecosystem. As an expert, I can tell you that you are not doing anything wrong; you are fighting a fragile architecture. Here is the technical breakdown of why this happens and a workflow to mitigate it without constant reboots. The Technical Why This error message reveals that the issue lies in the Cor
Replies
8
Boosts
0
Views
651
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
How can I use private AI agents in Xcode 26.3?
I work on some proprietary codebases and can only use private AI services with them (currently MiniMax M2.1 and GLM 4.7). It all works great with both Claude Code and OpenCode agents, and I'd like to leverage the new agentic capabilities that are now in Xcode 26.3. I'm not seeing any option to connect to OpenCode, and both the Anthropic and OpenAI providers require an enterprise account (which I don't have access to). Are there any options that I'm missing here?
Replies
10
Boosts
0
Views
1.2k
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
Reply to ppq.apple.com returning 502 Bad Gateway - Unable to verify developer apps on device
Same problem. I've been dealing with this all day, until GPT told me about this thread. Mine is a Flutter project. I get The application could not be launched because the Developer App Certificate is not trusted. from Xcode, and Unable to Verify App in iOS.
Replies
Boosts
Views
Activity
1w