Debuging guide? Failed building iOS app

Hi all,

I was building an iOS version and got the below failed-message. Not sure where the debugging can begin… it’s a bit unclear what’s the root cause. I appreciate any pointer in diagnosing this build message. Thank you.
Log message is way too long for the post so I attached it in a TXT file.

appgyver-build-error-ios-1.txt (194.3 KB)

Build 449853

Runtime version: 4.6.14;
AB version: 1.7.6
COMMAND:

ASSETS_ARCHIVE_URL=[-----] npxrnv export -p ios -s standalone_appstore -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.6.14 -r --xcodebuildArchiveArgs “OTHER_CODE_SIGN_FLAGS="–keychain\ AppGyver-552517"”

FAILED with ERROR:

│ [ error ] [export] COMMAND:
xcodebuildOTHER_CODE_SIGN_FLAGS=–keychain AppGyver-552517 -workspace /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/RNVApp.xcworkspace -scheme RNVApp -sdk iphoneos -configuration Release archive -archivePath /private/var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/release/RNVApp.xcarchive
FAILED with ERROR:
CreateBuildDirectory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/ReactNativeExceptionHandler
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios
builtin-create-build-directory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/ReactNativeExceptionHandler
CreateBuildDirectory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/ReactCommon
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios
builtin-create-build-directory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/ReactCommon
CreateBuildDirectory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/BuildProductsPath/Release-iphoneos/React-runtimeexecutor
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module QBImagePickerController --output-partial-info-plist /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/QBImagePickerController-QBImagePicker.build/QBImagePicker-SBPartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --output-format human-readable-text --compilation-directory /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/Intermed…
2022-10-25 19:52:12.282 IBAgent-iOS[25960:32233071] Incorrect screen size for <UIScreen: 0x7ff1a2b04480; bounds = {{0, 0}, {0, 0}}> in UICollectionViewData
2022-10-25 19:52:12.735 IBAgent-iOS[25993:32233170] Incorrect screen size for <UIScreen: 0x7fd51a805790; bounds = {{0, 0}, {0, 0}}> in UICollectionViewData
Ditto /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/RSKImageCropper.build/module.modulemap /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RSKImageCropper.framework/Modules/module.modulemap (in target ‘RSKImageCropper’ from project ‘Pods’)
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/Pods
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/RSKImageCropper.build/module.modulemap /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/RSKImageCropper.framework/Modules
RegisterExecutionPolicyException /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework (in target ‘nanopb’ from project ‘Pods’)
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/Pods
builtin-RegisterExecutionPolicyException /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework
RegisterExecutionPolicyException /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/glog.framework (in target ‘glog’ from project ‘Pods’)
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/Pods
builtin-RegisterExecutionPolicyException /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/glog.framework
Touch /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework (in target ‘nanopb’ from project ‘Pods’)
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/Pods
/usr/bin/touch -c /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework
Touch /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/DerivedData/RNVApp/Build/Intermediates.noindex/ArchiveIntermediates/RNVApp/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/glog.framework (in target ‘glog’ from project ‘Pods’)
cd /var/folders/pf/p5g2vb2j0yx1x6vlmxdppc700000gn/T/552517-ios-251582/platformBuilds/standalone_ios/Pods

Ok I managed to avoid this problem: building on Runtime Version: 4.6.14 failed miserably, but Runtime Version: 4.5.10 doesn’t have any issue.

Hello, sir. I also got exactly same issue and want to figure it out. Could you tell me how to resolve it? Is it you just change the runtime version?

Recently Appgyver team releases runtime very often. Sometimes just a bug fix. I simply change to a different runtime and build again. When a new runtime is released, builds often fail, it may take few hours or more for that to stabilize, then without you doing anything build will succeed again. This happened for me twice already. It’s a bit unpredictable but I guess that’s what happens these days.

I really appreciated your quick response. ummmmm… then I guess there is nothing to do for me so far. I will keep trying to build the app with few runtime version.

For me, it was fortunate because my build was successful previously so I was sure nothing breaks from my side. So I just experimented with different runtimes.

If your build was never successful, then it’s better to look at the error log and see what errors can be fixed.

I also watch the status.appgyver.com page to see if the build service is working or not.

2 Likes

I get this same error. How can screen size be wrong??

2022-10-25 19:52:12.282 IBAgent-iOS[25960:32233071] Incorrect screen size for <UIScreen: 0x7ff1a2b04480; bounds = {{0, 0}, {0, 0}}> in UICollectionViewData

1 Like

same situation here.
Im always check this app gyver build service status, but it keep telling me “partial outage”…
still no clue,

ummmmm even the Build Service status is Operational, I keep failing the build step…

1 Like

Well one build was failing the other one succeeding (on the ancient Runtime Version: 4.5.12 though). Not what I was expecting but at least something was built.

2 Likes

still in same situation with same error…
I have to find the solution of screen size error I guess

Incorrect screen size for <UIScreen: 0x7fa011905090; bounds = {{0, 0}, {0, 0}}> in UICollectionViewData

1 Like

Are you all still unable to build? no matter the runtime, I havent had a successful build in weeks. All errors… and it’s worked for me in the past.

1 Like

Not working for me neither. Saw too many failed build reports so not bother submitting more. Guess someone at Appgyver should know that there is a problem.

2 Likes

It still keep failing and I kind of gave this up then tried it with android build… succeeded…
still no idea what is happening with iOS build