Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot form weak reference to instance (0x7ff94e02a000) of class LocationPicker.LocationPickerViewController. It is possible that this object was over-released, or is in the process of deallocation #61

Closed
merovic opened this issue Nov 3, 2019 · 9 comments
Assignees
Labels

Comments

@merovic
Copy link

merovic commented Nov 3, 2019

Error Happen After Latest Xcode Update when initiating LocationPickerViewController

@weakfl
Copy link
Collaborator

weakfl commented Nov 3, 2019

@merovic please provide details of your implementation and steps to reproduce this issue.

@merovic
Copy link
Author

merovic commented Nov 3, 2019

I only starts to initialize LocationPickerViewController like ( let picker = LocationPickerViewController ) and then starts to follow the sample code like the readme file and everything was okay until recent update to Xcode and it is no longer working and this error emerges
Screen Shot 2019-11-03 at 11 41 23 PM

@weakfl
Copy link
Collaborator

weakfl commented Nov 4, 2019

I can't reproduce this with the demo app using Xcode 11.2. Please provide more details of your usage.

@merovic
Copy link
Author

merovic commented Nov 4, 2019

I used it before many times and everything works as expected until yesterday everything stopped working and that error emerges, I tried to use it manually instead of cocoa pods but the same error too, error emerges directly even if I just initialized the controller without any usage
Screen Shot 2019-11-04 at 10 03 39 AM

@merovic
Copy link
Author

merovic commented Nov 4, 2019

try to use the library using cocapods in a new project in order to reproduce the error

@weakfl
Copy link
Collaborator

weakfl commented Nov 4, 2019

@merovic Please provide a sample project, thanks.

@merovic
Copy link
Author

merovic commented Nov 4, 2019

TestLocationPicker.zip

@weakfl weakfl closed this as completed in 8c8d5e4 Nov 4, 2019
@weakfl
Copy link
Collaborator

weakfl commented Nov 4, 2019

Thanks @merovic, fixed in 1.4.2.

@weakfl weakfl self-assigned this Nov 4, 2019
@weakfl weakfl added the bug label Nov 4, 2019
@Fayis2021
Copy link

Fayis2021 commented May 7, 2024

Error -- Xcode build done.
Failed to build iOS app
Swift Compiler Error (Xcode): Stored properties cannot be marked potentially unavailable with '@available'
../ios/Pods/LocationPicker/LocationPicker/LocationPickerViewController.swift:59:5
xcode 15.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants