Search results for

file uri scheme

78,573 results found

Post

Replies

Boosts

Views

Activity

Reply to WatchOS 2 beta broken?
I've filed about a dozen bug reports on it already. It's very unfortunate that Apple realesed what is really an in-house alpha to the developer community--especially as most of us (I assume) only have our watches right now, due to cost and limited availability. It's not a good situation when your regular watch behaves so unpredictably!
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Where is Content Blocker Extensions documentation?
Steps so far:1) Create Project with for example iOS/Application/SingleViewApplication2) Add Target iOS / Application Extensions / Content Blocker Extension3) Edit blockerList.jsonsample:[ { trigger: { url-filter: www.domain.com/file.png }, action: { type: block } },{ trigger: { url-filter: www.domain2.com/file2.png }, action: { type: block } } ]4) Install app5) change Safari Settings and enable new extension6) use Safari Browser=> result for me is currently, that the listed images are blocked, but not js files. The images are then not displayed on the website and on the loaded resources area in the Safari Web Inspector, if the device is monitored through the desktop Safari.
Topic: Safari & Web SubTopic: General Tags:
Jun ’15
strange Finder bug
I have come across a strange bug in the Finder. Namely, when I delete a file in the Downloads folder (either by pressing Command-Delete, choosing Move to Trash in the File menu, etc., the file is moved to the Trash, but it is still displayed in the Finder's Download window, even after I empty the trash. I have to click on another window and then back on Downloads to make the file disappear! Also, this weird behavior (so far) is only happening when I delete files in the Downloads folder. Has anybody experienced this? Any ideas as to what may be going on (perhaps a strange permissions setting?)?
2
0
517
Jun ’15
Reply to Xcode 7 crashes when trying to select the Main.storyboard.
The Apple engineers are kinda busy elsewhere until next week, so I doubt you'll see them responding in the next few days, though I'd expect their presence to normalize after that.Clearly there's a bug here, and I haven't seen anyone suggest a workaround, so it may be unavoidable until a new Xcode beta is issued, which will also be after WWDC. You should file a bug report, including your project, to make sure your issue gets looked into.Since you got the error after creating a new project in Xcode 7, you could try deleting it and re-creating it in Xcode 6, then opening it in Xcode 7. When I tried this, Xcode 7 offered to make some changes to the storyboard which I declined, and then I set the scene's Opens in setting to 6.3 explicitly. Doing something along that line might allow you to proceed for now.
Jun ’15
Keychain error -34018 (errSecMissingEntitlement)
This is a continuation of from the old forums: https://devforums.apple.com/thread/246122Calling SecItemCopyMatching will sometimes return an OSStatus of -34018 (errSecMissingEntitlement). This seems to happen when the system is running low on memory. This has not been fixed in iOS9. I've of course filed radars about this and I would encourage others to do the same while iOS 9 is under development.
105
0
105k
Jun ’15
Reply to unable to debug watchOS 2 app with Xcode 7
It turns out that although the WatchKit app was upgraded by Xcode to WatchOS 2-type, it didn't really work. I had to make a new target and drag files over and change which bundle they were part of. After that, it didn't work due to an inclusion of a framework that didn't allow for Core Location methods but that's another issue.Hope that helps.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Xcode 7 crash every time I open a new or existing project.
If I go through the new project wizard, or try to open an existing project, I get the same crash every time. It's something from XCSService, and I see keychain mentioned, so I tried relaunching keychain accessing, restarting my machine, etc. Keeps happening. Any workaround?Process: Xcode [516]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8123.26)Build Info: IDEFrameworks-8123026000000000~7Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [516]User ID: 501Date/Time: 2015-06-11 16:20:14.544 -0400OS Version: Mac OS X 10.10.3 (14D136)Report Version: 11Anonymous UUID: A12E8E79-DAD1-FC5C-0724-7549D29029DATime Awake Since Boot: 200 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000VM Regions Near 0:--> __TEXT 00000001088e6000-00000001088e7000 [ 4K] r-x/rwx SM=COW /Applications/Xcode-beta.app/Contents/MacOS/XcodeApplication Specific In
2
0
1.7k
Jun ’15
Signing 3rd party .framework bundled in the app
Hi,I use a 3rd party/open source framework. I embedded its project in my main app's project, and I set my main app to be dependent on it. I can build, deploy and run my app in the test device using developers profile in xcode. The problem is when I try to build it from command line for distribution. I tried passing the adhoc cert and adhoc provisioning profile as parameters. It is complaining that the bundleId of the framework is different than the one defined in the provisioning profile. Which is obviously true because the bundleId of the framework is pre-defined by its developer.I use this command to build it:xcodebuild build -workspace <my wrkspace> -scheme <scheme> CODE_SIGN_IDENTITY=<identity name> PROVISONING_PROFILE=<provisioning name>CODE_SIGNING_REQUIRED=“YES” CONFIGURATION_BUILD_DIR=<path>The options that I can think of:1. Change the bundleid of the framework to match my app bundleid2. Do not sign when building, but pass the provisioning profile when e
2
0
1.7k
Jun ’15
Notes from Thursday Education and Enterprise Development Lab
Question:What does opendirectoryd's FDESupport module do?Answer:That's the module which is responsible for taking password updates from opendirectoryd and updating the FV 2 pre-boot login password. It's a helper utility.Question:Does fdesetup sync also help sync passwords from a directory service?Answer:No, it does not sync passwords. (Same message from both Security and Enterprise labs.)Question:Is there a way to run a deferred enablement, which also allows the enablement of a second account. For the purposes of the question, assume that the second account's password has been provided.Use cases that may apply:A. An enterprise that wants deferred enablement for the primary user of the machine, but also wants to enable the local admin account for FV 2.Answer:Please file enhancement requests. (Same message from both Security and Enterprise labs.)Question:When using fdesetup enable -inputplist the password is clear text in the plist. Can this be changed so that the password can be hashed? A colleague of
2
0
3.1k
Jun ’15
Reply to Notes from Thursday Education and Enterprise Development Lab
Managed Distribution Does Managed Distribution Device Assignment support in-app purchases? iAP not supported with MDM device assignment in iOS 9. Apple is aware of the desire for this feature and are discussion the best approach.Apple Configurator 2 An admin can export a company profile and import to as many machines as needed. Single sToken - cannot use institutiontal sToken with a seperatel location sToken for application deployment. The ideal method for Managed Distribution Device Assignemnt will be utilizing AC 2 as a mechanism to auto-enroll into an MDM. App thinning is not supported with Apple Configurator.iOS 9 How will iOS handle storage constraints for iOS updates? Currently, the iOS update command will fail the device will not be able to silently update. Similarly to non-silent updates, 50% battery is required for installation. A future update to iOS (not iOS 9) may do the following: Delete tagged App thinning Application data Delete Managed Applications -> Update iOS -> Push Managed Applicati
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to nsscrollview
If you already have an Xcode project, then (presumably) you already have a window in a storyboard or a XIB file. Go to that file and open up the Utilities panel on the right side of the IB window (View -> Show Utilities), then display the object library at the bottom (the 3rd of the 4 icons in the toolbar at the bottom) by clicking on it.Look for the scroll view in the list of available objects. You can type scrollview in the text field that's now at the bottom to filter out the irrelevant items, if you want. Drag the scroll view object into your window (if XIB) or window view controller (if storyboard). You have several other tasks to complete before this scroll view is useful (size it and add autolayout constraints, add an outlet to your code that refers to it, etc), but at least you have the scroll view you asked about.
Topic: UI Frameworks SubTopic: AppKit Tags:
Jun ’15
Opt out of canOpenURL: security?
We have a QR code reader application, so we ingest many different kinds of URLs with different schemes, and we want to send them on to their handler applications. The new canOpenURL: security is understandable, but a problem for our user experience. Is there any way to opt out of this behavior? I understand Apple wants to migrate to Universal Links, but we already have a lot of content out there and would like to be able to transition in a more orderly manner.As a fallback we probably could just start hardcoding our common schemes, but I was wondering if for our use case there was another way around.
2
0
305
Jun ’15
Document provider Move operation problem
Hello, I am having problem with the implementation of a Document Provider, with the “move” operation in particular. The export/import/open operations are working fine. I did look for information in the Document Provider documentation, the developers forum, stackoverflow and still not able to get it to work.Here is what is happening, when the operation is initiated from word (word is using a move operation when creating a new file), the URL is handed over to the provider (works fine).However when I try to copy the file located at this URL to my application the file is empty.I tested the same workflow with other providers it works.Any advice, hints will be really appreciatedBest Regards,
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
551
Jun ’15
Reply to Connecting to Superclass Properties
Here is the full @interface and @implementation of the CoreDataFetchedResultsController Class. I am using a bridging header file for since it's in Objective-C. I've also included the .swift file that is a subclass. I am sorry for the impcomlete code in the code above.Thanks for the recommendation on the new Swift stuff. I'll be sure to take a look.Take care,Jon.h#import <UIKit/UIKit.h> #import <CoreData/CoreData.h> @interface CoreDataFetchedResultsViewController : UIViewController <NSFetchedResultsControllerDelegate, UITableViewDataSource, UITableViewDelegate> / @property (strong, nonatomic) NSFetchedResultsController *fetchedResultsController; @property (nonatomic, strong) UITableView *storyTableView; @property (nonatomic, strong) UIRefreshControl *refreshControl; / @property (nonatomic) BOOL suspendAutomaticTrackingOfChangesInManagedObjectContext; @property BOOL debug; / - (void) performFetch; @end.m@interface CoreDataFetchedResultsViewController () @property (nonatomic)
Jun ’15