Ibtool error when linking links to the storyboard: the file "Info.plist" cannot be saved in the * .storyboardc folder

I am using Xcode 7.0 beta 4 and recently split my only Main.storyboard into a series of storyboards linked by storyboard links (recently introduced in Xcode 7).

When I create, I get the following Builder interface linker error message:

/* com.apple.ibtool.errors */ : error: The file "Info.plist" couldn't be saved in the folder "Pages.storyboardc". Underlying Errors: Description: The operation couldn't be completed. Not a directory Failure Reason: Not a directory 

How can I understand this error?


Links to the storyboard were created by selecting the scenes in the original storyboard and choosing Editor> Reactor for storyboard .... The previous question I came up with was that the storyboard linker was causing a different error:

 /* com.apple.ibtool.errors */ : error: Deploying Storyboard References to iOS 8.0 requires that your storyboards do not share any view controller identifiers. Browser.storyboard and Pages.storyboard both contain a view controller with identifier "PagesViewController". 

It turned out that using the "Refactor to Storyboard ..." command automatically assigned the storyboard identifier of the storyboard link based on one of the refactored identifiers of the view controller. This led to the situation described in the error (a link to the storyboard with the same identifier as the scene identifier of the view controller). I deleted these identifiers because, in my opinion, you do not need to link to the storyboard link from the code.


Update:

I also saw that this problem manifests itself as a slightly different error:

 /* com.apple.ibtool.errors */ : error: "<StoryboardReferenceID>.nib" couldn't be removed. Underlying Errors: Description: The operation couldn't be completed. Not a directory Failure Reason: Not a directory 
+4
source share
1 answer

I found a way to get rid of the error while writing this question. I cannot say that I am wiser as to what this means, so any additional understanding will be welcome.

I again added the storyboard identifiers, which I deleted to avoid a previous error related to view controllers using the same identifier, but did not make the same two. The error is no longer displayed.

I donโ€™t know what the consequences of the storyboard identifier are for linking to the storyboard, but it seems that the linker would prefer to have one! I would prefer a compiler warning / error instead of a linker error if an identifier is required (for example, when a scene is unavailable due to the lack of an identifier), so I now think that this is a linker error that can be smoothed out by the final version of Xcode 7.

+3
source

All Articles