BoltsFramework / Bolts-ObjC

Bolts is a collection of low-level libraries designed to make developing mobile apps easier.
Other
5.65k stars 578 forks source link

build_all.sh fails with error #317

Open valeriyvan opened 6 years ago

valeriyvan commented 6 years ago
/Users/xxx/Documents/Bolts-ObjC/Bolts/Common/BFCancellationTokenRegistration.m:32:1: error: cannot synthesize weak property in file using manual reference counting
@implementation BFCancellationTokenRegistration
^
/Users/xxx/Documents/Bolts-ObjC/Bolts/Common/BFCancellationTokenRegistration.m:19:50: note: property declared here
@property (nonatomic, weak) BFCancellationToken *token;
                                                 ^
1 error generated.
stevelandeyasana commented 6 years ago

Same here, Xcode 9.4

stevelandeyasana commented 6 years ago

Fix was same as in #295; you need to recursively clone the submodules (git submodule update --init --recursive) or else Xcode doesn't have the right build configs.