Xib load issue on M1 chips

i m using Xcode 12.4 with Apple M1 system. When i try to open any xib for project, its not loading properly and showing blue line only for all xib in whole project. so its hard to do any design changes on existing xib. so could you please suggest how can i fixed it ? its also seems like know issue for XCode12 but after quit XCode it was working fine with my old system. but not working any time with M1 system.
Answered by hitarth2000 in 667747022
@edford i figure out something like its working fine without "Open using Rosetta".
With M1 system, i was able to run project on Simulator as well as in real device. But was not able to Archive the build and got "iPA creation failed" . so after spending some time i got the solution like to enable "Open using Resetta" for Xcode and then was able to Archive build also. Thats why its enable in xcode setting.
Today i disable Rosetta setting for xcode and tried. and then xib also loading properly.

This is still not proper solution seems like but dont have any other option for now. Need to enable/disable Rosetta setting for xcode to make it work for xib and Archive build both.
Some of the canvas guides might be turned on. Look in the Editor > Canvas menu and see if the options for bounds or layout rectangles are enabled.
its not working after turn on/off bounds or layout rectangles.. Even if i create any new file than also it not working in new xib it self and displaying only blue line after adding any UI fields.
If that XIB is moved into a brand new Xcode project, does this still reproduce?
@edford Yes. even after i create brand new xib, its not displaying with proper UI component and displaying only blue line which is really frustrated. its very had to identify and edit any design changes.
Accepted Answer
@edford i figure out something like its working fine without "Open using Rosetta".
With M1 system, i was able to run project on Simulator as well as in real device. But was not able to Archive the build and got "iPA creation failed" . so after spending some time i got the solution like to enable "Open using Resetta" for Xcode and then was able to Archive build also. Thats why its enable in xcode setting.
Today i disable Rosetta setting for xcode and tried. and then xib also loading properly.

This is still not proper solution seems like but dont have any other option for now. Need to enable/disable Rosetta setting for xcode to make it work for xib and Archive build both.
Xib load issue on M1 chips
 
 
Q