Search results for

file uri scheme

78,499 results found

Post

Replies

Boosts

Views

Activity

Reply to SIP (System Integrity Protection)
I can 'sudo touch file' in /Library/Desktop Pictures/homeadmins-Mac:~ homeadmin$ cd /Library/Desktop Pictures/ homeadmins-Mac:Desktop Pictures homeadmin$ touch file touch: file: Permission denied homeadmins-Mac:Desktop Pictures homeadmin$ sudo touch file Password: homeadmins-Mac:Desktop Pictures homeadmin$ ls -l file -rw-r--r-- 1 root wheel 0 Jun 9 14:01 file
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to SIP (System Integrity Protection)
/Library/Desktop Pictures itself is not blocked, but try modifying /Library/Desktop Pictures/El Capitan.jpg, which is what /System/Library/CoreServices/DefaultDesktop.jpg points to.I was not able to delete /Library/Desktop Pictures/El Capitan.jpg or remove it in my testing. I could make a copy of the file, and was even able to make a copy of it inside of /Library/Desktop Pictures.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Renaming Kexts?
Thanks for replying. b) provide rootless=0 boot argumentsThat sound promising. So does that mean I can type 'sudo nvram boot-args=rootless=0' any time to turn it off, delete the file, then set it back to 1 again to turn it back on again? Or does sudo not even work with rootless? c) ... Utilities - SecurityThat sounds even easier - like I can go there, turn it off, delete the file and turn it back on.Or am I missing a trick(!)Sorry if these questions sound a bit basic...
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to IOS 9 beta 1OTA
Hope you're able to get your PC repaired soon.iOS updates traditionally have only been offered as firmware files from the developer portal. This is been my experience.Per requirements, your device must be registered as a development device in Xcode. I don't know, officiallly, if restoring it from a PC is advisedanyway. Consider trying again from a Mac.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to iOS 9 Beta battery life
I'm not sure if this is happening for everyone else but I filed a bug report on it. I had done a restore to put iOS 9 on and lost about 30% batter in standby. Home/Lock Screen took about 50% of the power, but Facebook was #2 for background activity even though I have backround app refresh disabled on Facebbook. This might be a possible case of the OS ignoring the BAR settings on some very hungry apps.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to I want to put bordercolor with uiview by swift.
Thank you.I probably resolved this problem.'User Defined Runtime Attributes' was good clue for me.I tried the following code by referencing https://www.weheartswift.com/make-awesome-ui-components-ios-8-using-swift-xcode-6/@IBDesignableclass BorderView: UIView { @IBInspectable var cornerRadius: CGFloat = 5 { didSet { layer.cornerRadius = cornerRadius layer.masksToBounds = cornerRadius > 0 } } @IBInspectable var borderWidth: CGFloat = 1 { didSet { layer.borderWidth = borderWidth } } @IBInspectable var borderColor: UIColor? = UIColor.blueColor() { didSet { layer.borderColor = borderColor?.CGColor } }}if i tried above file on another project,it ran correctly.if i couldn't run correctly another project,i would write it.Thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’15
Playgrounds running forever
Hello all, I've just created a new playground to test drive the new GameplayKit and I can't seem to get the playground out of a continuous running playground that never ends.Just for kicks, I deleted my code and replaced it for the one that comes by default (the hello playground stuff) and it has still not finished running.Should I file a radar?Has anyone experienced this?Thanks!
1
0
1.2k
Jun ’15
Privacy and your app session notes
Apple views privacy as a human rightApp developers - be mindful of privacyKeeping the app ecosystem as a trusted place is important.Architecting for privacyData retentionData privacyData storageIdentifiersData RetentionHave a retention policyDelete data when it no longer serves a user needCollect the minimum data necessaryBalance storage of data against the risk of compromiseData Minimization TechniquesAnonymizeAggregateSampleDe-resolveDecayMinimizeWhat's the use of the data? What decisions are the collected data driving? If you can't come up with an answer, don't collect it. Minimize.Data transferEncrypt data in transitKeep sensitive data on the device, do not transmitProcess sensitive data on-deviceA good example of sensitive data - health data for a workout app. Process it on the device.On Device- Data protection- Keychain - store your secrets inside a keychain's encrypted storageServer side- Encrypt data at rest- CloudKitTransparencyBe clear about what data is being collected- Give users the ability to in
0
0
1.3k
Jun ’15
Reply to Renaming Kexts?
Ok - I installed El Capitain on a partition and tried it.* With finder I went to AppleGraphicsPowerManagement.kext, did 'Get Info', expanded the 'Name & Extension' thing. The name and extension is greyed out - so I couldn't change it there.* Next I went to terminal, went to /System/Library/Extensions and tried to rename it with mv. That didn't work either - it gave an Operation not permitted error.So 'rootless' is definately preventing me from doing what I want here - so I turned it off with sudo nvram boot-args=rootless=0. That seemed to work, so I rebooted.* With finder I want back to the file and did Get Info. This time the name and extension were not grayed out and I was able to change the extension from .kext to .disable* I rebooted. The file was still called '.disable' - it hadn't magically changed back to .kext or anything. So I turned rootless back on by removing the boot argument with sudo nvram -d boot-args, and rebooted.* Back in finder the file was still called '.dis
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Xcode 7 Documentation Download: "image not recognized"
I have downloaded the Xcode 7 beta, and am in the process of trying to download the documentation. However, for all four docsets, I receive the following error message:Could not download and install Xcode 7 Documentation. Failed to mount file:///Users/<user>/Library/Caches/com.apple.dt.Xcode/Downloads/<docset>.dmg at file:///var/folders/vc/<random string>/T/attached-image-<random string>/: image not recognizedI have tried clearing out ~/Library/Caches/com.apple.dt.Xcode, and restart both Xcode and my machine, but keep encountering this error. How can I resolve this?Thanks.
1
0
756
Jun ’15
WCSession sendMessage returning errors (simulator)
I think I've got my Connectivity stuff set up properly, was going off the Lister sample app. But, every time I try to send stuff via WCSession, it fails. Here's the code:// iOS App, in my ViewController override func viewDidLoad() { super.viewDidLoad() if WCSession.isSupported() { WCSession.defaultSession().delegate = self WCSession.defaultSession().activateSession() } } func session(session: WCSession, didReceiveMessage message: [String : AnyObject]) { let msg = message[message] as! String print(Got message! (msg)) } // -------------- // WatchKit Extension - WKInterfaceController subclass @IBAction func buttonTapped() { let session = WCSession.defaultSession() print(Session is reachable: (session.reachable)) // this is false let msg = [message: derp derp derp] session.sendMessage(msg, replyHandler: { reply in print(Got reply: (reply)) }, errorHandler: { error in print(error: (error)) }) }The error in the errorHandler reads Error Domain=WCErrorDomain Code=7004 The operation couldn’t be completed. (WCErrorDoma
6
0
6.9k
Jun ’15
Loading an .Obj model file
I created a simple model in an obj and attempted to load it as an Assetlet bundle = NSBundle.mainBundle() let path = bundle.pathForResource(Torus, ofType: obj) var torusModel = MDLAsset(URL: NSURL(string: path!)!)Error message: Could not load data from /Users/jason/Library/Developer/Xcode/DerivedData/MetalDemo-auxpwrdxoklbrpbtkxmrhkecewhb/Build/Products/Debug/Met ... orus.obj
7
0
35k
Jun ’15
error itms-90023
I am trying to submit an app but i get the error itms-90023. It says that the icon file of exact size 76x76 for ipad missing.I cheked the asset catalog and the file is ther. The size is also exactly 76x76.Dose anybody know what causes the error and how it can be solved.Thanks.
2
0
1.8k
Jun ’15