Command /Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/bin/swiftc failed with exit code 1
When I build with Xcode 8.2.1 I received this error:
Command /Volumes/SSD/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/bin/swiftc failed with exit code 1
I have cleaned the project, delete derived data, wait for the indexing processing files, close and reopen Xcode, restart computer and nothing.
There is no duplicated files.
Same error happens with other libraries not only Alamofire.
The error begin happening after merge a branch. Keeping in mind that, I have tried go to other old branch where it used to work but it doesn't work anymore, same error.
Any other required information let me know!
Thank you so much.
ios swift xcode
add a comment |
When I build with Xcode 8.2.1 I received this error:
Command /Volumes/SSD/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/bin/swiftc failed with exit code 1
I have cleaned the project, delete derived data, wait for the indexing processing files, close and reopen Xcode, restart computer and nothing.
There is no duplicated files.
Same error happens with other libraries not only Alamofire.
The error begin happening after merge a branch. Keeping in mind that, I have tried go to other old branch where it used to work but it doesn't work anymore, same error.
Any other required information let me know!
Thank you so much.
ios swift xcode
Delete your Pods directory and runpod install
again.
– allenh
Nov 27 '17 at 13:16
Still the problem.
– Eironeia
Nov 27 '17 at 14:26
add a comment |
When I build with Xcode 8.2.1 I received this error:
Command /Volumes/SSD/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/bin/swiftc failed with exit code 1
I have cleaned the project, delete derived data, wait for the indexing processing files, close and reopen Xcode, restart computer and nothing.
There is no duplicated files.
Same error happens with other libraries not only Alamofire.
The error begin happening after merge a branch. Keeping in mind that, I have tried go to other old branch where it used to work but it doesn't work anymore, same error.
Any other required information let me know!
Thank you so much.
ios swift xcode
When I build with Xcode 8.2.1 I received this error:
Command /Volumes/SSD/Xcode.app/Contents/Developer/Toolchains/Swift_2.3.xctoolchain/usr/bin/swiftc failed with exit code 1
I have cleaned the project, delete derived data, wait for the indexing processing files, close and reopen Xcode, restart computer and nothing.
There is no duplicated files.
Same error happens with other libraries not only Alamofire.
The error begin happening after merge a branch. Keeping in mind that, I have tried go to other old branch where it used to work but it doesn't work anymore, same error.
Any other required information let me know!
Thank you so much.
ios swift xcode
ios swift xcode
edited Nov 29 '17 at 13:29


