今是昨非

今是昨非

日出江花红胜火,春来江水绿如蓝

Xcode 13.3 Archive Failed

Background#

Before upgrading to Xcode 13.3, there were no issues with Debug and Archive. However, after upgrading to Xcode 13.3, Debug works fine but Archive throws an error. The error message is error: Abort trap: 6 (in target 'ZLPhotoBrowser' from project 'Pods'). Therefore, an issue was raised and it has been resolved.

The solution is:


"You can work around this issue by replacing UI_USER_INTERFACE_IDIOM() with UIDevice.current.userInterfaceIdiom.

Here, I would like to share that if you encounter the same problem, you can search and see if it is also due to UI_USER_INTERFACE_IDIOM().

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.