ios - Target without some of the classes of the scenes in the Storyboard -
i have number of targets in project, each using same storyboard selection of classes linked in it. xcode not complain, @ least not on iphone version, nor in targets. yet specific 1 complaints 2 specific classes with:
unknown class ****** in interface builder file.
unknown class $$$$$$ in interface builder file.
notwithstanding there many other scenes in storyboard class of not included in target, in specific case.
it happens when execute app on ipad (simulator) , after while crashes on uiapplicationmain; not know if 2 things connected, though.
is there way in xcode decides check scenes of storyboard , other not existence of corresponding class?
the problem swift module based. each target module. class defined in specific module, , namespaced module.
thus, viewcontroller in myfirsttarget different viewcontroller in mysecondtarget - myfirsttarget.viewcontroller
, mysecondtarget.viewcontroller
.
if in storyboard's identity inspector, see in fact tells module thinks class belongs to. can become fatally confused if module isn't present when nib loads.
Comments
Post a Comment