Problems compiling in Unity Cloud Build, but not locally
Hi,
So I've been dealing with Unity Cloud Build problems for a few days after I submitted my latest changes with some custom Plugins.
I've made sure to modify the project so I include the right frameworks and capabilities, using a PostBuild step. If we compile locally on all of our machines, the project compiles without a problem.
On Unity Cloud Build I always get this errors, no matter what I've tried:
24512: [xcode] /BUILD_PATH/fivebits.development-branch.default-ios/Game/temp.SkD8XL/Libraries/Plugins/iOS/HealthKitManager.mm:173:214: error: expected '>'
24513: [xcode] HKSampleQuery *query = [[HKSampleQuery alloc] initWithSampleType:HKWorkoutType.workoutType predicate:predicate limit:0 sortDescriptors:@[sortDescriptor] resultsHandler:^(HKSampleQuery *query, NSArray<HKSample *> *results, NSError * error) {
24514: [xcode] /BUILD_PATH/fivebits.development-branch.default-ios/Game/temp.SkD8XL/Libraries/Plugins/iOS/HealthKitManager.mm:173:215: error: expected ')'
24515: [xcode] HKSampleQuery *query = [[HKSampleQuery alloc] initWithSampleType:HKWorkoutType.workoutType predicate:predicate limit:0 sortDescriptors:@[sortDescriptor] resultsHandler:^(HKSampleQuery *query, NSArray<HKSample *> *results, NSError * error) {
24516: [xcode] /BUILD_PATH/fivebits.development-branch.default-ios/Game/temp.SkD8XL/Libraries/Plugins/iOS/HealthKitManager.mm:173:174: note: to match this '('
24517: [xcode] HKSampleQuery *query = [[HKSampleQuery alloc] initWithSampleType:HKWorkoutType.workoutType predicate:predicate limit:0 sortDescriptors:@[sortDescriptor] resultsHandler:^(HKSampleQuery *query, NSArray<HKSample *> *results, NSError * error) {
24518: [xcode] /BUILD_PATH/fivebits.development-branch.default-ios/Game/temp.SkD8XL/Libraries/Plugins/iOS/HealthKitManager.mm:174:14: error: use of undeclared identifier 'results'
24519: [xcode] if (!results) {
24520: [xcode] /BUILD_PATH/fivebits.development-branch.default-ios/Game/temp.SkD8XL/Libraries/Plugins/iOS/HealthKitManager.mm:179:36: error: use of undeclared identifier 'results'
Any help would be greatly appreciated. I'm at a loss here.
Your answer
Follow this Question
Related Questions
Native audio plugin xcode build problem "undefined symbols" 0 Answers
HELPPPPP Please :( CommandInvolkationFailure 0 Answers
CommandInvokationFailure: Failed to re-package resources. Tried various remedies Please help... 0 Answers
Travis CI Not building Unity3D Project for Windows (on OS X Server) 0 Answers
Scene not working after build 1 Answer