Search results for

“file uri scheme”

81,736 results found

Post

Replies

Boosts

Views

Activity

Reply to Why?
I guess the use of such threads is to see if anyone else is thinking the same thing so1. You know you are not crazy.2. Perhaps people at Apple visit the dev forums from time to time (they do).But yeah...I might file a formal bug report. I'm not getting email notifications when people reply in threads I posted. I think the old forums would have been perfect if they just made the site responsive.I'm typing in bold. Please note that I am not mad. I am not screaming. I just can't read the regular font.Please everyone type in bold so we can read the posts. 🙂
Jun ’15
Conflicts drawing badges when running multiple Finder Sync extensions
There is an unfortunate behavior when multiple Finder Sync extensions are simultaneously running. If two or more Finder Sync extensions are configured to watch the same folders by setting [FIFinderSyncController defaultController].directoryURLs, then there's a race condition where badges will only be requested ( via requestBadgeIdentifierForURL) and drawn from the extension that started first. Normally, this wouldn't be an issue if extensions are only watching the folders they created, but Dropbox for instance seems to monitor the entire ~/Documents folder (not just their own Dropbox folder), so if the Dropbox Finder Integration extension runs first, no other extension will show its file badges.So what is the expected behavior if two Finder Sync extensions are watching the same folders? There needs to be some intelligent logic to determine which extension gets to show its badges (maybe whoever has registered the folder closest to the actual folder, so whoever is monitoring ~/Documents/MyFolder would
Topic: UI Frameworks SubTopic: AppKit Tags:
1
0
543
Jun ’15
Safari shows a 404 error, but not the error path
Today while developing a web app, I noticed a 404 error in the console. However, unlike most 404 console errors, it did not show the path to the resource (html file) it was trying to load. Typically, I use this info to instantly determine whether there is a typo in my code or if a resource was not uploaded, etc.Is this by design? Am I missing something?
0
0
442
Jun ’15
UISplitViewController and launch storyboard
Greetings,I have an iOS 8 Swift-based app using a UISplitViewController as its root view controller. My project's deployment setting is iOS 8.0 and I had to use launch images (and not a launch storyboard) because launch storyboards did not support containers such as UINavigationController, UISplitViewController and UITabBarController (this is quoted from a DTS response I got).In comes iOS 9 with its iPad multitasking feature, which requires using launch storyboards. Things seem to work (on iOS 9) if I specify my main storyboard as a launch storyboard but iOS 8 displays a black screen during launch. Strangely, if I check the Use as launch screen checkbox for the main storyboard, the compiler spits out an error (Launch screens may not have connections). Using a XIB file (with a UISplitViewController within) as a launch file seems to kind of work on both iOS 8 and iOS 9 but I can't seem to be able to modify the UISplitViewController in IB.This is quite puzzling as there is no way to have the sy
2
0
1.8k
Jun ’15
Reply to Xcode 6.3.2 "forgetting" source control
Ok, I've got it sort of narrowed down. I setup a new user on my machine, checked out the source, and opened it with Xcode. No problems.Then I went to build and run, and hit the you don't have a profile, import one or revoke and re-issue dialog. So, I exported the profile from my regular user login, and imported it in the new user. Boom. Shortly all the ?s were showing up on my source files just like on my regular user login. So it's got something to do with whatever was imported. When I exported, I was surprised to find that it exported 4 accounts - not just the one I was expecting, so there must be something funky in one of those accounts.From my usual login, I had previously tried deleting all the accounts (under Xcode->Preferences->Accounts), to no avail. So I've a clue where the problem lies, but still no idea how to fix it easily (and I'm not counting having to create a new account as easy!).
Jun ’15
MacBook Pro Now Having SSD Space Issue
I installed El Capitan today and have noticed an odd problem with available space on the SSD. Before the install the drive had 130GB available but dropped to 82GB after the install. Weird enough but then I trashed a 50GB file and as it was emptying from the trash the available SSD space actually steadily DROPPED to 62GB. Any insights?
4
0
1.2k
Jun ’15
Reply to How do I link against .tbd files in Xcode 7?
This is a known issue in the Xcode 7 beta.To work around this issue for now, please:Delete all references to .tbd files from either your linked libraries phase, or from the copied bundle resources phase (where they sometimes will be added).Add the library you want to link manually to the Other Linker Flags build settings, by adding the argument: -l<library_name> for each library you want to link (for example, add -lsqlite3 (without quotes)).For those who are curious, the .tbd files are new text-based stub libraries, that provide a much more compact version of the stub libraries for use in the SDK, and help to significantly reduce its download size.
Jun ’15
ErrorType and userInfo dictionaries
NSError has a way to carry additional information around with it: the userInfo dictionary. This includes user-facing information like the localized description, of course, but it also includes tremendously useful details such as underlying errors, particular problem files, etc.ErrorType enums have a way to carry associated data too: values associated with the cases.Is there some way to bridge these two worlds? Obviously the ideal thing would be if Swift synthesized code that automatically mapped associated value tuple fields into userInfo keys, but even if I had to implement a function or computed property to do it myself, that'd be way better than nothing.
9
0
5.9k
Jun ’15
'Module was not compiled for testing' when using @testable
ENABLE_TESTABILITY = YESis set to YES in debug, not in release, but if I have a scheme that compiles a release build of my framework (who also build the test target) build will fail with'Module was not compiled for testing' when using @testablein release mode ENABLE-TESTABILITY is set the NOcaused by @testable import inside test target@testable import Awesomekit
1
0
11k
Jun ’15
Reply to Why?
I guess the use of such threads is to see if anyone else is thinking the same thing so1. You know you are not crazy.2. Perhaps people at Apple visit the dev forums from time to time (they do).But yeah...I might file a formal bug report. I'm not getting email notifications when people reply in threads I posted. I think the old forums would have been perfect if they just made the site responsive.I'm typing in bold. Please note that I am not mad. I am not screaming. I just can't read the regular font.Please everyone type in bold so we can read the posts. 🙂
Replies
Boosts
Views
Activity
Jun ’15
Conflicts drawing badges when running multiple Finder Sync extensions
There is an unfortunate behavior when multiple Finder Sync extensions are simultaneously running. If two or more Finder Sync extensions are configured to watch the same folders by setting [FIFinderSyncController defaultController].directoryURLs, then there's a race condition where badges will only be requested ( via requestBadgeIdentifierForURL) and drawn from the extension that started first. Normally, this wouldn't be an issue if extensions are only watching the folders they created, but Dropbox for instance seems to monitor the entire ~/Documents folder (not just their own Dropbox folder), so if the Dropbox Finder Integration extension runs first, no other extension will show its file badges.So what is the expected behavior if two Finder Sync extensions are watching the same folders? There needs to be some intelligent logic to determine which extension gets to show its badges (maybe whoever has registered the folder closest to the actual folder, so whoever is monitoring ~/Documents/MyFolder would
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
1
Boosts
0
Views
543
Activity
Jun ’15
Safari shows a 404 error, but not the error path
Today while developing a web app, I noticed a 404 error in the console. However, unlike most 404 console errors, it did not show the path to the resource (html file) it was trying to load. Typically, I use this info to instantly determine whether there is a typo in my code or if a resource was not uploaded, etc.Is this by design? Am I missing something?
Replies
0
Boosts
0
Views
442
Activity
Jun ’15
UISplitViewController and launch storyboard
Greetings,I have an iOS 8 Swift-based app using a UISplitViewController as its root view controller. My project's deployment setting is iOS 8.0 and I had to use launch images (and not a launch storyboard) because launch storyboards did not support containers such as UINavigationController, UISplitViewController and UITabBarController (this is quoted from a DTS response I got).In comes iOS 9 with its iPad multitasking feature, which requires using launch storyboards. Things seem to work (on iOS 9) if I specify my main storyboard as a launch storyboard but iOS 8 displays a black screen during launch. Strangely, if I check the Use as launch screen checkbox for the main storyboard, the compiler spits out an error (Launch screens may not have connections). Using a XIB file (with a UISplitViewController within) as a launch file seems to kind of work on both iOS 8 and iOS 9 but I can't seem to be able to modify the UISplitViewController in IB.This is quite puzzling as there is no way to have the sy
Replies
2
Boosts
0
Views
1.8k
Activity
Jun ’15
Reply to Xcode 6.3.2 "forgetting" source control
Ok, I've got it sort of narrowed down. I setup a new user on my machine, checked out the source, and opened it with Xcode. No problems.Then I went to build and run, and hit the you don't have a profile, import one or revoke and re-issue dialog. So, I exported the profile from my regular user login, and imported it in the new user. Boom. Shortly all the ?s were showing up on my source files just like on my regular user login. So it's got something to do with whatever was imported. When I exported, I was surprised to find that it exported 4 accounts - not just the one I was expecting, so there must be something funky in one of those accounts.From my usual login, I had previously tried deleting all the accounts (under Xcode->Preferences->Accounts), to no avail. So I've a clue where the problem lies, but still no idea how to fix it easily (and I'm not counting having to create a new account as easy!).
Replies
Boosts
Views
Activity
Jun ’15
Anyone having trouble using RAR extractors with El Capitan?
I can't seem to extract RAR files anymore after installing El Capitan. I've tried with several extractor apps in the app store and no luck. Anyone else expiriencing this? Anyone have a solution?Thanks,John
Replies
4
Boosts
0
Views
1k
Activity
Jun ’15
Reply to .tbd files in Xcode 7 ?
Hello otaknajus, I'm also having trouble with those files, as they seem not to work properly. I believe they're the reason I'm getting SourceKit crashes (as reported on thread https://forums.developer.apple.com/message/8510#8510)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
MacBook Pro Now Having SSD Space Issue
I installed El Capitan today and have noticed an odd problem with available space on the SSD. Before the install the drive had 130GB available but dropped to 82GB after the install. Weird enough but then I trashed a 50GB file and as it was emptying from the trash the available SSD space actually steadily DROPPED to 62GB. Any insights?
Replies
4
Boosts
0
Views
1.2k
Activity
Jun ’15
Reply to MacBook Pro Now Having SSD Space Issue
The OS needs swap space just to run...maybe that process is a bit rough in the beta. Otherwise, be sure to file bugs.◅▻
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to How do I link against .tbd files in Xcode 7?
This is a known issue in the Xcode 7 beta.To work around this issue for now, please:Delete all references to .tbd files from either your linked libraries phase, or from the copied bundle resources phase (where they sometimes will be added).Add the library you want to link manually to the Other Linker Flags build settings, by adding the argument: -l<library_name> for each library you want to link (for example, add -lsqlite3 (without quotes)).For those who are curious, the .tbd files are new text-based stub libraries, that provide a much more compact version of the stub libraries for use in the SDK, and help to significantly reduce its download size.
Replies
Boosts
Views
Activity
Jun ’15
Reply to MacBook Pro Now Having SSD Space Issue
Could be Time Machine local backupsdisable withsudo tmutil disablelocalGive it a min to clean up then renable it withsudo tmutil enablelocalThere also may be some old system files in / in some folder I can not currently rember.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Any way to turn off the "news" under Search?
Sounds like something you should file as an enhancement request if you want this to change in future betas or the final release. The people who would make that change may not be reading this thread.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
ErrorType and userInfo dictionaries
NSError has a way to carry additional information around with it: the userInfo dictionary. This includes user-facing information like the localized description, of course, but it also includes tremendously useful details such as underlying errors, particular problem files, etc.ErrorType enums have a way to carry associated data too: values associated with the cases.Is there some way to bridge these two worlds? Obviously the ideal thing would be if Swift synthesized code that automatically mapped associated value tuple fields into userInfo keys, but even if I had to implement a function or computed property to do it myself, that'd be way better than nothing.
Replies
9
Boosts
0
Views
5.9k
Activity
Jun ’15
'Module was not compiled for testing' when using @testable
ENABLE_TESTABILITY = YESis set to YES in debug, not in release, but if I have a scheme that compiles a release build of my framework (who also build the test target) build will fail with'Module was not compiled for testing' when using @testablein release mode ENABLE-TESTABILITY is set the NOcaused by @testable import inside test target@testable import Awesomekit
Replies
1
Boosts
0
Views
11k
Activity
Jun ’15
Reply to 'Module was not compiled for testing' when using @testable
solved by making sure the framewok scheme tests target has only Test checked in and no Run
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15