PetrenkoDaria / Converter

Converter is a SwiftUI currency converter app for iOS and macOS using Catalyst to work with the status bar. MVVM architecture.
MIT License
1 stars 0 forks source link

Build fails: Build input file cannot be found #1

Open hippietrail opened 1 year ago

hippietrail commented 1 year ago

I'm using XCode Version 14.3 (14E222b) on macOS 13.1 (22C65) on an M1 MacBook Air.

I'm an oldschool programmer trying to teach myself apple stuff. So I know programming but don't know my way around the ecosystem.

I just cloned and tried to build. Here's the result:

image

PetrenkoDaria commented 1 year ago

Try installing a new version of Converter (the Info.plist files and certificate were not loaded in the previous one). And select your developer account.

Снимок экрана 2023-08-13 в 12 54 05
hippietrail commented 1 year ago

Thanks. Builds and runs now on iPhone and iPad simulators but sometimes I get this error at startup: image

Details

SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'com.sypivos.Converter.ConverterWidget' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600003e04b70 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}." UserInfo={NSLocalizedDescription=Failed to show Widget 'com.sypivos.Converter.ConverterWidget' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600003e04b70 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}., NSUnderlyingError=0x600003e05320 {Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600003e04b70 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}}}
Domain: DTXMessage
Code: 1
User Info: {
    DVTErrorCreationDateKey = "2023-08-13 12:38:56 +0000";
}
--

System Information

macOS Version 13.1 (Build 22C65)
Xcode 14.3 (21812) (Build 14E222b)
Timestamp: 2023-08-13T20:38:56+08:00
PetrenkoDaria commented 1 year ago

Perhaps the problem is that there are several widgets in the project, and it is necessary to select one for debugging. In the configuration scheme settings, you need to select only one widget, or you can install an application on the simulator and add all the widgets yourself.

This may help you: StackOverflow