Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,680 results found

Post

Replies

Boosts

Views

Activity

iOS app receipt validation failing
We have several apps live in the iOS store using code to validate the app receipt locally, using the techniques introduced with iOS 7 and documented here :https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateLocally.html#//apple_ref/doc/uid/TP40010573-CH1-SW2However I have noticed an alarming rate of failure of this code lately, up to the point that we're having trouble even passing App Store review in our last updates, since the code even fails for them. Basically, it looks like the initial receipts on app install/update are invalid, forcing us to refresh it explicitly (which is a bad user experience, forcing the user to enter their App Store login info). This in turn leads to a bad user experience, looking a lot like a bug to the App Review team, even with our own attempts to mitigate this.Once the receipt is refreshed, the validation passes just fine, so it is likely not a problem with our validation code, but rather seems
2
0
6.7k
Jun ’15
Reply to unable to debug watchOS 2 app with Xcode 7
It turns out that although the WatchKit app was upgraded by Xcode to WatchOS 2-type, it didn't really work. I had to make a new target and drag files over and change which bundle they were part of. After that, it didn't work due to an inclusion of a framework that didn't allow for Core Location methods but that's another issue.Hope that helps.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Xcode 7 crash every time I open a new or existing project.
If I go through the new project wizard, or try to open an existing project, I get the same crash every time. It's something from XCSService, and I see keychain mentioned, so I tried relaunching keychain accessing, restarting my machine, etc. Keeps happening. Any workaround?Process: Xcode [516]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8123.26)Build Info: IDEFrameworks-8123026000000000~7Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [516]User ID: 501Date/Time: 2015-06-11 16:20:14.544 -0400OS Version: Mac OS X 10.10.3 (14D136)Report Version: 11Anonymous UUID: A12E8E79-DAD1-FC5C-0724-7549D29029DATime Awake Since Boot: 200 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000VM Regions Near 0:--> __TEXT 00000001088e6000-00000001088e7000 [ 4K] r-x/rwx SM=COW /Applications/Xcode-beta.app/Contents/MacOS/XcodeApplication Sp
2
0
1.7k
Jun ’15
Reply to Can you create a Set of a single protocol?
So, assuming that it is not possible (without resorting to creating a custom Set type etc), one wonders if there is any particular reason for why Hashable should/must imply Equatable, or rather why the == of Equatable should/must have Self parameters.Btw, here's another (boilerplaty) workaround, using an enum:protocol SomeProtocol : CustomStringConvertible { } struct Foo : SomeProtocol { var description: String { return Foo(id) } let id: Int init(_ id: Int) { self.id = id } } struct Bar : SomeProtocol { var description: String { return Bar(id) } let id: Int init(_ id: Int) { self.id = id } } struct Baz : SomeProtocol { var description: String { return Baz(id) } let id: Int init(_ id: Int) { self.id = id } } enum ConformingToSomeProtocol : Hashable, CustomStringConvertible { var description: String { switch self { case .FooValue(let v): return v.description case .BarValue(let v): return v.description case .BazValue(let v): return v.description } // Any shorter way to do this? } case FooValue(Foo) case BarValue
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Two versions? Or In-App purchase?
I want to distribute a free version of my app which will allow the user to do everything except save the data they've entered. The paid version of the app would add only that data-saving function. The free app would be quite useless without the ability to save, though it would demonstrate the app layout and functions, and show how to use it.So, should I make two different versions of my app available on the App Store? Or should I have just one version and use In-App Purchase to unlock the save functions? If the latter, could someone point me at a tutorial that would show me how to do that?dkj
1
0
436
Jun ’15
Notes from Thursday Education and Enterprise Development Lab
Question:What does opendirectoryd's FDESupport module do?Answer:That's the module which is responsible for taking password updates from opendirectoryd and updating the FV 2 pre-boot login password. It's a helper utility.Question:Does fdesetup sync also help sync passwords from a directory service?Answer:No, it does not sync passwords. (Same message from both Security and Enterprise labs.)Question:Is there a way to run a deferred enablement, which also allows the enablement of a second account. For the purposes of the question, assume that the second account's password has been provided.Use cases that may apply:A. An enterprise that wants deferred enablement for the primary user of the machine, but also wants to enable the local admin account for FV 2.Answer:Please file enhancement requests. (Same message from both Security and Enterprise labs.)Question:When using fdesetup enable -inputplist the password is clear text in the plist. Can this be changed so that the password can be hashed? A col
2
0
3.1k
Jun ’15
Reply to Notes from Thursday Education and Enterprise Development Lab
Managed Distribution Does Managed Distribution Device Assignment support in-app purchases? iAP not supported with MDM device assignment in iOS 9. Apple is aware of the desire for this feature and are discussion the best approach.Apple Configurator 2 An admin can export a company profile and import to as many machines as needed. Single sToken - cannot use institutiontal sToken with a seperatel location sToken for application deployment. The ideal method for Managed Distribution Device Assignemnt will be utilizing AC 2 as a mechanism to auto-enroll into an MDM. App thinning is not supported with Apple Configurator.iOS 9 How will iOS handle storage constraints for iOS updates? Currently, the iOS update command will fail the device will not be able to silently update. Similarly to non-silent updates, 50% battery is required for installation. A future update to iOS (not iOS 9) may do the following: Delete tagged App thinning Application data Delete Managed Applications -> Update iOS -> Push
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to App Store not updating / downloading apps
Yes! This has been happening to me as well. This workaround has worked reliably for me... 1. Stop any updates that are currently trying. 2. Turn off Wifi. 3. Find the smallest app that needs updating (to conserve OTA data) and tap Update. 4. Once it starts downloading, kick on Wifi. 5. Hit Update All. The apps should start downloading and installing. Tried to stick a proxy between the phone and my computer to sniff the packets, but that failed... Not sure why this is happening. Same issue on my home and work wifi. A reboot also fixes it... But that takes forever. 🙂-T
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to What platforms can we target with Swift 2.0?
Based on the videos and some of the new Swift API's are explicitly available on iOS 7 (like #available and guard statements), I'd say Swift 2 will run on iOS 7 and later. The next question is going to be when can we start submitting Swift 2 Apps to the App store. I'm not going to make the change to 2.0 until I know I'll still be able to submit our Apps (or at least have a reasonable accurate timeframe of when I will). And I'll say I really want to make the change to 2.0 ASAP.AndrewEdit: The Swift session currently streaming live is making many references to running on iOS 7 and later.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Connecting to Superclass Properties
Thanks for the reply. The superclass is a CoreDataFetchedResultsController. It's used to handle all of the heavy lifting with Core Data. The reason for connecting the table to the superclass is so that I can access all of the methods and update the table. I tried the IBOutlet option and could not find it when I tried to connect the tableview. It did not show up as an option when I control click dragged to the viewController that subclassed the superclass. Am I missing something here?I'd be happy to look into the protocol option with Swift 2. Do you have any resource that would explain that process? It doens't look like the documentaion is up to date yet.Take care,Jon
Jun ’15