I have downloaded some Code which had previously worked for the coder, who was able to run ok on his App.However when I try to use the code to save data to iphone memory I get an Error Message stating ...Use of unresolved Identifier UserDomainMask..I have tried using NSUserDomiainMask to replace it and that doesn't seem to solve the problem.It seems that the coder may have been using a Beta version of Xcode 6 for his App.Can anyone please tell me what should replace UserDomainMask in the code below?/ func documentsDirectory() -> string { let documentsFolderPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask, UserDomainMask, true)[0] as String return documentsFolderPath }Kind Regards.Del
Search results for
xcode github
91,982 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I didn't see a place to discuss Xcode 7 in the Xcode forum or the Pre-release forum. The same for new beta of OS X Server.
Hello ! Try Only to log out with your DEV Accout on Xcode and re Login normally it should fix this Problem . This is a Bug which appears from time to time in Xcode Versions But I don't know why. For me this solution works everytime the bug appears . So check it out . With best regards Philipp
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Before updated xcode, everything was fine, but now I get a lot of errors. These errors mean that I do not have certificates, but I check the Member Center, I have everything. Can anyone write a step by step what to do? It would have helped. Picture errors:http://i.stack.imgur.com/pQp2O.png
I am trying to create custom plist definition file. What I did:Create predefined PlistEdit ProMoved saved file to ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/And nothing happened. I am seeing that I can switch to some example types(see on image) in Plist Editor. But how add custom type definition?http://i.stack.imgur.com/eyB9R.pngAs you can see at image exists some example structures.The question is how to create or register custom type to Xcode or Property list editor?
Im having a problem with my xcode ? For some reason my storyboard and table do not look the same as all the tutorials that i have been watching and it wont let me drag and drop on the storyboard. Any ideas i cant' figure it out and it has been driving me nuts i have the most up to date OS and xcode Please help
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I found the problem: Xcode forgot to add the new TodayCell file to the list of compile sources when I added it to the project. Once I manually did it everything worked fine - I had a funny horror trip in a list of errors in the MKStoreManager library, but all of them went away upon returning to the last commit.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Dear Developers,I got a following problem :When I try to submit new build version to app store for testing I got this message from Xcode : Your account already has a valid iOS distribution certificate, but it's not installed locally.But actually it is, it displays in Keychain access caertificates list. Xcode doesn't allow me to import any profile files and something like this. I' ve tried all standart solutions: revoked certificates, provisioning files reinstalled it and all this. How to fix it? thanks for your time and help in regard.
Is it possible to use Xcode 6 to deploy to an iOS 9 phone? Or, is it possible to use Xcode 7 to submit apps to the app store build for iOS 8? In the past the notes have said no, but I haven't seen equivalent language this time around.
My experience has been that beta versions of XCode only support a single iOS version.You would need to use a release version of XCode to do that.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
i do not have the same format tables as shown in many tutorials what am i doing wrong ?
I'm building my first Watchkit app, still on non-beta. I got my watch a couple of days ago so I want to deploy to real hardware.When I use XCode to target my iPhone, and run the iPhone app, it runs, but the phone app icon is not displayed normally on thephone, it shows up on the first home page screen, but it's underneath the first app icon, and not responsive. Same thing if I target the watch kit app.Here's a snapshot. I blurred the app icon a bit so as not to give away too much about the app.https://www.dropbox.com/s/l18rs9ts9fdf7jk/badIcon.png?dl=0When I open the Watch App, I see the app, and I can turn on show it on the watch but on the watch, it has no icon (I do have an AppIcon in images.xcassets in the watch app, but they don't show up on the watch, and when I try to run it on the watchSince I can't interact with the phone app button, the only way I found to delete it is to go into settings>usage and delete it.Any ideas what may be wrong here?
Same here, old projects and brand new Xcode 7 projects. Select a nib or storyboard and:UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -containsValueForKey: only defined for abstract class. Define -[NSUnarchiver containsValueForKey:]!Mac restart hasnt made any difference, OSX up to date, seems the beta needs an update to fix this.Pity though, wanted to test out StackViews 😟
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Is anyone having trouble creating a bot with xcode 7 b1 and El Cap Server beta? It gets stuck after Schedule bot integrtions. The Test With selection says Loading and never returns.
There's a weird behaviour in Xcode when writing Swift code.Try to write this code for example:var fullName: Bool { get { return firstName + + lastName } set { splitFullName(fullName); } }Now what really happens is this:var fullName: Bool { get { return firstName + + lastName } set { splitFullName(fullName); } }That weird indentation is something that Xcode strongly insists on. And I know that although Apple developer seem to think that brackets on the same line is better for some reason, there's no way in **** they think that that indentation is correct!