Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Missing ModuleMap with Docbuild
When performing xcodebuild docbuild I'm getting an error that I'm missing a module map for one of my Swift Packages I've included in the project. This is because I want to build the docbuild for iOS only, but have the Swift Package as a macOS only import fatal error: module map file '/Users/administrator/Library/Developer/Xcode/DerivedData/AppName/Build/Intermediates.noindex/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/SQLite.modulemap' not found The docbuild is as follows xcodebuild docbuild -scheme XXX -derivedDataPath ${DD_LOCATION} -configuration Release -sdk iphoneos SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES BUILD_DIR=${WORKSPACE}/build DEVELOPMENT_TEAM=XXX The Swift package mentioned is added as macOS only with an optional linkage and I have excluded the paths from source files which makes me able to run the app via xcode. Is there anything else I should be doing to exclude this from being added to the iOS side of our project? Thanks in advance for any help. I'm po
1
0
1.7k
Feb ’24
Reply to 关于本地回环地址调节优先级的问题
Sadly, I don’t read Chinese so I’m basing my response on a machine translation of your question. It seems like: You’re on the Mac. You have a product that communicates using TCP/IP over the loopback interface. You’d like to use a packet trace to monitor that communication. If so, you can do that using standard packet tracing techniques. The trick is to specify the loopback interface (lo0) when you start the trace. Here’s how I tested this today: On macOS 15.4, in one Terminal window, I started nc to listen on port 12345 of 127.0.0.1: % nc -l 127.0.0.1 12345 In another window, I told nc to connect to that listener: % nc 127.0.0.1 12345 In a third window, I ran tcpdump like so: % sudo tcpdump -n -i lo0 port 12345 I typed some text into the window from step 2. It generated traffic on the loopback interface which was displayed by tcpdump. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Apr ’25
Reply to Why slower with larger threadgroup memory?
The answer would be usually, no. The basic idea underlying modern GPUs is they try to get around memory latency by having A LOT of parallelism. The cores are usually designed to execute several workgroups at the same time. Some hardware (not sure about Apple Silicon, but I knew several CUDA machines that have this) wants you to have several thread groups AND several simd groups/warps in each threadgroup to reach peak efficiency. My understanding is, you even proved this yourself - you got 250GFlops when asking for 32kB and 400GFlops when asking for 8kB of threadgroup memory. That memory request translates into I want only one threadgroup to run on each core vs I am ok with up to 4 thread groups running on each core. If I were you, I would immediately try with 4kb and 16kb, so with up to 8 and up to 2 thread groups, then check performance.
Apr ’25
Xcode stuck on "Waiting to attach [...] on Apple Watch Series 9
Hi everyone, Since a couple days, I can't launch my watchOS widget extension in the Xcode simulator. After launching the scheme in Debug or Release, I always end up with Xcode stuck on Waiting to attach to watchOSWidgets on Apple Watch Series 9. I already uninstalled and reinstalled Xcode and cleared all Xcode related folders in Library. I also tried to use Debug > Attach to process, then Xcode goes into Running watchOSWidgets on Apple Watch Series 9 but no widgets are installed, neither the app so I cannot debug anything. I tried on different simulators, always end up with the same problem. However, the watch app scheme works fine, in Debug or Release, it is only the widgets extension which doesn't work anymore. This seems related to my computer, because if I create an empty project with a default watch widget extension, I still have the same issue. I really don't know what to do... Does anyone has a clue ? Thanks
6
0
903
Dec ’24
Adjust Brilliance of UIImage
I am working on an iOS camera app that requires the application of some filters on the image after its capture to enhance its color scheme. I want to apply a Brilliance filter just like we adjust the brilliance of an image in Photos app in iPhone. Is there a way I can implement the brilliance with a slider in my iOS app? I already have explored the 'CIFilter' Library and there might be no filter available for the Brilliance.
1
0
956
Sep ’22
Receive Custom URL Parameters
Hello! I’m trying to handle custom URLs (e.g., customurl://open?param=value) that open the app. However, while the app launches via the custom URL as expected, the parameters are not being passed to or are accessible from the iOS-specific implementation. Currently, if I open a custom URL via Safari, the app gets launched but the custom URL and parameters are not accessible. customurl://open?hello=test According to the iOS Docs ( https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app#Handle-incoming-URLs ) any URLs should be passed to: func application(_ application: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:] ) -> Bool I do not register the above application function to be called but instead this one is executed during app start with launchOptions always being nil: func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool This is th
4
0
219
Apr ’25
Reply to What's the non-sandboxed path to Downloads folder on the iPhone
On iOS there’s no supported way to construct paths to items outside of your apps containers. The only supported way to get such paths is to ask the user for them, using the file selection API from the UI framework you’re using. Furthermore, this is a concern: [quote='781930021, delingren, /thread/781930, /profile/delingren'] I know the URL scheme is shareddocuments [/quote] AFAIK this is not a a documented URL scheme. I discuss that topic in more detail in Supported URL Schemes. WARNING Don’t build a product that relies on unsupported implementation details like. It’s very likely that your product will break in future releases of iOS and, if it does, there’s a good chance that there’ll be no path forward for your app. If you’d like us to add a supported mechanism to achieve this goal, I encourage you to file an enhancement request describing your requirements. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Appl
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’25
What's the non-sandboxed path to Downloads folder on the iPhone
I'm trying to construct a URL that, when tapped, would launch Files app and open the Downloads folder on the iPhone (not in iCloud Drive). I know the URL scheme is shareddocuments but I can't figure out the path. I have tried a few things including writing a simple iOS app and using Scriptable app. But I always get a sandboxed path such as /private/var/mobile/Containers/Data/Application/87CC2F48-AF1C-4C80-8D75-B6CC1FC642E3/Downloads/. But that wouldn't work across devices. Does anyone happen to know the path or a method to obtain the non-sandboxed path? Thanks. PS I already figured out the Downloads folder in iCloud Drive, which is shareddocuments:///private/var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/Downloads. But what I need is the one on the iPhone.
1
0
162
Apr ’25
What can trigger "App uses the itms-services URL scheme to install an app" rejection?
I'm an indie developer. My latest minor update for my game which has been on the Mac App Store for 13 years and which has spent time at #1 on the download charts just started getting rejected for the following reason: Guideline 2.5.2 - Performance - Software Requirements The app installed or launched executable code. Specifically, the app uses the itms-services URL scheme to install an app. However my app is certainly not installing any apps and to the best of my knowlege it is not using any itms/itunes/etc. type URLs in any way, so I can't figure out what would be triggering this claim. Inquiries as to what app I am supposedly installing or what URL I am supposedly using have yielded 'no further information can be provided'. Has anyone run into something similar? Any ideas on obscure scenarios that could trigger this particular rejection? Or any advice on what one should do in my situation? I feel a bit stuck. Has anyone had luck with the appeal process for this sort of thing (to at least get more i
3
0
1.4k
Apr ’25
App not available on Testflight
Hey, I am building an app for the last couple of weeks and always was ablet o upload the Build to AppStoreConnect and test the App on my phone via Testflight. Since last week this fails with every new build. Builds are available for testing - at least thats what AppStoreConnect is saying. When I open Testflight and click on INSTALL, I am getting an error saying (translated from german) App cant be installed. Die requested App is not available or does not exist. When I submit a new build to testflight, I even geht a Push Notification from Testflight that a new Version is available. Reboot device, iOS Update to 17.2.1 - nothing helped. Any ideas?
5
0
940
Jan ’24
Reply to How to set permanent environment variables?
There’s no general-purpose mechanism for you, as a user, to set environment variables on apps. Such a mechanism doesn’t really make sense on the Mac, because Mac apps aren’t supposed to rely on the Unix environment. Of course, that stance breaks down when you start talking about developer tools. It’s not uncommon for developer tools to rely on environment variables. And because of that GUI developer tool will often provide a mechanism for setting environment variables. Xcode is a good example of this, where you can set environment variables for the app you’re debugging in the scheme editor. It’s possible that your developer tool actually has similar support. I recommend that you ask that question via the vendor’s support channel. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Apr ’25
CVPixelBufferCreate EXC_BAD_ACCESS
I am doing something similar to this post Within an AVCaptureDataOutputSynchronizerDelegate method, I create a pixelBuffer using CVPixelBufferCreate with the following attributes: kCVPixelBufferIOSurfacePropertiesKey as String: true, kCVPixelBufferIOSurfaceOpenGLESTextureCompatibilityKey as String: true When I copy the data from the vImagePixelBuffer rotatedImageBuffer, I get the following error: Thread 10: EXC_BAD_ACCESS (code=1, address=0x14caa8000) I get the same error with memcpy and data.copyBytes (not running them at the same time obviously). If I use CVPixelBufferCreateWithBytes, I do not get this error. However, CVPixelBufferCreateWithBytes does not let you include attributes (see linked post above). I am using vImage because I need the original CVPixelBuffer from the camera output and a rotated version with a different color scheme. // Copy to pixel buffer let attributes: NSDictionary = [ true : kCVPixelBufferIOSurfacePropertiesKey, true : kCVPixelBufferIOSurfaceOpenGLESTextureCompatibilityK
1
0
323
Apr ’25
iOS 18 System Bug Causes URL Scheme Failure
iOS 18 System Bug Causes URL Scheme Failure A bug in iOS 18 causes URL Schemes to become invalid through the following steps, resulting in failure to open apps via URL Scheme. Reproduction Steps: Long-press the app icon Select Require Face ID Choose Hide and Require Face ID to hide the app Go to the App Library and locate the hidden app in the Hidden folder Uninstall the hidden app reinstalling the hidden app After reinstalling the app, all configured URL Schemes will become invalid, causing failure when attempting to open the app via URL Scheme. The issue appears to be that after uninstalling a hidden app and reinstalling it, the system fails to restore the app's URL Scheme functionality.
2
0
192
Apr ’25
Reply to iOS 18 Issue: When we add arm64 into Excluded Architecture and try to present screen, Screen will get froze and unable to select images.
Due to the existence of a framework that cannot be replaced temporarily in the project, I can only exclude arm64 in order to run it on the M-series chip simulator and reproduce this issue. Manifested as the emulator running on arm64 architecture and the project architecture being x86 At present, the image selector can only be used on real machines. The above is from automatic translation.
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’25
Missing ModuleMap with Docbuild
When performing xcodebuild docbuild I'm getting an error that I'm missing a module map for one of my Swift Packages I've included in the project. This is because I want to build the docbuild for iOS only, but have the Swift Package as a macOS only import fatal error: module map file '/Users/administrator/Library/Developer/Xcode/DerivedData/AppName/Build/Intermediates.noindex/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/SQLite.modulemap' not found The docbuild is as follows xcodebuild docbuild -scheme XXX -derivedDataPath ${DD_LOCATION} -configuration Release -sdk iphoneos SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES BUILD_DIR=${WORKSPACE}/build DEVELOPMENT_TEAM=XXX The Swift package mentioned is added as macOS only with an optional linkage and I have excluded the paths from source files which makes me able to run the app via xcode. Is there anything else I should be doing to exclude this from being added to the iOS side of our project? Thanks in advance for any help. I'm po
Replies
1
Boosts
0
Views
1.7k
Activity
Feb ’24
Reply to 关于本地回环地址调节优先级的问题
Sadly, I don’t read Chinese so I’m basing my response on a machine translation of your question. It seems like: You’re on the Mac. You have a product that communicates using TCP/IP over the loopback interface. You’d like to use a packet trace to monitor that communication. If so, you can do that using standard packet tracing techniques. The trick is to specify the loopback interface (lo0) when you start the trace. Here’s how I tested this today: On macOS 15.4, in one Terminal window, I started nc to listen on port 12345 of 127.0.0.1: % nc -l 127.0.0.1 12345 In another window, I told nc to connect to that listener: % nc 127.0.0.1 12345 In a third window, I ran tcpdump like so: % sudo tcpdump -n -i lo0 port 12345 I typed some text into the window from step 2. It generated traffic on the loopback interface which was displayed by tcpdump. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Apr ’25
Reply to Why slower with larger threadgroup memory?
The answer would be usually, no. The basic idea underlying modern GPUs is they try to get around memory latency by having A LOT of parallelism. The cores are usually designed to execute several workgroups at the same time. Some hardware (not sure about Apple Silicon, but I knew several CUDA machines that have this) wants you to have several thread groups AND several simd groups/warps in each threadgroup to reach peak efficiency. My understanding is, you even proved this yourself - you got 250GFlops when asking for 32kB and 400GFlops when asking for 8kB of threadgroup memory. That memory request translates into I want only one threadgroup to run on each core vs I am ok with up to 4 thread groups running on each core. If I were you, I would immediately try with 4kb and 16kb, so with up to 8 and up to 2 thread groups, then check performance.
Replies
Boosts
Views
Activity
Apr ’25
Xcode stuck on "Waiting to attach [...] on Apple Watch Series 9
Hi everyone, Since a couple days, I can't launch my watchOS widget extension in the Xcode simulator. After launching the scheme in Debug or Release, I always end up with Xcode stuck on Waiting to attach to watchOSWidgets on Apple Watch Series 9. I already uninstalled and reinstalled Xcode and cleared all Xcode related folders in Library. I also tried to use Debug > Attach to process, then Xcode goes into Running watchOSWidgets on Apple Watch Series 9 but no widgets are installed, neither the app so I cannot debug anything. I tried on different simulators, always end up with the same problem. However, the watch app scheme works fine, in Debug or Release, it is only the widgets extension which doesn't work anymore. This seems related to my computer, because if I create an empty project with a default watch widget extension, I still have the same issue. I really don't know what to do... Does anyone has a clue ? Thanks
Replies
6
Boosts
0
Views
903
Activity
Dec ’24
Adjust Brilliance of UIImage
I am working on an iOS camera app that requires the application of some filters on the image after its capture to enhance its color scheme. I want to apply a Brilliance filter just like we adjust the brilliance of an image in Photos app in iPhone. Is there a way I can implement the brilliance with a slider in my iOS app? I already have explored the 'CIFilter' Library and there might be no filter available for the Brilliance.
Replies
1
Boosts
0
Views
956
Activity
Sep ’22
Receive Custom URL Parameters
Hello! I’m trying to handle custom URLs (e.g., customurl://open?param=value) that open the app. However, while the app launches via the custom URL as expected, the parameters are not being passed to or are accessible from the iOS-specific implementation. Currently, if I open a custom URL via Safari, the app gets launched but the custom URL and parameters are not accessible. customurl://open?hello=test According to the iOS Docs ( https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app#Handle-incoming-URLs ) any URLs should be passed to: func application(_ application: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:] ) -> Bool I do not register the above application function to be called but instead this one is executed during app start with launchOptions always being nil: func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool This is th
Replies
4
Boosts
0
Views
219
Activity
Apr ’25
Reply to What's the non-sandboxed path to Downloads folder on the iPhone
On iOS there’s no supported way to construct paths to items outside of your apps containers. The only supported way to get such paths is to ask the user for them, using the file selection API from the UI framework you’re using. Furthermore, this is a concern: [quote='781930021, delingren, /thread/781930, /profile/delingren'] I know the URL scheme is shareddocuments [/quote] AFAIK this is not a a documented URL scheme. I discuss that topic in more detail in Supported URL Schemes. WARNING Don’t build a product that relies on unsupported implementation details like. It’s very likely that your product will break in future releases of iOS and, if it does, there’s a good chance that there’ll be no path forward for your app. If you’d like us to add a supported mechanism to achieve this goal, I encourage you to file an enhancement request describing your requirements. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Appl
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’25
What's the non-sandboxed path to Downloads folder on the iPhone
I'm trying to construct a URL that, when tapped, would launch Files app and open the Downloads folder on the iPhone (not in iCloud Drive). I know the URL scheme is shareddocuments but I can't figure out the path. I have tried a few things including writing a simple iOS app and using Scriptable app. But I always get a sandboxed path such as /private/var/mobile/Containers/Data/Application/87CC2F48-AF1C-4C80-8D75-B6CC1FC642E3/Downloads/. But that wouldn't work across devices. Does anyone happen to know the path or a method to obtain the non-sandboxed path? Thanks. PS I already figured out the Downloads folder in iCloud Drive, which is shareddocuments:///private/var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/Downloads. But what I need is the one on the iPhone.
Replies
1
Boosts
0
Views
162
Activity
Apr ’25
What can trigger "App uses the itms-services URL scheme to install an app" rejection?
I'm an indie developer. My latest minor update for my game which has been on the Mac App Store for 13 years and which has spent time at #1 on the download charts just started getting rejected for the following reason: Guideline 2.5.2 - Performance - Software Requirements The app installed or launched executable code. Specifically, the app uses the itms-services URL scheme to install an app. However my app is certainly not installing any apps and to the best of my knowlege it is not using any itms/itunes/etc. type URLs in any way, so I can't figure out what would be triggering this claim. Inquiries as to what app I am supposedly installing or what URL I am supposedly using have yielded 'no further information can be provided'. Has anyone run into something similar? Any ideas on obscure scenarios that could trigger this particular rejection? Or any advice on what one should do in my situation? I feel a bit stuck. Has anyone had luck with the appeal process for this sort of thing (to at least get more i
Replies
3
Boosts
0
Views
1.4k
Activity
Apr ’25
App not available on Testflight
Hey, I am building an app for the last couple of weeks and always was ablet o upload the Build to AppStoreConnect and test the App on my phone via Testflight. Since last week this fails with every new build. Builds are available for testing - at least thats what AppStoreConnect is saying. When I open Testflight and click on INSTALL, I am getting an error saying (translated from german) App cant be installed. Die requested App is not available or does not exist. When I submit a new build to testflight, I even geht a Push Notification from Testflight that a new Version is available. Reboot device, iOS Update to 17.2.1 - nothing helped. Any ideas?
Replies
5
Boosts
0
Views
940
Activity
Jan ’24
Reply to How to set permanent environment variables?
There’s no general-purpose mechanism for you, as a user, to set environment variables on apps. Such a mechanism doesn’t really make sense on the Mac, because Mac apps aren’t supposed to rely on the Unix environment. Of course, that stance breaks down when you start talking about developer tools. It’s not uncommon for developer tools to rely on environment variables. And because of that GUI developer tool will often provide a mechanism for setting environment variables. Xcode is a good example of this, where you can set environment variables for the app you’re debugging in the scheme editor. It’s possible that your developer tool actually has similar support. I recommend that you ask that question via the vendor’s support channel. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Apr ’25
CVPixelBufferCreate EXC_BAD_ACCESS
I am doing something similar to this post Within an AVCaptureDataOutputSynchronizerDelegate method, I create a pixelBuffer using CVPixelBufferCreate with the following attributes: kCVPixelBufferIOSurfacePropertiesKey as String: true, kCVPixelBufferIOSurfaceOpenGLESTextureCompatibilityKey as String: true When I copy the data from the vImagePixelBuffer rotatedImageBuffer, I get the following error: Thread 10: EXC_BAD_ACCESS (code=1, address=0x14caa8000) I get the same error with memcpy and data.copyBytes (not running them at the same time obviously). If I use CVPixelBufferCreateWithBytes, I do not get this error. However, CVPixelBufferCreateWithBytes does not let you include attributes (see linked post above). I am using vImage because I need the original CVPixelBuffer from the camera output and a rotated version with a different color scheme. // Copy to pixel buffer let attributes: NSDictionary = [ true : kCVPixelBufferIOSurfacePropertiesKey, true : kCVPixelBufferIOSurfaceOpenGLESTextureCompatibilityK
Replies
1
Boosts
0
Views
323
Activity
Apr ’25
Reply to iOS 18 System Bug Causes URL Scheme Failure
FB17303841 (iOS 18 System Bug Causes URL Scheme Failure)
Replies
Boosts
Views
Activity
Apr ’25
iOS 18 System Bug Causes URL Scheme Failure
iOS 18 System Bug Causes URL Scheme Failure A bug in iOS 18 causes URL Schemes to become invalid through the following steps, resulting in failure to open apps via URL Scheme. Reproduction Steps: Long-press the app icon Select Require Face ID Choose Hide and Require Face ID to hide the app Go to the App Library and locate the hidden app in the Hidden folder Uninstall the hidden app reinstalling the hidden app After reinstalling the app, all configured URL Schemes will become invalid, causing failure when attempting to open the app via URL Scheme. The issue appears to be that after uninstalling a hidden app and reinstalling it, the system fails to restore the app's URL Scheme functionality.
Replies
2
Boosts
0
Views
192
Activity
Apr ’25
Reply to iOS 18 Issue: When we add arm64 into Excluded Architecture and try to present screen, Screen will get froze and unable to select images.
Due to the existence of a framework that cannot be replaced temporarily in the project, I can only exclude arm64 in order to run it on the M-series chip simulator and reproduce this issue. Manifested as the emulator running on arm64 architecture and the project architecture being x86 At present, the image selector can only be used on real machines. The above is from automatic translation.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’25