Hi, After enabling the new Enhanced Security capability in Xcode 26, I’m seeing install failures on devices running < iOS 26. Deployment target: iOS 15.0 Capability: Enhanced Security (added via Signing & Capabilities tab) Building to iOS 18 device error - Unable to Install ...Please ensure sure that your app is signed by a valid provisioning profile. It works fine on iOS 26 devices. I’d like to confirm Apple’s intent here: Is this capability formally supported only on iOS 26 and later, and therefore incompatible with earlier OS versions? Or should older systems ignore the entitlement, meaning this behavior might be a bug?
Search results for
xcode github
94,028 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Here is the github repository if anyone is interested in trying: https://github.com/alexfoxy/CameraQualityTest
Topic:
Media Technologies
SubTopic:
Photos & Camera
Tags:
I'm using SwiftUI WebView and this error happens when app becomes inactive, the webview changes to blank, and will be in this state all along even if reopen a new webview. When I switch back to WKWebview, everything works fine. environment Xcode 26.1(17B55) on macOS 15.7.1 Error acquiring assertion: this is the code, pretty simple, in load() function i just call page.load(). WebView(vm.page) .onAppear { Task { await vm.load() } }
@viktor_runcoach and @howard_kang , thanks for both post, so when we have 2 reports is good to compare the issue. Both are using the iPhone Air simulator with iOS 26.1 and both are on Xcode 26.1. Am I correct? https://developer.apple.com/forums/thread/809465?answerId=868722022#868722022 Can you please download Xcode 26.2 beta and try exactly the same thing? Lets get to the bottom of this issue. Albert Pascual
Worldwide Developer Relations.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
Even with XCode Version 26.2 beta (17C5013i) iOS 26.2 beta (23C5027e) I am receiving Value of type 'AgeRangeService' has no member 'isEligibleForAgeFeatures' as an error on the provided code. public func testEligible() async { do { let response = try await AgeRangeService.shared.isEligibleForAgeFeatures // Handle response if response { print([K]: Eligible for age features.) } else { print([K]: Not eligible for age features.) } } catch { print([K]: Fail to check eligibility for age features.) } }
Topic:
App & System Services
SubTopic:
General
Tags:
I want to keep an eye on the App Store Connect release notes to find out when builds created with Xcode 26.2 RC will be accepted. I tried to add https://developer.apple.com/help/app-store-connect/release-notes/ to my RSS reeder but the items listed are not the same, it’s the items from the latest news from Apple Developer instead. Can we get an RSS feed please? Seems will be useful to monitor these release notes over time.
Thanks for your post. It seems like you have everything working. So you do not see the autofill behavior after following this documentation? https://developer.apple.com/documentation/security/password-autofill Can you provide me a link to your AASA file showing how you have defined the web credentials for the app? https://developer.apple.com/documentation/Xcode/supporting-associated-domains Example: webcredentials: { apps: [ ABCDE12345.com.example.app ] }, Looking forward to your reply. Albert Pascual
Worldwide Developer Relations.
Topic:
Privacy & Security
SubTopic:
General
Tags:
Thanks for the post and the code. I run the code in the iPhone air simulator using Xcode 26.2 beta and I don't see the hang. Can you share the way to reproduce it? Also will be help you to share a focused sample app with all the settings you are using. If you're not familiar with preparing a test project, take a look at Creating a test project. Albert Pascual
Worldwide Developer Relations.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
运营了一年多app,更新了很多版本,这一版更换了下ui的预览图,然后更新的时候一直正在等待审核,等了很多天没有结果,给苹果发了邮件询问,然后被标记封号下架了?请问这个是怎么回事,就是常规更新为什么不审核,然后又下架了?申诉了越没有任何回复邮件,这妥妥的霸王条款, appid:6670458903 串聊 请求苹果公司能开发者给恢复正常更新,谢谢 Pending Termination Notice Upon further review of the activity associated with your Apple Developer Program membership, it's been determined that your membership, or a membership associated with your account, has been used for dishonest or fraudulent activity, in violation of the Apple Developer Program License Agreement. Given the severity of the identified issues, your account has been flagged for removal. Because your account has been flagged for removal, any earnings payments are paused and app transfers are disabled. Creating new accounts after receiving this message may result in the termination of the new or associated accounts. Evidence of Dishonest or Fraudulent Activity App submissions from your account have repeatedly violated the App Review Guidelines in an attempt to evade the review process. After multiple resubmissions, the
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Hello @JoshuaLin, Can you provide a screenshot of the MLPackage view in Xcode? --Greg
Topic:
Machine Learning & AI
SubTopic:
Core ML
Thank you for your reply. Unfortunately, creating a package using productbuild results in the same zero-byte file written to /Applications. I used the command: productbuild --sign --component /Applications Interestingly, if my coworker creates the application on his machine, I can then use his application in my pkgbuild script and the installation succeeds. Both his application and the application I build on my machine are signed with the same company Developer ID Application and are notarized. Both applications also run on my machine and have the same functionality, as their source was pulled from the same branch. We are both using XCode 16.2. This problem only started to happen on my machine last week. Does the pkgbuild command have a cache that can be deleted? Thank you for your time.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
Hi... It would be nice if Apple / XCode would be so gracious to explore the possibility of providing the ability to include: Code scrambling / renaming Control-flow obfuscation String encryption Anti-debugging Anti-hooking Jailbreak detection App integrity checks Runtime tamper detection That way, we could eliminate the need to settle for third-party software. Who do we have to bribe to submit such a request and entertain such an idea?
Topic:
Privacy & Security
SubTopic:
General
When trying to check if a certificate has been revoked with SecPolicyCreateRevocation (Flags: kSecRevocationUseAnyAvailableMethod | kSecRevocationRequirePositiveResponse) and SecTrustEvaluateWithError I always get the result error code errSecIncompleteCertRevocationCheck, regardless if the certificate was revoked or not. Reproduction: Execute the program from the attached Xcode project (See Feedback FB21224106). Error output: Error: Error Domain=NSOSStatusErrorDomain Code=-67635 revoked.badssl.com,E8,ISRG Root X1 certificates do not meet pinning requirements UserInfo={NSLocalizedDescription=revoked.badssl.com,E8,ISRG Root X1 certificates do not meet pinning requirements, NSUnderlyingError=0x6000018d48a0 {Error Domain=NSOSStatusErrorDomain Code=-67635 Certificate 0 “revoked.badssl.com” has errors: Failed to check revocation; UserInfo={NSLocalizedDescription=Certificate 0 “revoked.badssl.com” has errors: Failed to check revocation;}}} To me it looks like that the revocation check just fails („Failed to
I have an Xcode app where currently txt files in the project display text data as a list. I can search through the lists and have buttons that will swap between different lists of information that you can look through. The next task is I have URL connections to docx files on a SharePoint site. I am trying to use an URLsession function to connect to the URL links to download the documents to the document directory then have the application read the doc information to then be displayed as the txt info would. The idea is that the docx files are a type of online update version of the data. So when the app is used and on wifi, the app can update the list data with the docx files. I have code set up that should access the URL files but I am struggling to figure out how to read the data and access from this Documents directory. I have been looking online and so far I am at a loss on where to go here. If anyone can help or provide some insight I would greatly appreciate it. I can try and provide code samples
[quote='868455022, bims, /thread/806594?answerId=868455022#868455022, /profile/bims'] I already feel bad asking you again [/quote] No worries. It gives me a good excuse to brush up on my debugging skills (-: [quote='868455022, bims, /thread/806594?answerId=868455022#868455022, /profile/bims'] It turns out that MTE and Malloc Stack Logging cannot be enabled at the same time. [/quote] Bah. This isn’t super surprising, and it’s the sort of thing I’d know if I had an iPhone 17 to play with. It’s definitely time to ping my boss about that. [quote='868455022, bims, /thread/806594?answerId=868455022#868455022, /profile/bims'] Unfortunately, I didn't really understand where/what to look for in Xcode. [/quote] OK. Lemme run you through a non-MTE example: Using Xcode 26.1 on macOS 15.7.1, I created an iOS app with two buttons wired up to these two methods: var memory: UnsafeMutableRawPointer? = nil func mallocAction() { self.memory = malloc(1024) } func freeAction() { free(self.memory) } In the scheme
Topic:
App & System Services
SubTopic:
Networking
Tags: