facebook / buck

A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
https://buck.build
Apache License 2.0
8.56k stars 1.16k forks source link

error: Build input file cannot be found #2535

Open alibaqbani opened 3 years ago

alibaqbani commented 3 years ago

I follow the Buck sample for iOS and its documentation to build an app but I got this error when generating the Xcode project for iOS 13 and build it. This error is gone when I remove apple_library() rule from the Buck file.

error: Build input file cannot be found: '/Users/xxx/Library/Developer/Xcode/DerivedData/XXApp-gkwdibtfzxqtemgopgtwnqaterev/Build/Products/Debug-iphonesimulator/XXApp.app/XXApp' (in target 'XXApp' from project 'App')

v-jizhang commented 3 years ago

@alibaqbani, The iOS sample works ok. Do you have a repro project that can be shared with us? Thanks.

alibaqbani commented 3 years ago

@v-jizhang I've created this project from the provided sample code but the above error occurred when building it on Xcode.

SampleBuck.zip

v-jizhang commented 3 years ago

@alibaqbani Thank you.

Prashantrao331 commented 3 years ago

Any update on this?

JamesBond95470 commented 3 years ago

Hi, I have the same issue with Mac M1. Any one has solution for this ?