Monday, July 20, 2026
HomeiOS Developmentios - Xcode construct studies "no such module" for Swift Package deal...

ios – Xcode construct studies “no such module” for Swift Package deal Supervisor packages. Constructing repeatedly ultimately fixes it

[ad_1]

I get “no such module” errors when attempting to construct after doing a “Clear Construct Folder”. Repeatedly attempting to construct ultimately ends in no errors. The modules that may not be discovered are packages with Swift Package deal Supervisor.

First construct…

enter image description here

Second Construct…

enter image description here

Third Construct…

enter image description here

Fourth Construct…

enter image description here

Fifth Construct…

enter image description here

… lastly it runs. 🥳

However there are some unusual warnings in regards to the packages not being utilized by any goal.

enter image description here

How can I get this to construct accurately first time after a clear construct?


My workspace construction seems like this…

enter image description here

Two initiatives within the workspace. BlenderViewer has the goal I am constructing. BlenderViewer has 6 native SPM packages. It additionally imports the PhyKit undertaking as a framework, no issues there. The SPM packages have some dependencies between one another, however nothing round.

All the things seems tremendous to me…

enter image description here

enter image description here

I am operating MacOS 12.5. Xcode 13.4.1. Constructing for iOS 15.3.

Am I doing one thing improper right here?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments