Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,677 results found

Post

Replies

Boosts

Views

Activity

Reply to Is Split View working for anyone?
People: read the documentationSplit ViewYou can now put two windows in a full-screen space. These windows may belong to the same application or two different applications.There are two ways to create a split-view space. First, you can long-press on the green full-screen button of a window that supports full screen. Place the first window on one half of the screen, then choose a second window from an exposé arrangement of eligible windows.Alternatively, you can drag a window that supports full screen up through the menu bar to open Mission Control. In Mission Control’s Spaces Bar, you are given an option to create a new full-screen space. You can then select a second window and drag it on top of the full-screen thumbnail to create a split view.Window minimum sizes are respected, so you are only able to combine two windows if their combined minimum widths fit within the width of the screen.Once in a split-view space, you can drag the divider between the two windows l
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Application is not recognized by Game Center after certificate renewal
I recently renewed my iOS Certificate and now one of my apps that has been on the app store and using game center will no longer let me sign in. When Game Center is trying to authenticateLocalPlayer I get GKErrorDomain Code=15 The requested operation could not be completed because this applicaion is not recognized by Game Center. Also when I go to iTunes Connect I see on my app page in red Leaderboard is not a member of a leaderboard set attached to version 2.0. I don't know what I am missing to get Game Center working again for my device. Any help would be appreciated, thank you!
2
0
1.6k
Jun ’15
Reply to Does anyone have sample code for complications?
Hi,I found it complicated to get the complications to show up in the Simulator—the code was relatively simple, but placeholders didn’t seem to show up due to caching issues.The video ‘Creating Complications with ClockKit’ is definitely the best place to start—the code below is based on the code shown in the video.Create a new project------------------------------------------I found it easier to create a new project with the complication support added in (which also generates the stubs for the data source protocol functions), and then add that to my existing project. + File > New > Project > watchOS > Application (‘iOS App with WatchKit App’) + Add in ‘Include Complication’Targets------------------------------------------Check the following settings for the WatchKit Extension target: + Target > WatchKit Extension + Complications Configuration: + Data Source Class = %(PRODUCT_MODULE_NAME).ComplicationController + Supported Families: check required families (only check t
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Questions about NSCalendar
I'm getting a bit futher.let dayHourMinuteSecond = NSDateComponentsFormatter() dayHourMinuteSecond.allowedUnits = [.Day, .Hour, .Minute, .Second]Now conforms to the new way Swift 2.0 wants things formatted.I'm trying to figure out the calculated calendar time difference between two dates. Pretty simple. I think the function is the following: (using the autofill template),let userCalendar = NSCalendar.currentCalendar() let difference = userCalendar.components( <#T##unitFlags: NSCalendarUnit##NSCalendarUnit#>, fromDate: <#T##NSDate#>, toDate: <#T##NSDate#>, options: <#T##NSCalendarOptions#>)So my code with my variables would read (with the components used from the formatter above (which the compiler is happy with)let difference = userCalendar.components( dayHourMinuteSecond, fromDate: goHomeYoureDrunkTime, toDate: badPoetryDay, options: NSCalendarOptions)But I can't find any value that satisfies the Options for this. In my other code, WrapComponents was the onl
Topic: Programming Languages SubTopic: Swift Tags:
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
How does 'appearanceWhenContainedInInstancesOfClasses' work?
Hey guys,as 'appearanceWhenContainedIn' is deprecated in iOS 9 and should be replaced with 'appearanceWhenContainedInInstancesOfClasses' I want to tweak my code to that effect. But how to do that? I didn't find something in the official documentation. ATM, my code looks like this:[[UIScrollView appearanceWhenContainedIn:[UITableView class], nil] setBackgroundColor:[UIColor whiteColor]];How do I rewrite this snippet for iOS 9 using 'appearanceWhenContainedInInstancesOfClasses'? Thanks in advance! 🙂Alex
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
7.7k
Jun ’15
Is anyone able to build the Lister sample project?
So I downloaded the latest Lister sample code for Xcode 7.0b1. I set up the bundle identifier prefix, the development team, and the provisioning profiles as specified in the PDF that came with the sample code. I then tried to build it, but got the following error:---Failed to code sign ListerKit (watchOS).No valid signing identities (i.e. certificate and private key pair) matching the team ID “A93A5CM278” were found.Xcode can attempt to fix this issue.---I don't recognize that team ID, so I'm guessing it's one of Apple's internal accounts. I'd like to change it, except that the General tab, where the setting is normally changed, is not present when I choose the ListerKit (watchOS) framework in the project's target list. It is present on the OS X and iOS framework targets.Is anyone outside of Apple able to build this sample code? If so, then what did you do to get the watchOS framework to build?
6
0
1.2k
Jun ’15
Xcode 7 crashes when opening Swift iBook playground in El Capitan
Hello,When I attempt to open the Guided Tour playground file mentioned in the pre-release Swift programming book in Xcode 7 on El Capitan (first build), Xcode crashes immediately upon opening. I've been able to use it fine with other projects/playgrounds etc, its just this indiviudal one.I've included a snippet of the crash log - does anyone know of a fix for this?Thanks in advance.Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: ProductBuildVersion: 7A120f ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDELanguageSupport/IDELanguageSupport-8102.19/IDELanguageSupportUI/Playground/Editor/IDEPlaygroundSourceTextScrollView.m:322 Details: result should be an instance inheriting from IDEPlaygroundTextView, but it is nil Object: <IDEPlaygroundSourceTextScrollView: 0x7f8ffd8cebc0> Method: -_drawGutterAndResultSidebarBackgroun
0
0
224
Jun ’15
Reply to Restore WatchOS to 1.0
There is not a way to go back from watchOS 2 to a previous version. This is outlined in the watchOS beta Software Installation Guide. If you have run into issues installing watchOS 2, please visit support.apple.com for assistance.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15