xcbeautify icon indicating copy to clipboard operation
xcbeautify copied to clipboard

LinkStoryboards errors not shown

Open nacho4d opened this issue 2 years ago • 2 comments

Problem

Errors in Storyboards are swallowed by xcbeautify. (I am use with Xcode12.4). For example: error: Did not find view controller with identifier "AccountPoint" in Home.storyboard, referenced from Dashboard.storyboard

Log

I paste a part of my log (the 4th line is super long)

LinkStoryboards (in target 'MyBankIphone' from project 'MyBankIphone')
    cd /Path/to/Project/apps/thebank/iphone/native
    export XCODE_DEVELOPER_USR_PATH\=/Applications/Xcode12.4.app/Contents/Developer/usr/bin/..
    /Applications/Xcode12.4.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module TheBank --target-device iphone --minimum-deployment-target 11.0 --output-format human-readable-text --link /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Products/Debug-iphonesimulator/TheBank.app /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/TransferBranchSelect.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/Debit.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/ApplePayPromotion.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/LoginOTPW.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/Login.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/EULA.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/QuickSetting.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/LoginSetting.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/Main.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/Dashboard.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/Home.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/TransferAndTrade.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/TransferLimitPop.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/NewCredit.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/TransferDateSelect.storyboardc /Path/to/DerivedData/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/MyBankIphone-ekalchahdgkmpvgslorsudbagmck/Build/Intermediates.noindex/MyBankIphone.build/Debug-iphonesimulator/MyBankIphone.build/Web30CardDetail.storyboardc
/* com.apple.ibtool.errors */
: error: Did not find view controller with identifier "AccountPoint" in Home.storyboard, referenced from Dashboard.storyboard
Command LinkStoryboards failed with a nonzero exit code

How to create an error like this?

In case someone is interested on how to re-create this error on an Xcode project just create a Storyboard segue in that points to another Storyboard. Then delete the target view controller but do not delete the reference in the segue.

Screen Shot 2021-10-21 at 21 43 39

nacho4d avatar Oct 21 '21 12:10 nacho4d

Hola 👋,

We want to inform you that the issue has been marked as stale. This means that there hasn't been any activity or updates on it for quite some time, and it's possible that it may no longer be relevant or actionable. If you still believe that this issue is valid and requires attention, please provide an update or any additional information that can help us address it. Otherwise, we may consider closing it in the near future. Thank you for your understanding.

github-actions[bot] avatar Jul 05 '23 02:07 github-actions[bot]

Hola 👋,

We want to inform you that we have decided to close this stale issue as there hasn't been any activity or response regarding it after marking it as stale.

We understand that circumstances may have changed or priorities may have shifted, and that's completely understandable. If you still believe that this issue needs to be addressed, please feel free to reopen it and provide any necessary updates or additional information.

We appreciate your understanding and look forward to your continued contributions to the project.

Thank you.

github-actions[bot] avatar Jul 10 '23 02:07 github-actions[bot]