Search results for

“file uri scheme”

84,450 results found

Post

Replies

Boosts

Views

Activity

"prefs:root=" non-public URL scheme
I'm working on an app which I inherited from another developer. The app had previously been published to the app store.When I tried to publish it again with my updates, Apple rejected it with this complaint:Your app uses the prefs:root= non-public URL scheme, which is a private entity. The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.I did not add this code. I did search the app and did find a reference to prefs:root=Bluetooth. It looks like the previous developer was trying to open the Bluetooth preferences on behalf of the user in the case when Bluetooth is not enabled. As the app is made specifically to communicate with a Bluetooth device, this is a helpful feature.Is there some other way to do this, or must I simply remove this functionality in order to pass App Review?Thanks,Frank
1
0
3.8k
Nov ’18
Open iOS app from another app without URL scheme
Hi,I have been wondering if is there any way i can open my iOS app from another app with the use of bundle identifier?As i have already published apps and there were no URL scheme mentioned, and it is some how app dependent and URL scheme needs to be mentioned in each and every app.And even if i add url scheme and launch update for all past apps it might not possible that each user will update it without using the new one from which i want to open past apps.Any help would be great.Thanks
4
0
19k
Jul ’17
Reply to How to open "Driver Extensions" on macOS 15 by using objective-C
Right. And that leads you to the last paragraph of Supported URL Schemes. That is, if there’s no documented way to achieve this goal, you should file an enhancement request for such a mechanism. That’s kinda the whole point of my Supported URL Schemes post. You can’t just cons up your own URL that happens to work, because if it’s not documented then it’s an implementation detail that you can’t rely on. If you do file an ER, please post the bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Drivers Tags:
Oct ’24
Reply to Xcode creates schemes for some referenced Swift Packages
This is indeed undesirable behavior. I'm not sure whether Apple is aware but you should file a feedback for it. In the meantime, there's a workaround you can propose to your third party libraries' maintainers to adopt, and it consists on using an xcworkspace as the scheme container as opposed to .swiftpm. Example: https://github.com/sideeffect-io/AsyncExtensions/pull/29. As I said, unfortunately this is up to the maintainers to adopt, not you, as Xcode reads the checked in .swiftpm folder from your dependencies and grabs the schemes from there without you having a say in it. Again, probably undersirable behavior and an oversight from the Xcode team, so worth filing a radar.
Nov ’22
Reply to Strange behavior from FileManager.getRelationship(_:of:in:to)
I’m not sure if anything else is going on here but your isInTrash(…) function has a serious bug. Specifically, this code is incorrect: guard let fileURL = URL(string: file) else { You should be using init(fileURLWithPath:). What you’re constructing here is as scheme-less URL that just contains a path. While you want is a URL with the file scheme. Consider: import Foundation let u1 = URL(fileURLWithPath: /Users/quinn/Test) let u2 = URL(string: /Users/quinn/Test)! print(u1) // file:///Users/quinn/Test/ print(u2) // /Users/quinn/Test Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Dec ’21
Reply to Using Simulator in Xcode 7.3.1 causes Xcode 8 projects to lose Scheme setting
I ran into the same problem. My solution: click on 'No Scheme' > Manage Schemes. Next, I deleted all the schemes and pressed 'Autocreate Schemes Now'.
Replies
Boosts
Views
Activity
Jul ’16
"prefs:root=" non-public URL scheme
I'm working on an app which I inherited from another developer. The app had previously been published to the app store.When I tried to publish it again with my updates, Apple rejected it with this complaint:Your app uses the prefs:root= non-public URL scheme, which is a private entity. The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.I did not add this code. I did search the app and did find a reference to prefs:root=Bluetooth. It looks like the previous developer was trying to open the Bluetooth preferences on behalf of the user in the case when Bluetooth is not enabled. As the app is made specifically to communicate with a Bluetooth device, this is a helpful feature.Is there some other way to do this, or must I simply remove this functionality in order to pass App Review?Thanks,Frank
Replies
1
Boosts
0
Views
3.8k
Activity
Nov ’18
Reply to HomeKit Unique Identifiers
I did file an enhancement request. Unfortunately, since iOS 9 is now released, any change to the UUID scheme will break existing applications which utilize those values.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’15
Open iOS app from another app without URL scheme
Hi,I have been wondering if is there any way i can open my iOS app from another app with the use of bundle identifier?As i have already published apps and there were no URL scheme mentioned, and it is some how app dependent and URL scheme needs to be mentioned in each and every app.And even if i add url scheme and launch update for all past apps it might not possible that each user will update it without using the new one from which i want to open past apps.Any help would be great.Thanks
Replies
4
Boosts
0
Views
19k
Activity
Jul ’17
Reply to Can't retrieve name and email from Sign In flow
The change to include the email address in the ID token is currently being worked on and will be available soon. Currently the email address is provided to the application front-end through the post to the redirect uri.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’19
WKWebView how to work with the custom URL scheme in iOS 10.
We provide an option for the user to upload a photo from the phone into the WebView. I used WKSchemeHandler & WKWebView for iOS11. But how can use the WKWebView to work with the custom URL scheme for iOS10?
Replies
0
Boosts
0
Views
451
Activity
Sep ’20
Reply to How to open "Driver Extensions" on macOS 15 by using objective-C
Right. And that leads you to the last paragraph of Supported URL Schemes. That is, if there’s no documented way to achieve this goal, you should file an enhancement request for such a mechanism. That’s kinda the whole point of my Supported URL Schemes post. You can’t just cons up your own URL that happens to work, because if it’s not documented then it’s an implementation detail that you can’t rely on. If you do file an ER, please post the bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Xcode creates schemes for some referenced Swift Packages
This is indeed undesirable behavior. I'm not sure whether Apple is aware but you should file a feedback for it. In the meantime, there's a workaround you can propose to your third party libraries' maintainers to adopt, and it consists on using an xcworkspace as the scheme container as opposed to .swiftpm. Example: https://github.com/sideeffect-io/AsyncExtensions/pull/29. As I said, unfortunately this is up to the maintainers to adopt, not you, as Xcode reads the checked in .swiftpm folder from your dependencies and grabs the schemes from there without you having a say in it. Again, probably undersirable behavior and an oversight from the Xcode team, so worth filing a radar.
Replies
Boosts
Views
Activity
Nov ’22
Reply to Xcode7 code completion broken
Objective-C. The target membership seems fine ... how do I check whether there's something wrong with the scheme or not? It indexes most of the files just fine ... just a few (important ones) that are off
Replies
Boosts
Views
Activity
Jun ’15
Reply to Are App Store for iMessage search results limited to 40?
Feel free to file a bug against the process via the link, below right, adding your report # to your thread for reference.Otherwise I'm unaware of any petitioning scheme you might leverage.Good luck.
Replies
Boosts
Views
Activity
Feb ’18
Reply to Xcode builds fail with spurious errors; whole tool is now unusable
I have a similar problem starting 6/18/2023. Expected identifier or '(' in a perfectly valid .h file also the analyzer thinks the header is not in the project's scheme. Did you ever fix this?
Replies
Boosts
Views
Activity
Jun ’23
Reply to ITMS-90338: Non-public API usage automatic refuse
Make sure that you are distributing your app using the release scheme instead of the debug scheme. To configure your app to be built using the Release scheme, go to Product → Scheme → Edit Scheme. Then set the Build Configuration dropdown to Release.
Replies
Boosts
Views
Activity
Sep ’22
LaunchServices: ERROR: There is no registered handler for URL scheme fbauth
Can any one suggest solution for my issue occuring in ios9LaunchServices: ERROR: There is no registered handler for URL scheme fbauthThanks & Regards Deepthi
Replies
1
Boosts
0
Views
2.5k
Activity
Sep ’15
Reply to Safari: "Manifest content_scripts section has no specified matches entry."
This is likely due to the match patterns for file and ftp. Safari does not support extensions for those schemes, so the matches array will appear empty after those unsupported patterns are filtered out.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’20
Reply to Strange behavior from FileManager.getRelationship(_:of:in:to)
I’m not sure if anything else is going on here but your isInTrash(…) function has a serious bug. Specifically, this code is incorrect: guard let fileURL = URL(string: file) else { You should be using init(fileURLWithPath:). What you’re constructing here is as scheme-less URL that just contains a path. While you want is a URL with the file scheme. Consider: import Foundation let u1 = URL(fileURLWithPath: /Users/quinn/Test) let u2 = URL(string: /Users/quinn/Test)! print(u1) // file:///Users/quinn/Test/ print(u2) // /Users/quinn/Test Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21