Search results for

“file uri scheme”

81,708 results found

Post

Replies

Boosts

Views

Activity

Reply to Trouble Testing IAP with Sandbox
UPDATE: I've viewed a WWDC22 video (What's new in StoreKit testing) which says to create a second storekit configuration file syncing it with the in-app purchase defined in Apple Store Connect. The new read-only file is indeed syncing; but, it is STILL NOT WORKING.A print statement to the console, says that, in sandbox mode, requestProducts() in the Store manager is unable to find any products (though it works as expected when the scheme is reading either of the local store kit config files).
Topic: App & System Services SubTopic: StoreKit Tags:
Feb ’23
AssetCacheLocatorService does not support HTTPS URL schemes for PAC
With the release of iPadOS 17 we began noticing that the AssetCacheLocator service on iOS/iPadOS was reliably returning a no caching server response even when we had active caching servers on the network. default 2023-09-27 18:40:17.970429 +1000 AssetCacheLocatorService #11553fbd [AssetCacheLocatorService.queue] found no caching servers This behaviour was also apparent during the beta releases of iPadOS 17 but vanished around beta 8 before returning during the production release. For a bit of back story our network environment makes use of proxy servers which devices are configured to use via PAC discovery methods. Either via specifying a pac url in config payload or via auto-discovery means via DHCP option 252 or dns. We have been compliant with https PAC file delivery since it was first brought in for the iPadOS 15 release. After continued testing the behaviour was being cause by a failure in the trust daemon to validate certificates used in SSL handshakes for the AssetCacheLocatorService. This wou
0
0
1.1k
Oct ’23
unable to run a single unit test (or set of tests) against a scheme
i have a project P living in a workspace with a number of other projects.project P has a test target PT, and that target depends upon resources created by project FR.in the workspace, i have an .xcscheme that builds the dependency FR prior to running target PT properly.and thus, when i perform Cmd-U (Test) for the currently selected .xcscheme PS that corresponds to project P, everything works fine, and the project builds and the tests run.however, if i have updated my source, performed a clean, and then attempt to run a given test by either clicking on its diamond test icon in the source, or by going into the test navigator and choosing either the individual test or the class containing the test to run all tests in it, or even the entire test suite and hitting the run test icon, or right-clicking and performing Test testPX or Run testCasePX or Run PT, the scheme is ignored. it instead only attempts to build the target as depended upon by the test-target.being as that this is part of a workspace, crea
0
0
339
Jan ’16
Reply to "Active scheme does not build this file" Problem
I think you only get this error when you're trying to preview, say, an iOS Home Screen widget but your active scheme is for something else, like a watchOS target. If you're previewing something in an iOS target, make sure to select the scheme that builds the iOS target. If you're trying to preview a watchOS target, select the watchOS scheme, etc.
Jan ’24
iOS 9 LaunchServices: ERROR: There is no registered handler for URL scheme itms-services
We have some in-house apps and before iOS 9, the apps will open a link like itms-services:// after version compare, the new version apps will be downloaded and install.But after we tested on iOS 9, we found the apps cannot open the link itms-services:// link, got error like LaunchServices: ERROR: There is no registered handler for URL scheme itms-servicesThe code we used to update the app:let downloadUrl = NSURL(string: url)UIApplication.sharedApplication().openURL(downloadUrl!)We have tested put itms-services, itms-services:// and the full URL into LSApplicationQueriesSchemes in plist file. But still not work.
1
0
4.9k
Sep ’15
Reply to schema.org "Offer", but not "Product" in Spotlight?
Product is not on the list of schemes that's supported because we don't index anything directly from the Product itself other than AggregateRating and Offer. Of course, what we pull out of this markup is potentially changing over time, but at the moment we don't pull info from Product itself. If there's information you think we should be including from Product, please file bug reports with the details.
Topic: App & System Services SubTopic: General Tags:
Jul ’15
Reply to Getting error in previews when are inside of a static framework
Yes this is a known issue. Currently previews are not supported inside of static libraries. As a workaround you could create a dynamic library or framework target in addition to the static library and put the file in both targets. Then, make sure your scheme is building the framework/dynamic library target even if it's not being included into any of your shipping apps, etc.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22
Reply to Initializing a variable causes crash
Interesting. Yeah, that's really weird. Have you checked out the Zombie Objects or Address Sanitizer features? They might be able to help you pinpoint your problem. Both are accessible when you edit your scheme, head to the Run action and click on the Diagnostics tab. After enabling them, run your app. Now when it crashes, you'll get a detailed readout on what went wrong.Say, did you check to see if anything was wrong with your source file? Take a look in the File Inspector. Maybe also create another Swift file with a function in it that does the same thing as your setup code, and call that function from your original file. Other than that, I'm just as stumped as you are.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
Reply to Emoji as Custom URL Scheme
I'm wondering if we can use Emoji as the header for custom URL schemes in iOS apps.For instance : U+1F4A9://I’d expect any URL scheme that conforms to the standard (see Section 3.1 of RFC 3986) to work. However, there’s no code in the OS that will interpret U+xxxx notation as Unicode in URL schemes, so you’re just going to end up with a weird looking scheme. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Sep ’17
"Use custom working directory" is greyed out in Edit Scheme > Run
I'm trying to use XCode to debug a simple toy C++ program built using a Makefile (set up project using 'External Build System').Normally I'm able to debug and run, and use breakpoints within the editor. The way I did this was by going to Edit Scheme > Run > Use custom working directory, then checking the check box and specifying the directory of the executable. Except currently I'm not able to click in the text field or on the folder pop-up dialog at all to change this directory from blank.Such that, when I hit the build and run button with the check box checked I get a popup that asks Would you like to Run anyway? : The working directory (null) for scheme scheduler doesn't exist. Except I can't change the blank text field at all to fix this...I would add a screenshot of the options to clarify but I'm concerned about triggering moderation given this post I read about the forums [https://forums.developer.apple.com/thread/97547]
1
0
2.3k
Oct ’19
Reply to Localization Tests in UI Testing
Hey. You can go into the Scheme Editor of the test scheme under Options, and change App Region/Language to one you prefer, and that will be independent of your current device language. Hope this helps.
Replies
Boosts
Views
Activity
Jun ’22
Reply to Trouble Testing IAP with Sandbox
UPDATE: I've viewed a WWDC22 video (What's new in StoreKit testing) which says to create a second storekit configuration file syncing it with the in-app purchase defined in Apple Store Connect. The new read-only file is indeed syncing; but, it is STILL NOT WORKING.A print statement to the console, says that, in sandbox mode, requestProducts() in the Store manager is unable to find any products (though it works as expected when the scheme is reading either of the local store kit config files).
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to StoreKit 2: Newly added subscription not being returned
Solved: In my development debug Scheme, I had a leftover StoreKit Configuration in the Scheme Options. The fix was to set StoreKit Configuration to None. The latent StoreKit config was masking the App Store Connect products.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to How to create an xccovreport from an xcresult bundle.
@cplaza Awesome that you resolved this! I've been dealing with a similar situation. When you say all schemes, what do you mean? Do you have some custom CocoaTouch Frameworks added to your project that each have a scheme? Do your projects live inside of a workspace?
Replies
Boosts
Views
Activity
Oct ’23
AssetCacheLocatorService does not support HTTPS URL schemes for PAC
With the release of iPadOS 17 we began noticing that the AssetCacheLocator service on iOS/iPadOS was reliably returning a no caching server response even when we had active caching servers on the network. default 2023-09-27 18:40:17.970429 +1000 AssetCacheLocatorService #11553fbd [AssetCacheLocatorService.queue] found no caching servers This behaviour was also apparent during the beta releases of iPadOS 17 but vanished around beta 8 before returning during the production release. For a bit of back story our network environment makes use of proxy servers which devices are configured to use via PAC discovery methods. Either via specifying a pac url in config payload or via auto-discovery means via DHCP option 252 or dns. We have been compliant with https PAC file delivery since it was first brought in for the iPadOS 15 release. After continued testing the behaviour was being cause by a failure in the trust daemon to validate certificates used in SSL handshakes for the AssetCacheLocatorService. This wou
Replies
0
Boosts
0
Views
1.1k
Activity
Oct ’23
unable to run a single unit test (or set of tests) against a scheme
i have a project P living in a workspace with a number of other projects.project P has a test target PT, and that target depends upon resources created by project FR.in the workspace, i have an .xcscheme that builds the dependency FR prior to running target PT properly.and thus, when i perform Cmd-U (Test) for the currently selected .xcscheme PS that corresponds to project P, everything works fine, and the project builds and the tests run.however, if i have updated my source, performed a clean, and then attempt to run a given test by either clicking on its diamond test icon in the source, or by going into the test navigator and choosing either the individual test or the class containing the test to run all tests in it, or even the entire test suite and hitting the run test icon, or right-clicking and performing Test testPX or Run testCasePX or Run PT, the scheme is ignored. it instead only attempts to build the target as depended upon by the test-target.being as that this is part of a workspace, crea
Replies
0
Boosts
0
Views
339
Activity
Jan ’16
Reply to "Active scheme does not build this file" Problem
I think you only get this error when you're trying to preview, say, an iOS Home Screen widget but your active scheme is for something else, like a watchOS target. If you're previewing something in an iOS target, make sure to select the scheme that builds the iOS target. If you're trying to preview a watchOS target, select the watchOS scheme, etc.
Replies
Boosts
Views
Activity
Jan ’24
iOS 9 LaunchServices: ERROR: There is no registered handler for URL scheme itms-services
We have some in-house apps and before iOS 9, the apps will open a link like itms-services:// after version compare, the new version apps will be downloaded and install.But after we tested on iOS 9, we found the apps cannot open the link itms-services:// link, got error like LaunchServices: ERROR: There is no registered handler for URL scheme itms-servicesThe code we used to update the app:let downloadUrl = NSURL(string: url)UIApplication.sharedApplication().openURL(downloadUrl!)We have tested put itms-services, itms-services:// and the full URL into LSApplicationQueriesSchemes in plist file. But still not work.
Replies
1
Boosts
0
Views
4.9k
Activity
Sep ’15
Reply to schema.org "Offer", but not "Product" in Spotlight?
Product is not on the list of schemes that's supported because we don't index anything directly from the Product itself other than AggregateRating and Offer. Of course, what we pull out of this markup is potentially changing over time, but at the moment we don't pull info from Product itself. If there's information you think we should be including from Product, please file bug reports with the details.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to Getting error in previews when are inside of a static framework
Yes this is a known issue. Currently previews are not supported inside of static libraries. As a workaround you could create a dynamic library or framework target in addition to the static library and put the file in both targets. Then, make sure your scheme is building the framework/dynamic library target even if it's not being included into any of your shipping apps, etc.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Xcode: Could not attach to pid
Just like @mitas95, I'm also having the same issue on an M1 Mac. The only thing that worked for me was Product>Scheme>Edit Scheme>Run>[ ] Debug Executable, which is unideal.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to Initializing a variable causes crash
Interesting. Yeah, that's really weird. Have you checked out the Zombie Objects or Address Sanitizer features? They might be able to help you pinpoint your problem. Both are accessible when you edit your scheme, head to the Run action and click on the Diagnostics tab. After enabling them, run your app. Now when it crashes, you'll get a detailed readout on what went wrong.Say, did you check to see if anything was wrong with your source file? Take a look in the File Inspector. Maybe also create another Swift file with a function in it that does the same thing as your setup code, and call that function from your original file. Other than that, I'm just as stumped as you are.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to Emoji as Custom URL Scheme
I'm wondering if we can use Emoji as the header for custom URL schemes in iOS apps.For instance : U+1F4A9://I’d expect any URL scheme that conforms to the standard (see Section 3.1 of RFC 3986) to work. However, there’s no code in the OS that will interpret U+xxxx notation as Unicode in URL schemes, so you’re just going to end up with a weird looking scheme. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Replies
Boosts
Views
Activity
Sep ’17
"Use custom working directory" is greyed out in Edit Scheme > Run
I'm trying to use XCode to debug a simple toy C++ program built using a Makefile (set up project using 'External Build System').Normally I'm able to debug and run, and use breakpoints within the editor. The way I did this was by going to Edit Scheme > Run > Use custom working directory, then checking the check box and specifying the directory of the executable. Except currently I'm not able to click in the text field or on the folder pop-up dialog at all to change this directory from blank.Such that, when I hit the build and run button with the check box checked I get a popup that asks Would you like to Run anyway? : The working directory (null) for scheme scheduler doesn't exist. Except I can't change the blank text field at all to fix this...I would add a screenshot of the options to clarify but I'm concerned about triggering moderation given this post I read about the forums [https://forums.developer.apple.com/thread/97547]
Replies
1
Boosts
0
Views
2.3k
Activity
Oct ’19
Reply to Bad CPU type in executable
This was solved by changing Build/Override Architectures from Match Run Destination to Use Target Settings in the settings window displayed after executing the Product/Scheme/Edit Scheme... menu.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’24