bkook / BKMoneyKit

iOS UI controls and formatters for entering money, credit card number and expiry date.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.0.9 version doesn't compile when cocoapods is used

YuriyNovikov opened this issue · comments

I added BKMokeyKit with help cocoapods. And when I try compile my project I have error:

BKMoneyKit/BKForwardingTextField.m:15:1: Cannot synthesize weak property because the current deployment target does not support weak references

If I change Deployment Target in BKMoneyKit my project will compile.

Cocoapods version is 1.1.0

What Xcode version do you use? And what's projects minimum OS target version?

나의 iPhone에서 보냄

      1. 오후 8:05 YuriyNovikov notifications@github.com 작성:

I added BKMokeyKit with help cocoapods. And when I try compile my project I have error:

BKMoneyKit/BKForwardingTextField.m:15:1: Cannot synthesize weak property because the current deployment target does not support weak references

If I change Deployment Target in BKMoneyKit my project will compile.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@bkook
I use Xcode 8.0.
Minimum OS target version 8.0.

image

In your screenshot, iOS Deployment Target is 4.3.
Can you try changing it 5.0 or above?

@bkook I can change but this file was generated by cocoapods. I think you have to add ios.deployment_target in your podspec file.

@YuriyNovikov @mcany
Sorry for late. I fixed as you said just now. Please check version 0.0.10.