Post

Replies

Boosts

Views

Activity

Comment on Build input file cannot be found: in my app derived data folder in Xcode 12.5.1 in m1
@edford If I have removed the ProductName acrchive got succeeded. But he ipa not available. If i try to build in the simulator, it shows the error as Users/name/Library/Developer/Xcode/DerivedData/app-hbaothuchbdcaldinphltth/Build/Products/Debug-iphonesimulator/.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.
Aug ’21
Comment on Build input file cannot be found: in my app derived data folder in Xcode 12.5.1 in m1
@edford Thanks for your response. Could you please clarify this as well? You should undo this. Setting anything in the Excluded architectures is almost always wrong except in carefully considered situations. Here I am using an old Framework in my project, it does not work in the arm64. So I have added this in the Excluded Architecture. But the same will work in other lower versions of Xcode. As per your workarounds here I do not need to add the Excluded archs in the project. Am I correct? One of your build phases has a reference to the built app binary as an input. When you cleared DerivedData, this file was deleted, and so now the build can't proceed because it's missing. Look through all of your build phases as well as the Xcode file navigator for any file references that refer to these files and remove them. Shall I need to check this in the Build Phases under Compile Sources files? But I not found the file name as the error in app. It is the first build in my machine with Xcode 12.5.1
Aug ’21
Comment on Xcode 12 "Build input file cannot be found" $DERIVED_FILES_DIR
Could you please let me know, in this case in pre-action what needs to be added here to fix the above issue. I am facing an error as below. Are you mention the /bin/sh/ executables needs to be here in this case? Build input file cannot be found: '/Users/name/Library/Developer/Xcode/DerivedData/Application-dhdivlzaazbnhlgnkkglsibo/Build/Products/Debug-iphonesimulator/Application.app/Application'
Aug ’21