Ashwin Sathawane
190112
190112
asked Nov 27 '17 at 11:27
EironeiaEironeia
301116
301116
Delete your Pods directory and runpod install
again.
– allenh
Nov 27 '17 at 13:16
Still the problem.
– Eironeia
Nov 27 '17 at 14:26
add a comment |
Delete your Pods directory and runpod install
again.
– allenh
Nov 27 '17 at 13:16
Still the problem.
– Eironeia
Nov 27 '17 at 14:26
Delete your Pods directory and run
pod install
again.– allenh
Nov 27 '17 at 13:16
Delete your Pods directory and run
pod install
again.– allenh
Nov 27 '17 at 13:16
Still the problem.
– Eironeia
Nov 27 '17 at 14:26
Still the problem.
– Eironeia
Nov 27 '17 at 14:26
add a comment |
3 Answers
3
active
oldest
votes
Steps that I followed to make it work:
- Delete derived data
- Delete Pod folder and Podfile.lock
- Delete inside the project:
- AppName.xcodeproj/xcuserdata
- AppName.xcworkspace/xcuserdata
- AppName.xcworkspace/xcshareddata
Afterwards, pod install and surprisingly it works.
EDIT:
Only working with emulator still having the error with the phone.
EDIT2:
I redownload Xcode and now works normally. I keep without knowing the reason why brokes but it's now working.
add a comment |
For me this was because i renamed some of the project directories. I had a ton of red files. To solve, I followed these steps:
1. click on the directory in project navigator where many files show as red
2. Under "Identity and Type" in the File Inspector (on the right side), click Containing directory
3. Select the new directories
4. Rebuild - command shift K, command B
add a comment |
My error shows also the information that some file are used twice in the project. However the complete pointed to the same file with the exact same path.
I could resolve it by unchecking the files an recheck it again.
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%2f47509904%2fcommand-xcode-app-contents-developer-toolchains-swift-2-3-xctoolchain-usr-bin-s%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Steps that I followed to make it work:
- Delete derived data
- Delete Pod folder and Podfile.lock
- Delete inside the project:
- AppName.xcodeproj/xcuserdata
- AppName.xcworkspace/xcuserdata
- AppName.xcworkspace/xcshareddata
Afterwards, pod install and surprisingly it works.
EDIT:
Only working with emulator still having the error with the phone.
EDIT2:
I redownload Xcode and now works normally. I keep without knowing the reason why brokes but it's now working.
add a comment |
Steps that I followed to make it work:
- Delete derived data
- Delete Pod folder and Podfile.lock
- Delete inside the project:
- AppName.xcodeproj/xcuserdata
- AppName.xcworkspace/xcuserdata
- AppName.xcworkspace/xcshareddata
Afterwards, pod install and surprisingly it works.
EDIT:
Only working with emulator still having the error with the phone.
EDIT2:
I redownload Xcode and now works normally. I keep without knowing the reason why brokes but it's now working.
add a comment |
Steps that I followed to make it work:
- Delete derived data
- Delete Pod folder and Podfile.lock
- Delete inside the project:
- AppName.xcodeproj/xcuserdata
- AppName.xcworkspace/xcuserdata
- AppName.xcworkspace/xcshareddata
Afterwards, pod install and surprisingly it works.
EDIT:
Only working with emulator still having the error with the phone.
EDIT2:
I redownload Xcode and now works normally. I keep without knowing the reason why brokes but it's now working.
Steps that I followed to make it work:
- Delete derived data
- Delete Pod folder and Podfile.lock
- Delete inside the project:
- AppName.xcodeproj/xcuserdata
- AppName.xcworkspace/xcuserdata
- AppName.xcworkspace/xcshareddata
Afterwards, pod install and surprisingly it works.
EDIT:
Only working with emulator still having the error with the phone.
EDIT2:
I redownload Xcode and now works normally. I keep without knowing the reason why brokes but it's now working.
edited Nov 29 '17 at 12:31
answered Nov 28 '17 at 0:30
EironeiaEironeia
301116
301116
add a comment |
add a comment |
For me this was because i renamed some of the project directories. I had a ton of red files. To solve, I followed these steps:
1. click on the directory in project navigator where many files show as red
2. Under "Identity and Type" in the File Inspector (on the right side), click Containing directory
3. Select the new directories
4. Rebuild - command shift K, command B
add a comment |
For me this was because i renamed some of the project directories. I had a ton of red files. To solve, I followed these steps:
1. click on the directory in project navigator where many files show as red
2. Under "Identity and Type" in the File Inspector (on the right side), click Containing directory
3. Select the new directories
4. Rebuild - command shift K, command B
add a comment |
For me this was because i renamed some of the project directories. I had a ton of red files. To solve, I followed these steps:
1. click on the directory in project navigator where many files show as red
2. Under "Identity and Type" in the File Inspector (on the right side), click Containing directory
3. Select the new directories
4. Rebuild - command shift K, command B
For me this was because i renamed some of the project directories. I had a ton of red files. To solve, I followed these steps:
1. click on the directory in project navigator where many files show as red
2. Under "Identity and Type" in the File Inspector (on the right side), click Containing directory
3. Select the new directories
4. Rebuild - command shift K, command B
answered Jan 6 '18 at 23:34
Alaa AwadAlaa Awad
98231031
98231031
add a comment |
add a comment |
My error shows also the information that some file are used twice in the project. However the complete pointed to the same file with the exact same path.
I could resolve it by unchecking the files an recheck it again.
add a comment |
My error shows also the information that some file are used twice in the project. However the complete pointed to the same file with the exact same path.
I could resolve it by unchecking the files an recheck it again.
add a comment |
My error shows also the information that some file are used twice in the project. However the complete pointed to the same file with the exact same path.
I could resolve it by unchecking the files an recheck it again.
My error shows also the information that some file are used twice in the project. However the complete pointed to the same file with the exact same path.
I could resolve it by unchecking the files an recheck it again.
answered Nov 22 '18 at 10:32


we7eewe7ee
1088
1088
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%2f47509904%2fcommand-xcode-app-contents-developer-toolchains-swift-2-3-xctoolchain-usr-bin-s%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 Pods directory and run
pod install
again.– allenh
Nov 27 '17 at 13:16
Still the problem.
– Eironeia
Nov 27 '17 at 14:26