With Xcode Beta 3 and toolchain 07/29 the following line will cause a segmentation fault 11:
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String: Any]) {
…
…
dismiss(animated: true)
}
You have to leave this: [String: Any] as [String: AnyObject] and mark the func as @nonobc to stop the warning and stop the segmentation fault.
Bug report SR-2234 has been filed.
Thanks
···
On Jul 31, 2016, at 4:38 PM, Mark Lacey <mark.lacey@apple.com> wrote:
Can you please open a bug for this at bugs.swift.org?
Mark
On Jul 31, 2016, at 13:07, Charles Lane via swift-users <swift-users@swift.org> wrote:
With Xcode Beta 3 and toolchain 07/29 the following line will cause a segmentation fault 11:
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String: Any]) {
…
…
dismiss(animated: true)
}
You have to leave this: [String: Any] as [String: AnyObject] and mark the func as @nonobc to stop the warning and stop the segmentation fault.
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users
What is the most recent snapshot that will actually work and compile code? 7/29 and 7/28 both fail for me.
Thanks!
-- Erica
···
On Jul 31, 2016, at 4:19 PM, Charles Lane via swift-users <swift-users@swift.org> wrote:
Bug report SR-2234 has been filed.
Thanks
On Jul 31, 2016, at 4:38 PM, Mark Lacey <mark.lacey@apple.com> wrote:
Can you please open a bug for this at bugs.swift.org?
Mark
On Jul 31, 2016, at 13:07, Charles Lane via swift-users <swift-users@swift.org> wrote:
With Xcode Beta 3 and toolchain 07/29 the following line will cause a segmentation fault 11:
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String: Any]) {
…
…
dismiss(animated: true)
}
You have to leave this: [String: Any] as [String: AnyObject] and mark the func as @nonobc to stop the warning and stop the segmentation fault.
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users
The 7/25 snapshot seems to work. That was before AnyObject was changed to Any.
Regards,
Charles Lane
···
On Aug 1, 2016, at 11:17 AM, Erica Sadun <erica@ericasadun.com> wrote:
What is the most recent snapshot that will actually work and compile code? 7/29 and 7/28 both fail for me.
Thanks!
-- Erica
On Jul 31, 2016, at 4:19 PM, Charles Lane via swift-users <swift-users@swift.org> wrote:
Bug report SR-2234 has been filed.
Thanks
On Jul 31, 2016, at 4:38 PM, Mark Lacey <mark.lacey@apple.com> wrote:
Can you please open a bug for this at bugs.swift.org?
Mark
On Jul 31, 2016, at 13:07, Charles Lane via swift-users <swift-users@swift.org> wrote:
With Xcode Beta 3 and toolchain 07/29 the following line will cause a segmentation fault 11:
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String: Any]) {
…
…
dismiss(animated: true)
}
You have to leave this: [String: Any] as [String: AnyObject] and mark the func as @nonobc to stop the warning and stop the segmentation fault.
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users
7/25 does not work for me. -- E
···
On Aug 1, 2016, at 10:51 AM, Charles Lane <clane_47@bellsouth.net> wrote:
The 7/25 snapshot seems to work. That was before AnyObject was changed to Any.
Regards,
Charles Lane
On Aug 1, 2016, at 11:17 AM, Erica Sadun <erica@ericasadun.com> wrote:
What is the most recent snapshot that will actually work and compile code? 7/29 and 7/28 both fail for me.
Thanks!
-- Erica
On Jul 31, 2016, at 4:19 PM, Charles Lane via swift-users <swift-users@swift.org> wrote:
Bug report SR-2234 has been filed.
Thanks
On Jul 31, 2016, at 4:38 PM, Mark Lacey <mark.lacey@apple.com> wrote:
Can you please open a bug for this at bugs.swift.org?
Mark
On Jul 31, 2016, at 13:07, Charles Lane via swift-users <swift-users@swift.org> wrote:
With Xcode Beta 3 and toolchain 07/29 the following line will cause a segmentation fault 11:
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String: Any]) {
…
…
dismiss(animated: true)
}
You have to leave this: [String: Any] as [String: AnyObject] and mark the func as @nonobc to stop the warning and stop the segmentation fault.
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users
The 7/25 snapshot worked fine for me. The 7/29 snapshot only worked if you marked the func as @nonobjc.
···
7/25 does not work for me. -- E
> On Aug 1, 2016, at 10:51 AM, Charles Lane<clane_47@bellsouth.net>wrote:
>
> The 7/25 snapshot seems to work. That was before AnyObject was changed to Any.
>
> Regards,
> Charles Lane
>
>
> > On Aug 1, 2016, at 11:17 AM, Erica Sadun<erica@ericasadun.com>wrote:
> >
> > What is the most recent snapshot that will actually work and compile code? 7/29 and 7/28 both fail for me.
> >
> > Thanks!
> >
> > -- Erica
> >
> >
> > > On Jul 31, 2016, at 4:19 PM, Charles Lane via swift-users<swift-users@swift.org>wrote:
> > >
> > > Bug report SR-2234 has been filed.
> > >
> > > Thanks
> > >
> > >
> > > > On Jul 31, 2016, at 4:38 PM, Mark Lacey<mark.lacey@apple.com>wrote:
> > > >
> > > > Can you please open a bug for this at bugs.swift.org?
> > > >
> > > > Mark
> > > >
> > > > > On Jul 31, 2016, at 13:07, Charles Lane via swift-users<swift-users@swift.org>wrote:
> > > > >
> > > > > With Xcode Beta 3 and toolchain 07/29 the following line will cause a segmentation fault 11:
> > > > >
> > > > > func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String: Any]) {
> > > > > …
> > > > > …
> > > > > dismiss(animated: true)
> > > > > }
> > > > >
> > > > >
> > > > > You have to leave this: [String: Any] as [String: AnyObject] and mark the func as @nonobc to stop the warning and stop the segmentation fault.
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > swift-users mailing list
> > > > > swift-users@swift.org
> > > > > https://lists.swift.org/mailman/listinfo/swift-users
> > >
> > > _______________________________________________
> > > swift-users mailing list
> > > swift-users@swift.org
> > > https://lists.swift.org/mailman/listinfo/swift-users