Search results for

file uri scheme

78,680 results found

Post

Replies

Boosts

Views

Activity

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 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
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
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
329
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
330
Jan ’16
Deep Link to Files app
Is there a system deep link URI to the built in files app? I would like to direct users to my apps location in the files app. For example files://myApp The only exposed deep links for system I can find are the ones for mail, sms, FaceTime etc. Thank you (tag used for post was because I couldn’t find a deep link tag)
3
0
1k
May ’24
Reply to Custom url with notarized package installer
This is not clear to me. You say that it is happening because the webview is trying to render the custom URL scheme?Why this is not happening if the application is used without the installer?I made a test calling the custom url scheme from safari and it says 'Safari can't open specified address' because it does not recognize the custom protocol. (In a mac with the working custom url scheme Safari is able to open the address)
Topic: Code Signing SubTopic: General Tags:
Nov ’19
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
Got a rejection for piracy storefront and itms-services URL scheme
Hello, Guys,I have two games received the same rejection but cannot figure out what does the review team mean and how to fix these issues.Guideline 2.3 - Performance - Accurate MetadataWe noticed that your app's metadata includes the following information, which is not relevant to the app's content and functionality.Specifically, this app contains references to an app piracy storefront.Guideline 2.3.1 - PerformanceWe discovered that your app contains hidden features. Specifically, this app contains references to an app piracy storefront.Guideline 2.5.2 - Performance - Software RequirementsDuring review, your app installed or launched executable code, which is not permitted on the App Store. Specifically, your app uses the itms-services URL scheme to install an app.Please note that while educational apps designed to teach, develop, or allow students to test executable code may, in limited circumstances, download code, such code may not be used for other purposes and such apps must make the source code
5
0
4.1k
Sep ’17