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

PulsingHaloLayer.m:28:1: Cannot synthesize weak property because the current deployment target does not support weak references #42

Closed
gregk8288 opened this issue Jan 27, 2017 · 5 comments

Comments

@gregk8288
Copy link

gregk8288 commented Jan 27, 2017

I receive the following error when trying to compile a debug version of the app.

/Users/gregkockott/www/Mobile-App-iOS/Pods/PulsingHalo/PulsingHalo/PulsingHaloLayer.m:28:1: Cannot synthesize weak property because the current deployment target does not support weak references

@implementation PulsingHaloLayer <-- HERE IS THE ISSUE

@smartdev-125
Copy link

@Property (nonatomic, weak) CALayer *prevSuperlayer;
I fixed as like this
@Property (nonatomic, strong) CALayer *prevSuperlayer;

@CavalcanteLeo
Copy link

@tiandage submit a pull request, that fixed...

@faimin
Copy link
Contributor

faimin commented Feb 21, 2017

stackoverflow had a solution: http://stackoverflow.com/questions/37160688/set-deployment-target-for-cocoapodss-pod , it works for me.

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            if target.name == 'PulsingHalo'
                config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '8.0'
            end
        end
    end
end

@lappp9
Copy link

lappp9 commented Sep 8, 2017

@tiandage If you make that property strong you'll at least have a retain cycle until you remove the halo view from its superView

@shu223
Copy link
Owner

shu223 commented Sep 8, 2017

Fixed now, I'm so sorry for my late support.

255eace

The ios.deployment_target didn't work with the wrong order in the podspec.

Please try the 0.2.8 and let me know if there is still problems.

@shu223 shu223 closed this as completed Sep 25, 2017
mokagio added a commit to mokagio/CMPopTipView that referenced this issue May 26, 2018
Thanks to shu223/PulsingHalo#42 for the
solution suggestion.

Doing this as part of an old project resurrection. See https://twitter.com/mokagio/status/1000331224471162880.
mokagio added a commit to mokagio/CMPopTipView that referenced this issue May 26, 2018
Thanks to shu223/PulsingHalo#42 for the
solution suggestion.

Doing this as part of an old project resurrection. See https://twitter.com/mokagio/status/1000331224471162880.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants