nsomar / OAStackView

Porting UIStackView to iOS 7+
MIT License
2.14k stars 200 forks source link

last pod errors support Xcode 6.4 #69

Closed dimohamdy closed 8 years ago

dimohamdy commented 8 years ago

❌ /Users/greenhouse/tmpM4MB54/Pods/OAStackView/Pod/Classes/OAStackView.h:87:53: expected '>' @property(nonatomic,readonly,copy) NSArray<kindof UIView > arrangedSubviews; ❌ /Users/greenhouse/tmpM4MB54/Pods/OAStackView/Pod/Classes/OAStackView.h:87:53: interface type cannot be statically allocated @property(nonatomic,readonly,copy) NSArray<kindof UIView > arrangedSubviews; ^ ❌ /Users/greenhouse/tmpM4MB54/Pods/OAStackView/Pod/Classes/OAStackView.h:87:59: expected ';' at end of declaration list @property(nonatomic,readonly,copy) NSArray<kindof UIView > arrangedSubviews; ^ ❌ /Users/greenhouse/tmpM4MB54/Pods/OAStackView/Pod/Classes/OAStackView.h:87:61: expected identifier or '(' @property(nonatomic,readonly,copy) NSArray<kindof UIView > arrangedSubviews; ^ ❌ /Users/greenhouse/tmpM4MB54/Pods/OAStackView/Pod/Classes/OAStackView.h:108:60: expected '>'

❌ /Users/greenhouse/tmpM4MB54/Pods/OAStackView/Pod/Classes/OAStackView.h:108:72: interface type 'NSArray' cannot be passed by value; did you forget * in 'NSArray'?

This errors in the last pod

pod 'OAStackView', :git => 'https://github.com/oarrabi/OAStackView.git'

nsomar commented 8 years ago

What version of Xcode are you using? at the moment since OAStackView is using generics then Xcode 7 is required.

dimohamdy commented 8 years ago

xcode 6.4 can i get old version

dimohamdy commented 8 years ago

i fix it by pod 'OAStackView', :git => 'https://github.com/oarrabi/OAStackView.git', :commit => 'a49dc63'