Target Error #10
-
In what area do you have a technical challenge?Xcode, Simulator & Previews DescriptionHi! I am not sure why I am getting this target error after I close the preview of the application. I thought I properly created my target and the build succeeds when I preview. Do you know what I could be doing wrong? ReproductionN/A Expected behaviorN/A Additional contextNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @sabarrag, Can you share your Swift Package Manifest file with us in a comment? GitHub allows you to share code snippets including syntax highlighting in comments and issues: Creating Code Blocks - Syntax highlighting. Can you also check that your target is associated with a folder in the "Sources" folder of the Swift Package and that it contains a valid Swift file? Also try and see if the steps lined out here "Package resolution errors must be fixed before building - @PSchmiedmayer's Comment" can maybe help you to resolve your issue. |
Beta Was this translation helpful? Give feedback.
Hi @sabarrag,
Can you share your Swift Package Manifest file with us in a comment? GitHub allows you to share code snippets including syntax highlighting in comments and issues: Creating Code Blocks - Syntax highlighting.
Can you also check that your target is associated with a folder in the "Sources" folder of the Swift Package and that it contains a valid Swift file?
Also try and see if the steps lined out here "Package resolution errors must be fixed before building - @PSchmiedmayer's Comment" can maybe help you to resolve your issue.