Search results for

xcode github

91,982 results found

Post

Replies

Boosts

Views

Activity

UserDomainMask
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
0
0
322
Jun ’15
Reply to Error refreshing profiles in xcode
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
Jun ’15
Custom property list type
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?
1
0
515
Jun ’15
Reply to Using a cell in another file in Swift
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:
Jun ’15
Distribution certificate problem
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.
9
0
963
Jun ’15
Xcode 6 - Watch App, App icon displaced on real iPhone
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?
0
0
341
Jun ’15
Reply to Xcode 7 crashes when trying to select the Main.storyboard.
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 😟
Jun ’15
Automatic formatting of Swift code
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!
6
0
11k
Jun ’15