Search results for

file uri scheme

78,614 results found

Post

Replies

Boosts

Views

Activity

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 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
Reply to Trying to load a cr2 file
iOS is case sensitive..CR2 is not the same as .cr2, .Cr2, .cR2, etc.Be sure to match the file name case with the image name used in your code. Might want to get into the habit of only/always using lower case, as an example, just to avoid such issues in the future. Whichever scheme you adopt, be consistent.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’17
Reply to Run Terminal Command in Xcode
Yes, I tried doing that. Both through Build Phases and under Schemes by creating Post-Run/Post-Build Scripts. Neither of the tries worked for me.Anyways, I think this will not work as I will have to change the CMake for the project to access the shared object file to run even through the terminal. Thank you so much for taking time out and replying to my issue.RegardsJayam Patel
Feb ’18
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 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
"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.2k
Oct ’19