I'm receving a Verification Failed: An unknown error occured when attempting to add a credit card to my Watch 2.0 watch via the Apple Watch iOS app. I have two-step verification enabled for my account, so I tried to create an app specific password. Using the app specific password produced the same error.
Search results for
DTiPhoneSimulatorErrorDomain Code 2
158,492 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The first step is to know what kind of Apps you would like to develop. App categories are so inmense, that it will take you a decade to Master them all. You can choose to be a generalist but I wouldn't recommend it. The more you cover, the less expert you become. So after you decide which category (example Games). Then you can dive into learning code and follow the videos / links that were posted. ** Don't get too deep into coding, just learn it enough to make it functional. Concentrate on expresing your ideas through UX design.. it's what sales!.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
With iOS 9, I'm taking the opertunity to rewrite a small game of ours, and found that there are a few errors that keep popping up no matter what we do. Just thought I would share and see if anyone else has them or if anyone has solutions?Edit: Forgot to remove my unhandled iAd errors (I was going to include a picture which didn't have them in it, but they are not supported on the new forums). Also, I'm using GameKit (GameCenter is turned on), StoreKit (In-App Purchases is turned on), and iAd Frameworks in my app. No custom intergration, I've not even typed a single item of code besides linking UI items. Spaced the errors for readability.Edit 2: There is a comment below with an update (second comment down). Although this started in iOS 9 Beta (before Xcode Beta Form was avaible) it was for Xcode7 Beta 1, it is still relevant for Beta 2. It has also came to my attention that most of these errors have been showing since Xcode 5 or 4 (around 2012 - 2013). They have been known bugs, but
i installed watchos 2 and ios 9 today however i have my contacts on icloud enabled but my watch still has no contacts my favorites are numbers not their name. i don't know what is going on it was working fine before upgrading.
Any idea what to do with this compile error in Xcode7? It doesn't like something about the storyboard it seems, but not clear whatCompileStoryboard Classes/Storyboards/AddEditLogs~iphone.storyboard cd /Users/user/Documents/ContactsJournal-316/SimpleList export PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode-beta.app/Contents/Developer/usr/bin/.. /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --module CJournal --output-partial-info-plist /Users/user/Library/Developer/Xcode/DerivedData/SimpleList-amnbkfmzfnizoraydqdeqdmphixr/Build/Intermediates/SimpleList.build/Debug-iphonesimulator/SimpleList.build/AddEditLogs~iphone-SBPartialInfo.plist --auto-activate-custom-fonts --target
Hello Justin.Thank you for reprying.>Are you seeing a crash with the code you pasted or is it just having no effect?I'm sorry.There is a crash.Crash log is following.---------------------------------------------------------------2015-06-09 13:54:59.860 shotworks_for_ph2_by_swift[43366:607] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIView 0x7fc5e04d86c0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key borderColor.'*** First throw call stack:( 0 CoreFoundation 0x000000010d435495 __exceptionPreprocess + 165 1 libobjc.A.dylib 0x000000010d19499e objc_exception_throw + 43 2 CoreFoundation 0x000000010d4b9919 -[NSException raise] + 9 3 Foundation 0x000000010cd75530 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259 4 UIKit 0x000000010d716569 -[UIView(CALayerDelegate) setValue:forKey:] + 149 5 CoreFoundation 0x000000010d431400 -[NSArray makeObjectsPerformSelector:] + 224 6 UIKit 0x000000010d911893 -[UINib
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
I just spent all day migrating my 30,000-line Swift project to 2.0 and was rewarded with this lone error. Any clue what it means? Is it yet another internal error?Assertion failed: ((IGF.IGM.DataLayout.getTypeSizeInBits(coercionTy) == IGF.IGM.DataLayout.getTypeSizeInBits(paramTI.StorageType)) && Coerced types should not differ in size!), function emitDirectExternalParameter, file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.38.1/src/swift/lib/IRGen/IRGenSIL.cpp, line 908. 0 swift 0x0000000106f20e0b llvm::sys::PrintStackTrace(__sFILE*) + 43 1 swift 0x0000000106f2154b SignalHandler(int) + 379 2 libsystem_platform.dylib 0x00007fff94a83f1a _sigtramp + 26 3 libsystem_platform.dylib 0x0000000000000003 _sigtramp + 1800913155 4 libsystem_c.dylib 0x00007fff9c270b53 abort + 129 5 libsystem_c.dylib 0x00007fff9c238c39 basename + 0 6 swift 0x000000010506869d (anonymous namespace)::IRGenSILFunction::emitSILFunction() + 13693 7 swift 0x0000000105064d52 swift::irgen::IRGenModule::emitSILFu
It appears to be crapping out on this perfectly harmless line of code (which compiled fine in 1.2), so I think it's the Swift compiler just crashing and burning like all during 1.0 Beta. Perhaps due to some project-complexity issue? Anyone else seeing problems like this already? func moveToAction(target: SCNVector3) -> SCNAction {
Topic:
Programming Languages
SubTopic:
Swift
Tags:
it appears to be so many bugs on watchos 2 first my contacts are gone. Now sending heartbeat is totally wrong even receiving it. It beats so fast even if your last measure is 60. Even when you receive heartbeat is viberate so fast. Any solution? I'm regretting this upgrade
It doesn't seem to be possible for me to debug on device wtih my apple watch. I can run my develpment app normally, but Xcode just can't seem to attach to a debugging session.I've read the relase notes and have tried:1) deleting the app/apps from devices and trying again2) ensuring Show App on Watch is on for dev app3) restarting all of: watch, phone, xcode, mac.4) unpairing / pairing againNo dice.When I click Run on the [AppName] WatchKit App scheme, the status window says Running [AppName] WatchKit App on [Phone name]. It stays like that for about 45 seconds. Then it says Finished running [AppName] WatchKit App on [Phone name].It really seems like the Phone->Watch connection is just way too slow. When I launch Xcode, it takes about 2 minutes before it considers my Phone+Watch pair as eligible for this scheme. During this initial 2 minutes, if I look into Window->Devices I don't see my watch listed even though I can clearly see it is paired.I'm going to turn this into an official bug
My app supports Touch ID to allow the user to log in using a saved credential (password).When the user launches the app, they are immediately prompted to touch the home button to log in.A successful touch retrieves the credential and uses it to log in.We have been seeing sporadic problems under iOS 8.3.Upon launch the system will *not* prompt the user to touch, it will instead directly retrieve the correct credential and log in.I set the credential using the following code (some details shortened for readability):-(void)enrollTouchForUser:(NSString *)username { NSString *password = @passwordFromInterface; NSData *encodedPassword = [NSData encodePassword:password forUsername:username]; NSData *encryptionKeyData; // obtained from outside process - code not needed for this sample NSData *encryptedPassword = [NSData encryptDataWithKey:encryptionKeyData withData:encodedPassword]; // add the key to the keychain CFErrorRef error = NULL; SecAccessControlRef sacObject; // Should the secret be invalid
I'm not able to download the El Capitan beta because
Can anyone tell me how I would go about using Markdown to document code? With RestrText, if I option-click on a function name, it will properly format my description, parameters, and return types. What is the format for Markdown? Thanks.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Check out Objective-C Language Features in the Xcode 7 beta Release Notes.Specifically:Lightweight generics allow you to specify type information for collection classes like NSArray, NSSet, and NSDictionary. The type information improves Swift access when you bridge from Objective-C and simplifies the code you have to write. (6294649) For example:NSArray<UIImage *> *images; NSDictionary<NSString *, NSURL *> *resourcesByName;
Topic:
Programming Languages
SubTopic:
General
Tags:
This is mostly a heads-up to those looking to install the iOS9 beta - AirWatch Agent, for their MDM platform, crashes and can't execute under this beta.Awkward, but, beta is beta. Identifier: com.air-watch.agent Version: 5 (5.0.1) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2015-06-09 15:08:28.28 +1000 Launch Time: 2015-06-09 15:08:26.26 +1000 OS Version: iOS 9.0 (13A4254v) Report Version: 105 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000 Triggered by Thread: 0 Filtered syslog: None found Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 ??? 0000000000 0 + 0 1 AirWatch 0x0039a297 0xe0000 + 2859671 2 AirWatch 0x0033ddab 0xe0000 + 2481579 3 AirWatch 0x0033dcfd 0xe0000 + 2481405 4 AirWatch 0x0029add3 0xe0000 + 1813971 5 AirWatch 0x000e4e49 0xe0000 + 20041 6 libdyld.dylib 0x360629cf 0x3605d000 + 22991 Thread 0 crashed with ARM Thread State (32-bit): r0: 0x00000000 r1: 0x00000000 r2: 0x000f4240 r3: