iOS build is falling

Priority: High
Project: 15611
Project cannot build from the dash (see screenshot). I can build with xcode without any problem and run it, Can I have access to watch ios error logs?
Project ID is 15611
cc: @jorge.m image

image

@charath @tony can you help here? :pray:

On the Dash we are getting a status = Success. However, the build showing on Appetize.io is not the last one. The last one is failing.

I have the same issue. Did you manage to resolve it?

we have not resolved the issue. Any good news on your end @ljubisa.mocic ? @tony @raviitsoft @charath any help here would be much appreciated. Thanks in advance

No, the similar thing is happening across multiple projects. Haven’t found solution for it so far.

I’m not sure I understand your issue here… Is it that the builds are failing but the Appetize preview is showing the last successful build, or do you need assistance with figuring out why your builds are failing in the first place?

@charath Appetize preview is not showing the successful build due to there has not been any successful build on iOS. Ideally we would need assistance to bring back the automatic iOS builds

Here’s the iOS build error:

[16:52:39]: $ set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace myhelpa_*****.xcworkspace -scheme myhelpa_***** -destination 'platform=iOS Simulator,id=142FF590-BEFE-47BA-9909-0CBDAEE046D9' -derivedDataPath '/Users/distiller/Library/Developer/Xcode/DerivedData/myhelpa_*****-*****' build-for-testing | tee '/Users/distiller/Library/Logs/scan/myhelpa_*****-myhelpa_*****.log' | xcpretty  --report html --output '/Users/distiller/build/ios/fastlane/test_output/report.html' --report junit --output '/Users/distiller/build/ios/fastlane/test_output/report.junit' --report junit --output '/var/folders/1b/gl7yt7ds26vcyr1pkgld6l040000gn/T/junit_report20210120-3868-1ipub9n' 
[16:52:39]: ▸ Loading...
[16:52:46]: ▸ ❌  error: Multiple commands produce '/Users/distiller/Library/Developer/Xcode/DerivedData/myhelpa_*****-*****/Build/Products/Debug-iphonesimulator/myhelpa_*****.app/MaterialIcons.ttf':
[16:52:46]: ▸ ❌  error: Multiple commands produce '/Users/distiller/Library/Developer/Xcode/DerivedData/myhelpa_*****-*****/Build/Products/Debug-iphonesimulator/myhelpa_*****.app/MaterialCommunityIcons.ttf':
[16:52:46]: ▸     duplicate output file '/Users/distiller/Library/Developer/Xcode/DerivedData/myhelpa_*****-*****/Build/Products/Debug-iphonesimulator/myhelpa_*****.app/MaterialCommunityIcons.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/distiller/Library/Developer/Xcode/DerivedData/myhelpa_*****-*****/Build/Intermediates.noindex/myhelpa_*****.build/Debug-iphonesimulator/myhelpa_*****.build/Script-3A133CF10761045CF17956CE.sh (in target 'myhelpa_*****' from project 'myhelpa_*****')
[16:52:46]: ▸     duplicate output file '/Users/distiller/Library/Developer/Xcode/DerivedData/myhelpa_*****-*****/Build/Products/Debug-iphonesimulator/myhelpa_*****.app/MaterialIcons.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/distiller/Library/Developer/Xcode/DerivedData/myhelpa_*****-*****/Build/Intermediates.noindex/myhelpa_*****.build/Debug-iphonesimulator/myhelpa_*****.build/Script-3A133CF10761045CF17956CE.sh (in target 'myhelpa_*****' from project 'myhelpa_*****')
[16:52:46]: ▸     The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.1.99. (in target 'react-native-image-picker' from project 'Pods')
[16:52:46]: ▸     The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.1.99. (in target 'AppAuth' from project 'Pods')
[16:52:46]: ▸     The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.1.99. (in target 'Google-Maps-iOS-Utils' from project 'Pods')
[16:52:46]: ▸     The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.1.99. (in target 'BVLinearGradient' from project 'Pods')
[16:52:46]: ▸     The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.1.99. (in target 'RNScreens' from project 'Pods')
[16:52:46]: ▸     The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.1.99. (in target 'GTMAppAuth' from project 'Pods')
[16:52:46]: ▸ 2021-01-20 16:52:46.590 xcodebuild[3988:11948] Error writing xctestrun file: Error Domain=NSCocoaErrorDomain Code=4 "The folder “myhelpa_*****_iphonesimulator13.1-x86_64.xctestrun” doesn’t exist." UserInfo={NSFilePath=/Users/distiller/Library/Developer/Xcode/DerivedData/myhelpa_*****-*****/Build/Products/myhelpa_*****_iphonesimulator13.1-x86_64.xctestrun, NSUserStringVariant=Folder, NSUnderlyingError=0x7fca227c29e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
[16:52:46]: ▸ ** TEST BUILD FAILED **

@beatriz.ramirez can you please look into this error to bring back the iOS builds ?

We still have this issue (see log above) that is forcing us to generate the iOS builds manually. Anyone can advise? @tony @charath @raviitsoft :pray: thanks in advance