Search results for

“translate scheme”

6,671 results found

Post

Replies

Boosts

Views

Activity

linking error file cannot be open()ed, errno=2
I have been learning from the Apple Developer tutorials and I got stuck on the ScoreKeeper chapter with Testing. Since my Macbook Pro 2017 can only use Xcode 15.2 as the highest level, I am having issues with it. I saw a forum post that a certain level of Swift and the tool chain would fix this. I attempted to install Swift 5.10.1 to then realize I only had Xcode 15.2 not 15.3, so I had to attempt to install Swift 5.9. Since neither option worked, I uninstalled Xcode and removed any extra files along with swift packages, minus my projects, to redownload and reinstall Xcode 15.2. Now I am having issues with building the scheme, and I get link error,s and they pertain to Swift 5.10.1, which I had not installed any Swift packages after the Xcode reinstallation. I have tried another previous project even a new one same error. This was 7/30/25, as of today 7/31 I tried to install Swift 5.9 thinking it would overwrite or downgrade the package, no such luck. The file path in the error stops at the /.../...R
2
0
148
Jul ’25
Reply to Localizing prompts that has string interpolated generable objects
To create a prompt object with a mix of localized strings and Generable objects, you can pass your Generable directly to the Prompt initializer: Prompt { String(localized: Given the following workout routine, suggest one additional exercise to complement it:) routine } Instead of localizing the prompt, you can also prompt the model in English, and instruct it to generate a localized result. You may then find it easier to iterate over the prompt like this over relying on external translators to create a localized prompt for you. // After checking that `locale` is supported by the model: let languageName = Locale(identifier: en).localizedString(forLanguageCode: locale.languageCode) Prompt { Given the following workout routine, suggest one additional exercise to complement it. Respond in (languageName). routine }
Jul ’25
XCode 26 beta 4 Playground macro issue
Using the #Playground macro in beta 3 worked fine, but the Playgrounds package appears to be missing in beta 4. import Playgrounds #Playground { print(🚀 Playground is active) } Canvas error message: Cannot find playgrounds Check whether the playground is compiled for the current scheme and OS of the selected device. There could be compile time checks filtering playgrounds out. Check for dead code stripping or other settings that could exclude playgrounds from the final binary.
1
0
158
Jul ’25
Reply to Xcode 26 Beta 4 Build Failures
I'm here to report that I'm running into exactly the same. Interesting enough: it only happens to some of my xcodebuild commands, even though they're exactly the same apart from the package they're testing. So, I have a self-hosted GitHub Actions pipeline. The first package tested runs into this error: /Applications/Xcode-26.0.0-Beta.4.app/Contents/Developer/usr/bin/xcodebuild -scheme SimulatorCapturing -destination platform=macOS -resultBundlePath /Users/avanderlee/Developer/actions-runner/_work/RocketSim/RocketSim/fastlane/../build/reports/SimulatorCapturing.xcresult -parallel-testing-enabled NO CI=true RECORD_SNAPSHOTS= build test But the next steps don't. This is an example of a another step that succeeds: [13:27:40]: ▸ /Applications/Xcode-26.0.0-Beta.4.app/Contents/Developer/usr/bin/xcodebuild -scheme ShellKit -destination platform=macOS -resultBundlePath /Users/avanderlee/Developer/actions-runner/_work/RocketSim/RocketSim/fastlane/../build/reports/ShellKit.xcresult -parallel-testing-en
Jul ’25
Reply to es_mute_path() vs. deprecated es_mute_path_literal() - incompatibility and wrong documentation
But when I use the newer API (that you say is identical to the old, or rather that the 'old' API translates to the newer) This caught my eye so I went back over your code and the problem is that you're NOT making the same API call. Here is the code from your original post: res = es_mute_path(self.esClient, [mutePath UTF8String], ES_MUTE_PATH_TYPE_TARGET_LITERAL); You passed ES_MUTE_PATH_TYPE_TARGET_LITERAL, which means: ES_MUTE_PATH_TYPE_TARGET_LITERAL-> The command targets this specific You should have passed ES_MUTE_PATH_TYPE_LITERAL, which means: ES_MUTE_PATH_TYPE_LITERAL-> The executable path is I actually copied that mistake in my previous reply so, correcting my mistake, these calls are direct equivalents. res = es_mute_path_literal(...); and res = es_mute_path(..., ES_MUTE_PATH_TYPE_LITERAL); Finally, on this point: I don't know how to extract a simple C project to demonstrate the issue, because my code is big and quite complicated, but I will make an attempt to provide such a sample. Th
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
ProductView failed to trigger purcahse flow.
Hi, My app has an IAP and the view that let user to purchase is simply a ProductView. The purchase flow should be handled by the ProductView itself. I have tested the app with xcode storekit configuration, xcode run with sandbox account and also TestFlight environment as well. The purchase is triggered and the app feature is unlocked after purchase. However, I keep getting app review team feedback with the following problem: Bug description: the purchase button is greyed out after we tapped on it, however, there's no purchase flow popped up I have tried multiple things. Building with xcode cloud, removing the storekit configuration from the build scheme. But none can get the app review team to get through the problem. The IAP is not available in certain region. In that case, the app will show a message. However, the app review attached an screenshot which shows the product view. The view that allow users to purchase if let product = store.products.first(where: { $0.id == com.xxx.xxxxxxx }) { // If th
1
0
121
Jul ’25
Reply to BlendShapes don’t animate while playing animation in RealityKit
The goal is to play facial expressions (like blinking or talking) while a body animation (like waving) is playing. I'm actually working on something similar, wondering the same question. Model imported from usdz with a list of animations (walk, idle, etc). E.g. entity.playAnimation(animations[index], transitionDuration: 0.2, startsPaused: false) I can manipulate joints for the neck or jaw programmatically to adjust the model. By doing: // input variable mouthOpen: Float let target = Root_M/.../Jaw_M var newPose = basePose guard let index = newPose.jointNames.firstIndex(of: target) else { return } let baseTransform = basePose.jointTransforms[index] let maxAngle: Float = 40 let angle: Float = maxAngle * mouthOpen * (.pi / 180) let extraRot = simd_quatf(angle: angle, axis: simd_float3(x: 0, y: 0, z: 1)) newPose.jointTransforms[index] = Transform( scale: baseTransform.scale, rotation: baseTransform.rotation * extraRot, translation: baseTransform.translation ) skeletalComponent.poses.default = newPose cre
Topic: Graphics & Games SubTopic: RealityKit Tags:
Jul ’25
Reply to es_mute_path() vs. deprecated es_mute_path_literal() - incompatibility and wrong documentation
The edge cases and qualifiers you provide here are very far from my needs. Most executables I want to mute are well protected by SIP, and will never move (MacOS private frameworks, daemons etc. plus few third-party that are also very well defined). My issue is very blunt. I mute a simple and perfect executable path. Here are some - my list is much longer, but you'll get the idea: +(NSSet *) baseBinaryPathWhitelist { static NSSet *_baseBinaryPath = nil; // any executable in these specific paths will be ignored static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ _baseBinaryPath = [NSSet setWithArray: @[ NSProcessInfo.processInfo.arguments[0], // don't inspect our own ITProtector process. @/sbin/launchd, @/bin/launchctl, @/bin/ps, @/bin/sleep, @/usr/bin/dscl, @/usr/bin/log, @/usr/bin/vmmap, @/usr/sbin/syslogd, @/usr/sbin/spindump, @/usr/sbin/usernoted, @/usr/sbin/securityd, @/usr/sbin/ipconfig, @/usr/libexec/biomesyncd, @/usr/libexec/logd]; But when I use the newer API (that you say is identical t
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
iOS 26 web page with script is terminated on custom scheme WKURLSchemeHandler
Something has changed in iOS 26 and now if custom scheme is used and web page contains scripts WebKit is terminated. 0x1130bc170 - [PID=47858] WebProcessProxy::didClose: (web process 0 crash) 0x1130bc170 - [PID=47858] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash final class CustomSchemeViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let sampleConfiguration = WKWebViewConfiguration() sampleConfiguration.setURLSchemeHandler( SampleURLSchemeHandler(), forURLScheme: sample ) let webView = WKWebView(frame: view.bounds, configuration: sampleConfiguration) webView.autoresizingMask = [.flexibleWidth, .flexibleHeight] view.addSubview(webView) webView.navigationDelegate = self webView.load(URLRequest(url: URL(string: sample://pages/sample.html)!)) } } extension CustomSchemeViewController: WKNavigationDelegate { func webViewWebContentProcessDidTerminate(_ webView: WKWebView) { print(webViewWebContentProcessDidTerminate) } } final class SampleURLSchemeHa
2
0
285
Jul ’25
Running iOS app on MacOS error: This app cannot be installed because its integrity could not be verified.
The attached file bellow contains the full error error I clone this repo to my mac, change team id and group, and run it in Xcode: https://github.com/protonpass/ios-pass There's no issue when I ran it with the Debug configuration, but when I go to Product > Scheme > Edit Scheme and change the iOS target build configuration to Release then I got that error above. I have tried Archive and export the ipa, verify that the provisioning profile contains my Mac UDID, but when double clicking the ipa to install, I also got the error This app cannot be installed because its integrity could not be verified.
1
0
328
Jul ’25
Mail relay not allowed
Dear Sir or Madam, Thank you for your continued support. My name is Sato from atmos. We are currently working with a vendor to implement Apple Sign In as a login method for our app, but we are encountering some issues and would like to contact you about them. The Apple Sign In functionality itself is almost complete, but during verification, email relay is not permitted by Apple when Apple Sign In is used with a non-public email address, making it impossible to complete email relay verification for users. We have reviewed the settings in “/account/resources/services/configure,” checked your FAQ, and explored all other possible solutions within our scope, but the situation remains unchanged. Would it be possible for your team to confirm the cause of the email relay not being permitted? Thank you for your assistance. atmos Sato Translated with DeepL.com (free version)
1
0
191
Jul ’25
Issue with CXSetTranslatingCallAction – "Couldn't communicate with a helper application" error
Hi Team, We are encountering issues while implementing the live translation feature in our VoIP application using CallKit on iOS 26.0. Specifically, we are attempting to use the CXSetTranslatingCallAction transaction to enable translation programmatically during an active call. However, executing this transaction results in the following error: Couldn't communicate with a helper application. This occurs consistently when we attempt to trigger the translation setup without user interaction. We are seeking clarification on the following points: Is it possible to enable CallKit's live translation feature using CXSetTranslatingCallAction purely programmatically, without requiring the user to interact with the system-provided Call UI? What does the above error indicate in the context of CXSetTranslatingCallAction? Are there specific conditions, entitlements, or background service requirements that must be fulfilled to communicate with CallKit? Code snippet: let translationAction
3
0
114
Jul ’25
Reply to Missing StoreKit configuration file option in Xcode
You make no mention of where you are looking in Xcode for the option. First, you need to add the StoreKit configuration file to your project properly. Use Xcode -> File -> New -> File from template... Then on the template screen, scroll down to the Other section and select StoreKit Configuration File. Once that file is setup, you make use of it by going to Xcode -> Product -> Scheme -> Edit Scheme. Then select the Run/Debug tab on the left. Then select the Options tab on the right. There you will see the StoreKit Configuration option where you can select the configuration file you created as described above.
Jul ’25
Reply to linking error file cannot be open()ed, errno=2
I found a solution to the build scheme. Xcode>Toolchains>select Default or whatever Xcode version you have Xcode15.2. Then Clean Build Folder, and content view is back. As for Testing, still nothing.
Replies
Boosts
Views
Activity
Jul ’25
linking error file cannot be open()ed, errno=2
I have been learning from the Apple Developer tutorials and I got stuck on the ScoreKeeper chapter with Testing. Since my Macbook Pro 2017 can only use Xcode 15.2 as the highest level, I am having issues with it. I saw a forum post that a certain level of Swift and the tool chain would fix this. I attempted to install Swift 5.10.1 to then realize I only had Xcode 15.2 not 15.3, so I had to attempt to install Swift 5.9. Since neither option worked, I uninstalled Xcode and removed any extra files along with swift packages, minus my projects, to redownload and reinstall Xcode 15.2. Now I am having issues with building the scheme, and I get link error,s and they pertain to Swift 5.10.1, which I had not installed any Swift packages after the Xcode reinstallation. I have tried another previous project even a new one same error. This was 7/30/25, as of today 7/31 I tried to install Swift 5.9 thinking it would overwrite or downgrade the package, no such luck. The file path in the error stops at the /.../...R
Replies
2
Boosts
0
Views
148
Activity
Jul ’25
Reply to Localizing prompts that has string interpolated generable objects
To create a prompt object with a mix of localized strings and Generable objects, you can pass your Generable directly to the Prompt initializer: Prompt { String(localized: Given the following workout routine, suggest one additional exercise to complement it:) routine } Instead of localizing the prompt, you can also prompt the model in English, and instruct it to generate a localized result. You may then find it easier to iterate over the prompt like this over relying on external translators to create a localized prompt for you. // After checking that `locale` is supported by the model: let languageName = Locale(identifier: en).localizedString(forLanguageCode: locale.languageCode) Prompt { Given the following workout routine, suggest one additional exercise to complement it. Respond in (languageName). routine }
Replies
Boosts
Views
Activity
Jul ’25
XCode 26 beta 4 Playground macro issue
Using the #Playground macro in beta 3 worked fine, but the Playgrounds package appears to be missing in beta 4. import Playgrounds #Playground { print(🚀 Playground is active) } Canvas error message: Cannot find playgrounds Check whether the playground is compiled for the current scheme and OS of the selected device. There could be compile time checks filtering playgrounds out. Check for dead code stripping or other settings that could exclude playgrounds from the final binary.
Replies
1
Boosts
0
Views
158
Activity
Jul ’25
Reply to Xcode 26 Beta 4 Build Failures
I'm here to report that I'm running into exactly the same. Interesting enough: it only happens to some of my xcodebuild commands, even though they're exactly the same apart from the package they're testing. So, I have a self-hosted GitHub Actions pipeline. The first package tested runs into this error: /Applications/Xcode-26.0.0-Beta.4.app/Contents/Developer/usr/bin/xcodebuild -scheme SimulatorCapturing -destination platform=macOS -resultBundlePath /Users/avanderlee/Developer/actions-runner/_work/RocketSim/RocketSim/fastlane/../build/reports/SimulatorCapturing.xcresult -parallel-testing-enabled NO CI=true RECORD_SNAPSHOTS= build test But the next steps don't. This is an example of a another step that succeeds: [13:27:40]: ▸ /Applications/Xcode-26.0.0-Beta.4.app/Contents/Developer/usr/bin/xcodebuild -scheme ShellKit -destination platform=macOS -resultBundlePath /Users/avanderlee/Developer/actions-runner/_work/RocketSim/RocketSim/fastlane/../build/reports/ShellKit.xcresult -parallel-testing-en
Replies
Boosts
Views
Activity
Jul ’25
Reply to es_mute_path() vs. deprecated es_mute_path_literal() - incompatibility and wrong documentation
But when I use the newer API (that you say is identical to the old, or rather that the 'old' API translates to the newer) This caught my eye so I went back over your code and the problem is that you're NOT making the same API call. Here is the code from your original post: res = es_mute_path(self.esClient, [mutePath UTF8String], ES_MUTE_PATH_TYPE_TARGET_LITERAL); You passed ES_MUTE_PATH_TYPE_TARGET_LITERAL, which means: ES_MUTE_PATH_TYPE_TARGET_LITERAL-> The command targets this specific You should have passed ES_MUTE_PATH_TYPE_LITERAL, which means: ES_MUTE_PATH_TYPE_LITERAL-> The executable path is I actually copied that mistake in my previous reply so, correcting my mistake, these calls are direct equivalents. res = es_mute_path_literal(...); and res = es_mute_path(..., ES_MUTE_PATH_TYPE_LITERAL); Finally, on this point: I don't know how to extract a simple C project to demonstrate the issue, because my code is big and quite complicated, but I will make an attempt to provide such a sample. Th
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’25
ProductView failed to trigger purcahse flow.
Hi, My app has an IAP and the view that let user to purchase is simply a ProductView. The purchase flow should be handled by the ProductView itself. I have tested the app with xcode storekit configuration, xcode run with sandbox account and also TestFlight environment as well. The purchase is triggered and the app feature is unlocked after purchase. However, I keep getting app review team feedback with the following problem: Bug description: the purchase button is greyed out after we tapped on it, however, there's no purchase flow popped up I have tried multiple things. Building with xcode cloud, removing the storekit configuration from the build scheme. But none can get the app review team to get through the problem. The IAP is not available in certain region. In that case, the app will show a message. However, the app review attached an screenshot which shows the product view. The view that allow users to purchase if let product = store.products.first(where: { $0.id == com.xxx.xxxxxxx }) { // If th
Replies
1
Boosts
0
Views
121
Activity
Jul ’25
Reply to BlendShapes don’t animate while playing animation in RealityKit
The goal is to play facial expressions (like blinking or talking) while a body animation (like waving) is playing. I'm actually working on something similar, wondering the same question. Model imported from usdz with a list of animations (walk, idle, etc). E.g. entity.playAnimation(animations[index], transitionDuration: 0.2, startsPaused: false) I can manipulate joints for the neck or jaw programmatically to adjust the model. By doing: // input variable mouthOpen: Float let target = Root_M/.../Jaw_M var newPose = basePose guard let index = newPose.jointNames.firstIndex(of: target) else { return } let baseTransform = basePose.jointTransforms[index] let maxAngle: Float = 40 let angle: Float = maxAngle * mouthOpen * (.pi / 180) let extraRot = simd_quatf(angle: angle, axis: simd_float3(x: 0, y: 0, z: 1)) newPose.jointTransforms[index] = Transform( scale: baseTransform.scale, rotation: baseTransform.rotation * extraRot, translation: baseTransform.translation ) skeletalComponent.poses.default = newPose cre
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to es_mute_path() vs. deprecated es_mute_path_literal() - incompatibility and wrong documentation
The edge cases and qualifiers you provide here are very far from my needs. Most executables I want to mute are well protected by SIP, and will never move (MacOS private frameworks, daemons etc. plus few third-party that are also very well defined). My issue is very blunt. I mute a simple and perfect executable path. Here are some - my list is much longer, but you'll get the idea: +(NSSet *) baseBinaryPathWhitelist { static NSSet *_baseBinaryPath = nil; // any executable in these specific paths will be ignored static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ _baseBinaryPath = [NSSet setWithArray: @[ NSProcessInfo.processInfo.arguments[0], // don't inspect our own ITProtector process. @/sbin/launchd, @/bin/launchctl, @/bin/ps, @/bin/sleep, @/usr/bin/dscl, @/usr/bin/log, @/usr/bin/vmmap, @/usr/sbin/syslogd, @/usr/sbin/spindump, @/usr/sbin/usernoted, @/usr/sbin/securityd, @/usr/sbin/ipconfig, @/usr/libexec/biomesyncd, @/usr/libexec/logd]; But when I use the newer API (that you say is identical t
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’25
iOS 26 web page with script is terminated on custom scheme WKURLSchemeHandler
Something has changed in iOS 26 and now if custom scheme is used and web page contains scripts WebKit is terminated. 0x1130bc170 - [PID=47858] WebProcessProxy::didClose: (web process 0 crash) 0x1130bc170 - [PID=47858] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash final class CustomSchemeViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let sampleConfiguration = WKWebViewConfiguration() sampleConfiguration.setURLSchemeHandler( SampleURLSchemeHandler(), forURLScheme: sample ) let webView = WKWebView(frame: view.bounds, configuration: sampleConfiguration) webView.autoresizingMask = [.flexibleWidth, .flexibleHeight] view.addSubview(webView) webView.navigationDelegate = self webView.load(URLRequest(url: URL(string: sample://pages/sample.html)!)) } } extension CustomSchemeViewController: WKNavigationDelegate { func webViewWebContentProcessDidTerminate(_ webView: WKWebView) { print(webViewWebContentProcessDidTerminate) } } final class SampleURLSchemeHa
Replies
2
Boosts
0
Views
285
Activity
Jul ’25
Reply to ASWebAuthenticationSession + Universal Links Callback Issue
The URL loaded as part of ASWebAuthentication is not redirecting back into our application with Universal Link option, however it works perfectly with CustomURL scheme. Universal Link in combination with ASWebAuth is the issue and area of the concern. Does Universal Link and ASWebAuth combination to get the redirection is known issue in Apple ? Thank you.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’25
Running iOS app on MacOS error: This app cannot be installed because its integrity could not be verified.
The attached file bellow contains the full error error I clone this repo to my mac, change team id and group, and run it in Xcode: https://github.com/protonpass/ios-pass There's no issue when I ran it with the Debug configuration, but when I go to Product > Scheme > Edit Scheme and change the iOS target build configuration to Release then I got that error above. I have tried Archive and export the ipa, verify that the provisioning profile contains my Mac UDID, but when double clicking the ipa to install, I also got the error This app cannot be installed because its integrity could not be verified.
Replies
1
Boosts
0
Views
328
Activity
Jul ’25
Mail relay not allowed
Dear Sir or Madam, Thank you for your continued support. My name is Sato from atmos. We are currently working with a vendor to implement Apple Sign In as a login method for our app, but we are encountering some issues and would like to contact you about them. The Apple Sign In functionality itself is almost complete, but during verification, email relay is not permitted by Apple when Apple Sign In is used with a non-public email address, making it impossible to complete email relay verification for users. We have reviewed the settings in “/account/resources/services/configure,” checked your FAQ, and explored all other possible solutions within our scope, but the situation remains unchanged. Would it be possible for your team to confirm the cause of the email relay not being permitted? Thank you for your assistance. atmos Sato Translated with DeepL.com (free version)
Replies
1
Boosts
0
Views
191
Activity
Jul ’25
Issue with CXSetTranslatingCallAction – "Couldn't communicate with a helper application" error
Hi Team, We are encountering issues while implementing the live translation feature in our VoIP application using CallKit on iOS 26.0. Specifically, we are attempting to use the CXSetTranslatingCallAction transaction to enable translation programmatically during an active call. However, executing this transaction results in the following error: Couldn't communicate with a helper application. This occurs consistently when we attempt to trigger the translation setup without user interaction. We are seeking clarification on the following points: Is it possible to enable CallKit's live translation feature using CXSetTranslatingCallAction purely programmatically, without requiring the user to interact with the system-provided Call UI? What does the above error indicate in the context of CXSetTranslatingCallAction? Are there specific conditions, entitlements, or background service requirements that must be fulfilled to communicate with CallKit? Code snippet: let translationAction
Replies
3
Boosts
0
Views
114
Activity
Jul ’25
Reply to Missing StoreKit configuration file option in Xcode
You make no mention of where you are looking in Xcode for the option. First, you need to add the StoreKit configuration file to your project properly. Use Xcode -> File -> New -> File from template... Then on the template screen, scroll down to the Other section and select StoreKit Configuration File. Once that file is setup, you make use of it by going to Xcode -> Product -> Scheme -> Edit Scheme. Then select the Run/Debug tab on the left. Then select the Options tab on the right. There you will see the StoreKit Configuration option where you can select the configuration file you created as described above.
Replies
Boosts
Views
Activity
Jul ’25