Search results for

A Summary of the WWDC25 Group Lab

10,098 results found

Post

Replies

Boosts

Views

Activity

Reply to Address sanitizer "container-overflow" bug or false positive in vector<>::push_back()?
Hmm, I have a similar issue I cannot get rid of even when setting opti-level to -01. This problem gets triggered pretty early in my app's code rendering ASAN rather useless... bummer.===================================================================6125==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x00011153a191 at pc 0x000100361830 bp 0x000114f82d20 sp 0x000114f824b0READ of size 4 at 0x00011153a191 thread T55 #0 0x10036182f in wrap_memcpy (/private/var/mobile/Containers/Bundle/Application/3CFC02D5-E600-4990-B8E0-BD41E16A710D/Lokate.app/Frameworks/libclang_rt.asan_ios_dynamic.dylib+0x3582f) #1 0x180f0b3a3 in agxuEmitRenderPipelineState (/System/Library/Extensions/AGXGLDriver.bundle/AGXGLDriver+0x373a3) #2 0x180f05c6f in glrAGXRenderVertexArray(GLDContextRec*, unsigned int, unsigned int, int, int, unsigned int, void const*, int, void const*) (/System/Library/Extensions/AGXGLDriver.bundle/AGXGLDriver+0x31c6f) #3 0x1864e8e57 in <redacted> (/System/Library/Frameworks/OpenGLES.framework/GLEngin
Sep ’15
Reply to GM (was Beta 8) - can't launch applications
*** = l s d (without spaces, the forums want to convert to *** if i don't put in the spaces). It's LaunchServicesDaemon, right? it's crashing every 5 secondsProcess: *** [859]Path: /usr/libexec/***Identifier: ***Version: 728.2Code Type: X86-64 (Native)Parent Process: launchd [1]Responsible: *** [859]User ID: 0Date/Time: 2015-09-02 11:59:54.221 -0400OS Version: Mac OS X 10.11 (15A263e)Report Version: 11Anonymous UUID: 98FBD7C6-A1F5-E174-F66F-39ECB5EA836CSleep/Wake UUID: F34186CE-391C-4AE0-B065-7872862CF447Time Awake Since Boot: 830 secondsTime Since Wake: 390 secondsCrashed Thread: 2 Dispatch queue: com.apple.***.databaseException Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x000000010f278980Exception Note: EXC_CORPSE_NOTIFYVM Regions Near 0x10f278980: Dispatch continuations 000000010e800000-000000010f000000 [ 8192K] rw-/rwx SM=PRV--> mapped file 0000000110280000-0000000111b90000 [ 25.1M] r--/r-x SM=ALIThread 0:: Dispatch queue: com.apple.main-thread0 libsystem_kernel.dylib 0x0000
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to Design decisions / goals / philosophy of Swift
I think that's a bit like saying: Biology is important, but it fails for simple things like describing green plants. It's not by chance that biology gets really ugly in these areas and needs sick stuff like photosynthesis.Yes, managing the GUI and state of a simple app is easy no matter what tools/concepts you use. But managing sufficiently complex GUIs together with some database state and so on, is not simple things, but it can be made simpler by using good tools/concepts. And it's not by chance that many/(most?) large such systems (eg Facebook et al) tend to use some form of functional programming (inspired) approaches for managing exactly these things (using eg React or some other form of futures, streams, signals, reactive / flow based things). This, and the fact that mainstream programming languages adds lambdas, map, filter, etc is not just some short lived craze, it's because they are useful, as is the concepts of various classic data structures, and OOP, FP, delegates, and monads.Monads are not some
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
Xcode 6.4, 7 beta 6, and Application Loader crashing upon submitting archive
Hey there. My team and I have been working hard to be able to submit an app before iOS9 comes out. However when I try to submit our app to iTunes Connect, I get a crash every single time. I have tried Xcode 6.4 (6E35b), Xcode 7.0 Beta 6 (7A192o), and the Application Loader that comes with both of them 3.1 (670) and 3.2 (842). Every one of these applications crashes when it gets to the Uploading Archive step.I have tried closing all projects in Xcode and using the Organizer. I have logged into the Member Center to make sure I don't have any agreements to click through. I have made sure my distribution profiles are valid. I have logged out and back into Xcode and Application Loader. I have rebooted many times. I have tried deleting and reinstalling Xcode. None of these solutions seem to get me past these crashes.I am using OSX 10.10.5 (14F27)Every crash seems to be related to the same uncaught exception:UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSTaggedDate length]: unrecognized selector sent to inst
3
0
866
Sep ’15
App store review of ways to share file path/file between a share extension and an iOS app
I have added a share extension for my app say SAMPLE(already exists on the app store), called lets say SAMPLESHARE.Whenever a user, say takes a picture and tries to share it, I want them to go through a view controller of an Open In functionality, and not get the Post dialogue from Apple, basically bypassing it. So I am trying to share the picture between the share extension and my app, by creating an app group that is shared between the app and plugin and then passing the file paths to the openURL of the application delegate of my app.I have basically used some Creative commons license code off the internet(reputed site), which claims to have passed the app store review process.There are two workarounds in the code, one is to call the OpenURL from the share extension(which from scouring Stack Overflow seems like is still not possible normally without workarounds on iOS 8.3 and above) and the second is to hide the post dialogue and the keyboard that apple provides by default when anyone clicks on sha
0
0
225
Sep ’15
unimplemented initializer error makes no sense
Hi,Can anyone help me understand this error? I subclass UITableViewController, as show below. The error is:fatal error: use of unimplemented initializer 'init(nibName:bundle:)' for class 'MyApp.MyViewController'class MyViewController: UITableViewController { var thing: Thing init(thing: Thing) { self.thing = thing super.init(style: .Grouped) }It then requires me (why I don't know) to add this:required init?(coder aDecoder: NSCoder) { fatalError(init(coder:) has not been implemented) }Then it compiles fine. My code calls `init(thing:)` and it crashes with that error.RobXcode 7b6
10
0
9.6k
Sep ’15
Reply to unimplemented initializer error makes no sense
In XCode 7 beta 6 I didn't get this error. But I was required to implement `init?(coder aDecoder: NSCoder)` even though the initializer exists in the superclass. This code compiles (and you could alternatively also call `super.init(coder: aDecoder)` if you have a default for `thing`):import UIKit class MyViewController: UITableViewController { var thing: Int init(thing: Int) { self.thing = thing super.init(style: .Grouped) } required init?(coder aDecoder: NSCoder) { fatalError() } }For XCode 6, what you report seems to be a known problem with a discussion and some proposed solutions here:http://stackoverflow.com/questions/25139494/how-to-subclass-uitableviewcontroller-in-swift(check out the code of the first answer)
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
Reply to unimplemented initializer error makes no sense
Maybe because I'm building for iOS 8 and running 8.4 iPad? Did you test on 9.0?That's it. I could reproduce your issue with iOS 8.4 sim. Sorry for having missed such basic settings.Another work around is to make your init(thing:) a convenience initializer. (You need to make `thing` as Thing! in this case as well.)class MyViewController: UITableViewController { var thing: Thing! convenience init(thing: Thing) { self.init(style: .Grouped) self.thing = thing } //No designated init cannot appear... }While adding only convenience initializers, your class can inherit all designated initializers including init(nibName:bundle:) .
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
IAP Receipt validation failing for some users
Hi all,I have an app in the AppStore that was converted from a paid to a fremium model about a year ago. I do receipt validation in the App, and successfully check for the app original purchase version to check if user should have full access to app or not. I also check for the IAP purchase on the receipt, and enable the app as necesary.Every update I make to the app, I get probably 2-3% of the users complaining that the IAP stopped working for them. Users are treated by the app as if they had never made a IAP, or bought the app before. On analytics, I can see that the validation worked large majority of users, but it seems there's always a small group of users that have problems. Some users are original buyers of the app, while others are IAP users.On documentation, Apple mentions that receipts should be always available on the device, and if not you should ask for a refresh. I currently do that, and from my tests this works properly. Also, from analytics I can see the vast majority of users simply
2
0
332
Sep ’15
Reply to IAP Receipt validation failing for some users
For clarity, you worte:validation worked large majority of users, but it seems there's always a small group of users that have problems. Some users are original buyers of the app, while others are IAP users. Do you mean that some users WHO DON'T GET VALIDATION are original buyers of the app while other users WHO DON'T GET VALIDATION are IAP users? Or is the problem just with one or the other type?I always ask users to delete app from the device and download it again from the AppStore, which forces the receipt refresh, and that works well for many, but not all. Are you here referring to needing to refresh the receipt even if the app is deleted and downloaded again? You should expect that based on exactly how the app is downloaded into the device - there are a few different methods. But is your problem that you don't refresh the receipt and tehrefore get no validation? Or do you refresh the receipt and then fail validation.
Topic: App & System Services SubTopic: StoreKit Tags:
Sep ’15
Please add in IOS9
The fact that you put contact pics by the text messages is amazing but actually put it in the messages like when your in a group message . Do that form messaging in general and it will really be amazing . Oh and 3 way face timing people are talking and this is what we need!
1
0
325
Sep ’15