Search results for

file uri scheme

78,573 results found

Post

Replies

Boosts

Views

Activity

Error trying to build watchOS 2 app in Xcode 7
Extension error:target specifies product type 'com.apple.product-type.watchkit2-extension', but there's no such product type for the 'iphonesimulator' platformMy watch app also has this error:Xcode/DerivedData/AnxietyTracker-aabqxayllohhlydulhldvvzxqkzv/Build/Products/Debug-watchsimulator/AnxietyTracker WatchKit Extension.appex: No such file or directoryAnyone have any suggestions or insight?
8
0
14k
Jun ’15
How to Disable Rootless?
Hi,I just installed the OS X El Capitan, Now i'm suffering major setback because of the new “feature” called “Rootless” which blocked me from editing some of the root files using an App.I would to know how'd i disable it? I need urgent help!
2
0
2.8k
Jun ’15
Reply to I have created a gitignore file but xCode is not using it so I get merge source code errors, what have I done wrong ?
Your gitignore file must have the following name:.gitignoreYou can't call it default.gitignore and have git recognize it as a gitignore file.You don't tell Xcode where to look for your .gitignore file. You place the .gitignore file in your git repository, normally at the root of the repository, inside the .git folder.Keep in mind the Finder hides files and folders that begin with a period so you may have a difficult time finding your .gitignore file and your git repository in the Finder. I normally use BBEdit to write and save .gitignore files because it can show hidden files and directories in the Open and Save dialogs. I don't know if TextWrangler has the same capability. There are also utilities and Terminal commands to temporarily show hidden files and directories. An Internet search for os x show hidden files reveals many articles showing the Terminal commands to use.
Jun ’15
Module file's minimum deployment target is ios9.0 v9.0
When creating a new playground in Xcode 7 beta (7A120f) and using a custom Cocoa Touch Framework I get the error:Playground execution failed: Game.playground:4:8: error: module file's minimum deployment target is ios9.0 v9.0The custom framework does use specific iOS9 code. When adding a class to the Sources folder using GKEntity the compiler also shows an error explaining I should use:@available(iOS 9.0, *)The meta data of the playground does not show any indication the Playground uses a deployment target (8.4 or some other version).What am I missing here? Why can't I use a custom framework created with iOS9?
1
0
4.7k
Jun ’15
Xcode Server Simulator Times Out
Hi,I'm working on getting up and running with Xcode Server for Continuous Integration. I'm running Xcode 6.3.2 on my development machine, and have OS X Server 4.1 running on an iMac with the latest version of Yosemite. I've created a bot for my project, but every time it runs I get an error stating the followingBot Issue: error. Uncategorized.Issue: Test target Tests encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1. If you believe th.Integration Number: 18.Integration URL: https://ucs-imac.slcb.uc.edu/xcode/bots/B6CBA97/integrationsDescription: Test target Tests encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1. If you believe this error represents a bug, please attach the log file at /Library/Developer/XcodeServer/Integrations/Integration-22c44be172594e54917e9723b9116f90/Session-2015-06-15_18:17:02-ukAljH.log).I've seen several similar issues related to Jenkins and other third party CI servers. One of those disc
2
0
2.5k
Jun ’15
Need help adding arrays to dictionary - cocoa
I am following this tutorial: https://www.youtube.com/watch?v=4_0Ao11zrtMI am trying to make a login box similar to the one in the video, but for a cocoa app on OS X. I am fairly new at objective-c, and this is my first app.Here is the current code for my LoginController.m file:#import LoginController.h @implementation LoginController - (void)awakeFromNib { [prodigyLabel setTextColor:[NSColor orangeColor]]; [studioLabel setTextColor:[NSColor darkGrayColor]]; loginDictionary = [[NSDictionary alloc] initWithObjects:@password forKeys:@username]; } - (IBAction)loginButtonPressed:(id)sender { } @endThe loginDictionary part was modified because I looked online and thought it might help when I found it on a different site, hence it says NSDictionary alloc.It originally said:loginDictionary = [[NSArray alloc] initWithObjects:@password, nil];But there is no option for forKeys as seen in the tutorial.I keep getting error:Incompatible pointer types sending 'NSString *' to parameter of type 'NSArray *'Please hel
2
0
325
Jun ’15
Reply to How to Disable Rootless?
Disabling system integrity protection (SIP, aka rootless) is possible using the steps described in WWDC Session 706 Security and Your Apps.<https://developer.apple.com/videos/>However, you really have to think about the future here. SIP is going to be a feature of future versions of OS X and it's unreasonable for your app to require that it be disabled.What root files are you editing? In most cases there are alternative strategies that are both secure (and hence work with SIP enabled) and compatible.Share and Enjoy--Quinn The Eskimo!Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to iOS 8.3 - Core Telephony functions not working
Core Telephony is a public framework but it does not have public APIs for getting signal strength and so on. The routines you've mentioned are private and the iOS 8.3 sandbox has been updated to prevent you from calling them.There are no public APIs for getting signal strength on iOS. If you'd like to see such support added in the future, I encourage you to file a bug describing your requirements.<https://developer.apple.com/bug-reporting/>Please post your bug number, just for the record.Finally, if you're working on behalf of a carrier you should talk with your carrier about this issue.Share and Enjoy--Quinn The Eskimo!Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Jun ’15
Reply to TLS PSK with NSURLConnection
> Is it possible to TLS PSK ciphers with NSURLConnection/NSURLSession?No. NSURLSession does not give you control over TLS at the level you need.If you'd like to see such support added in the future, I encourage you to file a bug describing your requirements.<https://developer.apple.com/bug-reporting/>Please post your bug number, just for the record.Share and Enjoy--Quinn The Eskimo!Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Jun ’15
dependency injection and protocols
I had a posting in the older forums about this issue. I never really found a solution. Maybe I can try posting again and see if anyone has some good advice.I am a big fan of TDD. One of the techniques I picked up was dependency-injection. Objective-C is a very laid-back language when it comes to type-checking. It is very easy for the compiler to let you swap a test-double class for a production class. I am having a problem in Swift that you might be able to help with.class ChildClass { } class ParentClass { func child() -> ChildClass { return ChildClass() } } protocol ChildProtocol { } extension ChildClass: ChildProtocol { } protocol ParentProtocol { func child() -> ChildProtocol } extension ParentClass: ParentProtocol { }This code is failing to build. Swift does not believe that ParentClass can conform to ParentProtocol. This is a contrived example. I will show you a real example where I would use this pattern in a real app.import Foundation protocol SessionTaskType { } extension NSURLSessionDataTask:
5
0
1.5k
Jun ’15
Reply to iOS 9 Beta battery life
As was suggested, I turned off iCloud Drive in settings and the battery life immediately returned to iOS 8 levels, if not better. iPad Air 2 14 hours standby 1.5 hours use, 88% battery remaining. very useful feature since the share sheet seems to rely on it even if you try using other file sources- not sure if that's intentional behavior because I've never disabled icloud Drive before. But it's worth it for now.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Downloaded SF font is still Helvetica :-(
I think the fonts are installed. They appear to be in /System/Library/Fonts (look for files starting with SFNS) but they are not accessible in FontBook or font menus.One post I found on the internet (talking about the new Chinese Font) noted that the font name (not the file name) may start with a '.' which makes it invisible in some applications (to stop people changing it).
Topic: App & System Services SubTopic: General Tags:
Jun ’15