Search results for

xcode github

91,910 results found

Post

Replies

Boosts

Views

Activity

Extract App Intents Metadata build error and SwiftConstValues files not being generated
Hello, We are reaching out to the official forum as an option to help us solve an issue we’re encountering with our app. The problem lies in the implementation of the AppIntents framework in our codebase, which, at the moment, is impossible to complete due to compilation errors occurring in specific targets of our app. We are currently using Xcode 16.0. First of all, we want to clarify that the integration of the AppIntents library poses no issues in our development targets (pre-production environments), since no additional code obfuscation steps are performed there. However, in the release targets used for production builds (those intended to be released to users), we encounter the following compilation error: These errors indicate that the “.swiftconstvalues” files are missing for all of the files in our application. We also want to highlight that we are using a code obfuscation tool called Arxan, provided by Digital.ai. This tool is integrated via specific Build Settings configurations, various fi
3
0
112
Jun ’25
3rd-party closed-source XCFramework security
Hey! I am developing a macOS application with the help of an external vendor, who is supplying me with a closed-source XCFramework. In Xcode, when I import their XCFramework bundle, when running the app, or opening a SwiftUI preview, or interacting with the app in any form, I get the familiar dialog: [SDK name].framework Not Opened - Apple could not verify [SDK name].framework is free from malware that may harm your Mac or compromise privacy. (Regardless, the application can run on my machine.) But indeed, their cross-platform iOS/macOS XCFramework is not notarized at all (using spctl -a -t install), plus the macOS binary embedded is not code signed correctly (using codesign -d). The XCFramework itself is production code signed with a Developer ID certificate, however I believed the above issues to be valid. Now, I asked the vendor to provide a correctly distributed (so code signed and notarized) framework, however they pointed out that when I embed and sign the product in my app, it will be re-signe
3
0
94
1d
NWConnection: how to recover data connection after RF cellular data connection loss
iOS Development environment Xcode 16.4, macOS 15.6.1 (24G90) Run-time configuration: iOS 17.2+ Short Description After having successfully established an NWConnection (either as UDP or TCP), and subsequently receiving the error code: UDP Connection failed: 57 The operation couldn't be completed. (Network.NWError error 57 - Socket is not connected), available Interfaces: [enO] via NWConnection.stateUpdateHandler = { (newState) in ... } while newState == .failed the data connection does not restart by itself once cellular (RF) telephony coverage is established again. Detailed Description Context: my app has a continuous cellular data connection while in use. Either a UDP or a TCP connection is established depending on the user settings. The setup data connection works fine until the data connection gets disconnected by loss of connection to a available cellular phone base station. This disconnection simply occurs in very poor UMTS or GSM cellular phone coverage. This is totally normal behavior in bad r
7
0
141
1d
Reply to Xcode 16.4 Can't Attach to iPhone app for debugging
[quote='856894022, Steve-Olson-1951, /thread/797142?answerId=856894022#856894022, /profile/Steve-Olson-1951'] I can't set it to true otherwise. [/quote] Right. A profile authorises your use of entitlements. See TN3125 Inside Code Signing: Provisioning Profiles for lots of background on that. In some cases the allowlist in the profile authorises you to use any value. However, for get-task-allow, development profiles only authorise you to use true and distribution profiles only authorise you to use false. I’m not sure how you ended up with the wrong value. Xcode’s automatic code signing usually takes care of this detail. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1d
Xcode 16.4 Can't Attach to iPhone app for debugging
Xcode will transfer the app to the iPhone, and I can run it on the iPhone, but the Xcode debugger fails to attach. I am using iPhone 14 Pro with iOS 18.6. I've tried connecting via cable, also via network - same issue both ways. The message raised by Xcode says: Could not attach to pid: 6303 Ensure “” is not already running, and has permission to debug it. I don't know how to determine if I have permission. I assume I do; I am the owner of the account, with admin role.
4
0
107
1d
Reply to disable-library-validation entitlement makes app unlaunchable
TN3125 is correct in saying that the hardened runtime entitlements are unrestricted, that is, their used doesn’t have to be authorisation by a profile. I’m not sure what’s going with your app but this is working for me: Using Xcode 16.4 on macOS 15.6.1, create a new project from the macOS > Command Line Tool target. In Signing & Capabilities > Hardened Runtime, check the Disable Library Validation box. Build and run; the program runs just fine. Dump the entitlements of the built executable: % codesign -d -vvv --entitlements - Test799497 … CodeDirectory v=20500 size=630 flags=0x10000(runtime) … … [Dict] [Key] com.apple.security.cs.disable-library-validation [Value] [Bool] true … The runtime flag indicates that the hardened runtime is enabled, and the com.apple.security.cs.disable-library-validation entitlement disables library validation. Moreover, this is a command-line tool, and thus it has no provisioning profile. Please repeat the above, just to make sure that we’re on the same page. As
Topic: Code Signing SubTopic: Entitlements Tags:
1d
Example default dialer project
I'm trying to create a dialer app for iOS that will make verified cellular, not voip, calls by registering the calls on my server with an option for passphrase offline verification. This means that I want to build a dialer with a nice UX, so I'm trying to use the new default dialer capability. I've read https://developer.apple.com/documentation/livecommunicationkit/preparing-your-app-to-be-the-default-dialer-app which links to https://developer.apple.com/documentation/livecommunicationkit/startcellularconversationaction for starting a call, but when I try to actually use it in my app it says Cannot find type 'TelephonyConversationManager' in scope and similar, despite importing LiveCommunicationKit. Is there a default dialer example app & xcode project I can look at for how this should be set up? As I understood it I should be able to use these from iOS 18.2, and I'm targeting that version in my project. The page for StartCellularConversationAction says Beta 26.0 though, have I misunderstood some
2
0
69
1d
Reply to Example default dialer project
[quote='799514021, dutt, /thread/799514, /profile/dutt'] As I understood it I should be able to use these from iOS 18.2 [/quote] I don’t know much about this framework, but the docs for TelephonyConversationManager make it clear that it’s new in iOS 26 beta. That means: You need to build with Xcode 26 beta. Your app will either need to require iOS 26… Or you’ll have to conditionalise this code so that it only runs on iOS 26 (Claude31’s snippet shows one approach for that). Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
1d
Issue with UIActivityViewController Not Showing X (formerly Twitter) and Facebook Icons When Sharing Images on iOS 26 Beta
I have installed the iOS 26 Beta on my device and conducted a comprehensive functionality test of my iOS application, which I designed and developed. The application includes a feature that allows users to share images directly to X (formerly Twitter) and Facebook. During testing, I encountered an issue where the icons for X (formerly Twitter) and Facebook do not appear in the share dialog, despite both apps being installed on the device. This issue prevents users from sharing images to these platforms directly from the app. Steps to Reproduce: 1.Install iOS 26 Beta on a compatible device. 2.Ensure that both the X (formerly Twitter) and Facebook apps are installed and logged in on the device. 3.Open the iOS application and navigate to the image sharing feature. 4.Attempt to share an image using the share dialog. 5.Observe that the icons for X (formerly Twitter) and Facebook are missing from the share options. Expected Behavior: The share dialog should display icons for X
6
0
473
1d
Error Message when running C++ program (with SFML) in Xcode.
Error Message: dyld[11081]: Library not loaded: @rpath/sfml-system. framework/Versions/2.5.1/sfml-system Referenced from: /Users/………../Library/Developer/Xcode/DerivedData Computer_Simulation_Part_A_Stage_2-gflpuzzcrbxlhsgqypwfzyighzkj/Build/Products/Debug/Terminal.app/Contents/MacOS/Terminal Reason: tried: ‘/Users/…………./ Library/Developer/Xcode/DerivedData/Computer_Simulation_Part_A_Stage_2-gflpuzzerbxIhsgqypwfzyighzkj/Build/Products/Debug/sfm1-system.framework/Versions/2.5.1/sfmI-system' (no such file), ‘/Users/…………/Library/Developer/Xcode/DerivedData/Computer_Simulation_Part_A_Stage_2-gflpuzzerbx1hsgqypwfzyighzkj/Build/Products/Debug/Terminal.app/Contents/MacOS/../Frameworks/sfmI-system. framework/Versions/2.5.1/sfmI-system' (no such file), ‘/Users/………./Library/Developer/Xcode/DerivedData/Computer_Simulation_Part_A_Stage_2-gfIpuzzcrbxIhsgaypwfzyighzkj/Build/Products/Debug/Terminal.app/Contents/MacOS/../Frameworks/sfmI-system. framework/Versions/2.5.1/sfmI-system' (no such
1
0
104
4d
ApplePaySession.applePayCapabilities() started returning applePayUnsupported in third-party browsers
We rely on ApplePaySession.applePayCapabilities() to decide whether to show the Apple Pay button. We use two different merchant IDs for non-prod/prod environments, and encountered a change in behavior where this API now returns different results. These merchant IDs are generated from a third-party provider Adyen. However, Adyen has informed us that they are unable to identify the root cause of the issue and advised us to seek assistance directly from Apple Pay support. Timeline Last known working date: 13/08/2025 Issue first noticed: 18/08/2025 Environment Details Apple Pay JS API version 1.latest Browsers Tested: Third party browsers including Chrome/139.0.0.0, Firefox/141.0 Browsers with ApplePaySession built-in (like iOS Chrome, iOS Safari, and macOS Safari) are working fine Framework Stack: Angular v18.1.3 (important) no configuration setup in Apple dev account, merchantId is generated from a third-party provider Adyen. Current Execution Flow: Apple Pay JS API script element is injected Triggers below to
2
0
142
1w
iOS26 - ITMS-90717: Invalid large app icon
Trying to upload an iOS26 app archive with Xcode 26 beta 7 and getting ITMS-90717: Invalid large app icon, meaning my app is not eligible for TestFlight testing. My App contains an IconComposer .icon asset, so I'm not sure what it's complaining about. I'm not seeing anything in the release notes about this, and I'm not sure if I'm doing something wrong or not.
5
0
200
2d
Xcode automatic signing not working
Suddenly, automatic signing has stopped working across all our apps (even on different developer IDs), we see this:Automatic Signing FialedXcode failed to provision this target. Please file a bug report at <https://feedbackassistant.apple.com> and include the Update Signing report from the Report navigator.Signing certificate Apple Development: XXXXX (XXXXX), serial number XXXXX, is not valid for code signing. It may have been revoked or expired.Anyone else experiencing the same? I've tried doing everything from deleting the derived folder, to trying to reset and create new certificates to trying different versions of Xcode. Everything fails and I get a prolonged Waiting to repair message first and then this.
6
0
14k
Feb ’22