Command CompileSwiftSources failed with a nonzero exit code
I am using Xcode 10 and no CocoaPods.
<unknown>:0: error: no such file or directory: '/Users/XXXXXXXXXXXXX/Library/Developer/Xcode/DerivedData/iOS_Belt_-_MyEvents-eektunqbfhmzjabcmfpiscjsxlyf/Build/Intermediates.noindex/iOS Belt - MyEvents.build/Debug-iphonesimulator/iOS Belt - MyEvents.build/DerivedSources/CoreDataGenerated/iOS_Belt___MyEvents/iOS_Belt___MyEvents+CoreDataModel.swift'
Command CompileSwiftSources failed with a nonzero exit code
xcode cocoapods
add a comment |
I am using Xcode 10 and no CocoaPods.
<unknown>:0: error: no such file or directory: '/Users/XXXXXXXXXXXXX/Library/Developer/Xcode/DerivedData/iOS_Belt_-_MyEvents-eektunqbfhmzjabcmfpiscjsxlyf/Build/Intermediates.noindex/iOS Belt - MyEvents.build/Debug-iphonesimulator/iOS Belt - MyEvents.build/DerivedSources/CoreDataGenerated/iOS_Belt___MyEvents/iOS_Belt___MyEvents+CoreDataModel.swift'
Command CompileSwiftSources failed with a nonzero exit code
xcode cocoapods
Delete your DerivedData folder and try again? That often fixes this kind of problem.
– John Montgomery
Sep 27 '18 at 20:35
Sorry this didn't fix it. Thanks though! :(
– user5508867
Sep 27 '18 at 21:56
See this: stackoverflow.com/a/52481653/1485367
– Yaroslav
Sep 28 '18 at 6:57
Thanks for reaching out Yaroslav! I did try your remedy prior and it didn't work. Apparently what might've fixed it for me was not naming/starting my project name with a "-" or dash character. Rebuilt a new project and it worked just fine.
– user5508867
Sep 28 '18 at 8:40
add a comment |
I am using Xcode 10 and no CocoaPods.
<unknown>:0: error: no such file or directory: '/Users/XXXXXXXXXXXXX/Library/Developer/Xcode/DerivedData/iOS_Belt_-_MyEvents-eektunqbfhmzjabcmfpiscjsxlyf/Build/Intermediates.noindex/iOS Belt - MyEvents.build/Debug-iphonesimulator/iOS Belt - MyEvents.build/DerivedSources/CoreDataGenerated/iOS_Belt___MyEvents/iOS_Belt___MyEvents+CoreDataModel.swift'
Command CompileSwiftSources failed with a nonzero exit code
xcode cocoapods
I am using Xcode 10 and no CocoaPods.
<unknown>:0: error: no such file or directory: '/Users/XXXXXXXXXXXXX/Library/Developer/Xcode/DerivedData/iOS_Belt_-_MyEvents-eektunqbfhmzjabcmfpiscjsxlyf/Build/Intermediates.noindex/iOS Belt - MyEvents.build/Debug-iphonesimulator/iOS Belt - MyEvents.build/DerivedSources/CoreDataGenerated/iOS_Belt___MyEvents/iOS_Belt___MyEvents+CoreDataModel.swift'
Command CompileSwiftSources failed with a nonzero exit code
xcode cocoapods
xcode cocoapods
edited Sep 28 '18 at 13:50
Nimesh Neema
461421
461421
asked Sep 27 '18 at 20:27
user5508867
Delete your DerivedData folder and try again? That often fixes this kind of problem.
– John Montgomery
Sep 27 '18 at 20:35
Sorry this didn't fix it. Thanks though! :(
– user5508867
Sep 27 '18 at 21:56
See this: stackoverflow.com/a/52481653/1485367
– Yaroslav
Sep 28 '18 at 6:57
Thanks for reaching out Yaroslav! I did try your remedy prior and it didn't work. Apparently what might've fixed it for me was not naming/starting my project name with a "-" or dash character. Rebuilt a new project and it worked just fine.
– user5508867
Sep 28 '18 at 8:40
add a comment |
Delete your DerivedData folder and try again? That often fixes this kind of problem.
– John Montgomery
Sep 27 '18 at 20:35
Sorry this didn't fix it. Thanks though! :(
– user5508867
Sep 27 '18 at 21:56
See this: stackoverflow.com/a/52481653/1485367
– Yaroslav
Sep 28 '18 at 6:57
Thanks for reaching out Yaroslav! I did try your remedy prior and it didn't work. Apparently what might've fixed it for me was not naming/starting my project name with a "-" or dash character. Rebuilt a new project and it worked just fine.
– user5508867
Sep 28 '18 at 8:40
Delete your DerivedData folder and try again? That often fixes this kind of problem.
– John Montgomery
Sep 27 '18 at 20:35
Delete your DerivedData folder and try again? That often fixes this kind of problem.
– John Montgomery
Sep 27 '18 at 20:35
Sorry this didn't fix it. Thanks though! :(
– user5508867
Sep 27 '18 at 21:56
Sorry this didn't fix it. Thanks though! :(
– user5508867
Sep 27 '18 at 21:56
See this: stackoverflow.com/a/52481653/1485367
– Yaroslav
Sep 28 '18 at 6:57
See this: stackoverflow.com/a/52481653/1485367
– Yaroslav
Sep 28 '18 at 6:57
Thanks for reaching out Yaroslav! I did try your remedy prior and it didn't work. Apparently what might've fixed it for me was not naming/starting my project name with a "-" or dash character. Rebuilt a new project and it worked just fine.
– user5508867
Sep 28 '18 at 8:40
Thanks for reaching out Yaroslav! I did try your remedy prior and it didn't work. Apparently what might've fixed it for me was not naming/starting my project name with a "-" or dash character. Rebuilt a new project and it worked just fine.
– user5508867
Sep 28 '18 at 8:40
add a comment |
2 Answers
2
active
oldest
votes
My instructor was able to help remedy this with me. Apparently, you should avoid having dash (-) characters when naming your project at the start. So just open a new Xcode project and avoid using hyphens in the title.
add a comment |
I also encountered this error when I compile with Deployment Target
11.0.
My solution is to change the value to 11.4.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52544654%2fcommand-compileswiftsources-failed-with-a-nonzero-exit-code%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
My instructor was able to help remedy this with me. Apparently, you should avoid having dash (-) characters when naming your project at the start. So just open a new Xcode project and avoid using hyphens in the title.
add a comment |
My instructor was able to help remedy this with me. Apparently, you should avoid having dash (-) characters when naming your project at the start. So just open a new Xcode project and avoid using hyphens in the title.
add a comment |
My instructor was able to help remedy this with me. Apparently, you should avoid having dash (-) characters when naming your project at the start. So just open a new Xcode project and avoid using hyphens in the title.
My instructor was able to help remedy this with me. Apparently, you should avoid having dash (-) characters when naming your project at the start. So just open a new Xcode project and avoid using hyphens in the title.
answered Sep 28 '18 at 8:47
user5508867
add a comment |
add a comment |
I also encountered this error when I compile with Deployment Target
11.0.
My solution is to change the value to 11.4.
add a comment |
I also encountered this error when I compile with Deployment Target
11.0.
My solution is to change the value to 11.4.
add a comment |
I also encountered this error when I compile with Deployment Target
11.0.
My solution is to change the value to 11.4.
I also encountered this error when I compile with Deployment Target
11.0.
My solution is to change the value to 11.4.
answered Nov 22 '18 at 1:40
Big HeadBig Head
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52544654%2fcommand-compileswiftsources-failed-with-a-nonzero-exit-code%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Delete your DerivedData folder and try again? That often fixes this kind of problem.
– John Montgomery
Sep 27 '18 at 20:35
Sorry this didn't fix it. Thanks though! :(
– user5508867
Sep 27 '18 at 21:56
See this: stackoverflow.com/a/52481653/1485367
– Yaroslav
Sep 28 '18 at 6:57
Thanks for reaching out Yaroslav! I did try your remedy prior and it didn't work. Apparently what might've fixed it for me was not naming/starting my project name with a "-" or dash character. Rebuilt a new project and it worked just fine.
– user5508867
Sep 28 '18 at 8:40