Search results for

file uri scheme

79,858 results found

Post

Replies

Boosts

Views

Activity

Reply to Opening the Extension menu in the System Preferences
Quinn's should be the accepted answer (sorry, this should've been a comment on that—I clicked the wrong button and don't see how to fix it). @eskimo Quinn, Any chance you could push to get the x-apple.systempreferences URL scheme properly documented? It seems like something that user-friendly apps need to be able to do, and people are doing it anyway, so it would be great to have it documented explicitly as stable API somewhere outside of a header file (which only gives two specific examples for Full Disk Access, which is not the location desired here). I understand that things tend to move around in System Settings, but it seems like some needs to commit to supporting a scheme or other API that will allow apps to direct people to where they need to go.
Topic: App & System Services SubTopic: Core OS Tags:
May ’24
Reply to xCode 6.4 scheme names
Also, as the original poster points out, the scheme now shows the device (iPad Air) and the simulator identifier (i.e.: 085BD3A4-CC9E-4717-AF2F-E08106BB7A88) There is no reference to the iOS of the scheme, so it's just hit-and-miss as to what iOS each scheme tests. That makes it difficult - to say the least - to test an app against all devices/iOSs.
Jul ’15
Reply to ASWebAuthenticationSession with Universal link never dismiss the sign-in screen
UniversalLink and redirectURI are different things. OAuth standard protocol assumes that once the authentication part on the ASWebAuthenticationSession panel is completed successfully, the backend will redirect you to the URI indicated into the redirectURI parameter you used to instruct the request for the ASWebAuthenticationSession. If this doesn't happen for any reason (like a 302 on the redirectURI), then the ASWebAuthenticationSession isn't completed and your call back is never called.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’23
Losing texture when converting DAE files to SCN files
I have an app where I have a bunch of dae files stored online. They're optimized for iOS usingxcrun scntool --convert file.dae --format c3d --output file_optimized.dae --force-y-upI download both the model and the textures to have the same file structure as on my mac. Which ends up like this:modelName/ model/ model.dae textures/ textures.png (All required texture files are in here)However, when I load them into my iOS app, they show up fully white with the following error:[SceneKit] Error: Failed loading : <C3DImage 0x1c00f6900 src:file:///path/to/local/file/on/my/mac/../textures/diffuse.png [0.000000x0.000000]>The files work fine on my mac, both in Preview and in Xcode, and they show the URI to the textures like this:../textures/diffuse.pngHow would I fix this?
2
0
3.2k
Dec ’17
Reply to Citrix Workspace App GlobalSign Root CA
I have seen this issue on other versions on macOS as well; I don't think this is specific to this version. You will need to trust the certificate when on the site click the padlock. Show the certificate in the details you should see the CA Issuers, click on the URI. (This will ensure the correct cert required is downloaded) it could be the ones in your keychain may vary. You can then add this certificate into keychain.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’19
Reply to WKWebView Request headers in redirections/links
If it's a critical need for your app and you have tight control over the content loaded, you can use a custom scheme with WKURLSchemeHandler to achieve the same effect. There's no way to do this for genera http(s) loads right now. Please file a request with Feedback Assistant with what you'd be using this for to help us prioritize.
Topic: Safari & Web SubTopic: General Tags:
Jun ’20
Reply to xcodebuild Apple Watch - iOS 16.1/wachOS 9.1 - fails
UPD Everything works fine when we use -target option for xcododebuild command line arguments instead of -scheme, but could not use option due to project -target. The problem is in the scheme configuration or devices visibility for scheme, or both Also, it is working when I use generic destination: xcodebuild -project MyApp.xcodeproj -scheme 'MyApp WatchKit App' -destination generic/platform=watchOS build command I used: xcodebuild -workspace MyApp.xcworkspace -scheme 'MyApp WatchKit App' -destination 'platform=watchOS,id=Watch's ID' And I see this error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked.``` P.S. Restarting and unlocking doesn't help
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’22
Different Build Schemes -> Error: -Onone Swift optimization level to use previews
I have a sample SwiftUI iOS app. As shown in the screenshot below, my project has three configurations: Debug, MyDebug, Release. If I select the Debug or MyDebug scheme, I get a preview. But if I select the Release scheme, I get an error that says the following. ”***.app” needs -Onone Swift optimization level to use previews (current setting is -O) , where *** is the app name. It probably has nothing to do with the Preview error, but the Info.plist has a dictionary such that the key name is devMode, and the value is $(DEVMODE). And I have a user-defined setting as shown below. My ContentView has the following. import SwiftUI struct ContentView: View { @State private var state: String = var body: some View { VStack { Text(Hello, world!: (state)) } .onAppear { if let devMode = Bundle.main.object(forInfoDictionaryKey: devMode) as? String { print(Development mode: (devMode)) state = devMode } if let path = Bundle.main.path(forResource: Info, ofType: plist) { if let dict = NSDictionary(contentsO
5
0
355
Feb ’25
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
335
Jan ’16
Reply to Xcode 13 and Linux Makefile
Xcode supports this really nicely but setting it up is a bit tricky. I took a run at this today and was quite happy with the results. Here’s what I did: On macOS 12.1, I started with a Hello directory that contains my source file and a make file: % find hello hello hello/hello.c hello/Makefile % cat hello/hello.c #include int main(int argc, char ** argv) { printf(Hello Cruel World!n); } % cat hello/Makefile hello: hello.c cc -o hello -g hello.c IMPORTANT The second line in hello/Makefile starts with a tab. I run Xcode 13.2.1 and chose File > New > Project and selected Other > External Build System. I named it XHello, just to keep things clear. I closed that project window. This left me with the following structure on disk: % find XHello XHello XHello/XHello.xcodeproj … lots of Xcode goo … I used the Finder to move XHello.xcodeproj to my hello directory. I opened that in Xcode. I chose Product > Build to check that it actually builds. I chose Product > Scheme
Jan ’22
Reply to How to bypass screen time and access adult websites
Nowadays (since iOS 16 and up) to bypass allowed websites restrictions all you have to do is to put allowed site in the URI. For instance assuming that google.com is allowed and yahoo.com should be blocked, following URL will work: https://yahoo.com/google.com Try it yourself it takes literally one minutes or less. I have submitted this bug in Feedback app but so far Apple is ignoring it.
Topic: App & System Services SubTopic: General Tags:
Sep ’23
Reply to invalid_client on hitting REST API with iOS App authorizationCode & identityToken
Same error happen with me. I try to many methods and anything helped me. I read description about error invalid_client from Apple documentation . The client authentication failed, typically due to a mismatched or invalid client identifier, invalid client secret (expired token, malformed claims, or invalid signature), or mismatched or invalid redirect URI. Not helpful description.
Topic: App & System Services SubTopic: General Tags:
Jul ’21